@import url('https://fonts.googleapis.com/css2?family=Nunito+Sans:ital,opsz,wght@0,6..12,200..1000;1,6..12,200..1000&display=swap');

/* Colors palette */
:root {
    --orange: #ef8354;
    --grey: #bfc0c0;
    --white: #ffffff;
    --black: #2d3142;
    }

    header{
        margin: auto; 
        padding: 0%;
        display: flex; 
        justify-content: space-between;
        background-color:  var(--black);
        border-radius: 20px;
        margin-bottom: 10px;

    }

    header img.logotipo-horizontal{
        display: flex;
        width: 200px;
        margin: 20px;

    }

     header img.logotipo-vertical{
        display: none;
    }


    
    #menu {
        display: none;
    }
    
    
    header h1{
        display: flex;
        align-items: center;
        text-align: left;
        margin: 1rem;
        
    }
    
    header nav ul{
        display: flex;
        justify-content: space-between;
    }
    
    header nav{
        margin: 1rem;
        padding: 1rem;
        width: 50%;
        font-display: flex;
    
    }
    
    header nav ul li{ 
        text-align: center; 
        list-style: none; 
        word-spacing: 1.5rem;
    }
    
    header nav ul li a{
        text-decoration: none; 
        padding: 0.5rem;
        color: #f7f7f7;
        font-size: 1rem;
        text-transform: uppercase;
        font-weight: 400;
        display: inline-block; 
    }
    
    header nav ul li a:hover{
        transform: scale(1.1);
        color: var(--);
    }

    
    body {
        font-family: "Nunito Sans", sans-serif;
        width: 100%;
        min-height: 100vh;
    }    

    h1 {
        font-size: 32px;
        font-weight: 700;
        color: var(--orange);
    }

    iframe {
        height: 480px;
        width: 100%;
        border-radius: 20px;
    }

       /* Estilos para la etiqueta del menú (hamburguesa) */
.menu_btn {
    display: none;
  }
  
/* Estilos para el ícono de hamburguesa */
.fa-bars::before {
    color: var(--orange);
    content: "☰"; /* Usamos un contenido unicode para simular el ícono */
}

header nav ul li a:hover{
    transform: scale(1.1);
    color: var(--orange);
}
   
@media (max-width: 800px) {

    /* Header */

    header {
      display: flex;
      justify-content: center;
      align-items: center;
    }

  
    header img.logotipo-vertical{
        display: block;       
        width: 100px;
        margin: 20px;
    }

    header img.logotipo-horizontal{        
        display: none;          
        }
    
    .navbar{
        display: none;
    }
  
    nav {
      display: flex;
      flex-direction: column;
      align-items: flex-end;
      justify-content: space-evenly;
      position: relative;
      width: 100%;
      margin-right: 10px;
    }

    .navbar_column {
        position:fixed;
        display: none; 
    }

   .menu_btn {
    cursor: pointer;
    display: block;
    }
  
    #menu:checked ~ nav ul {
      display: flex;
      flex-direction: column;
      width: 100%;
      align-items: flex-end;
      padding: 0;
      margin: 0;
    }
  
    nav ul {
      display: none;
      list-style-type: none;
      padding: 0;
      margin: 0;
    }
  
    .navbar li a {
      display: block;
      text-decoration: none;
      padding: 10px;
      text-align: right;
    }

    #menu {
        display: none;
    }
  
    #close-icon {
        display: none;
    }
  
    #menu:checked ~ nav .menu_btn #menu-icon {    
        display: none; 
    }
  
    #menu:checked ~ nav .menu_btn #close-icon {
        display: inline-block; 
    }

    iframe {
        height: 500px;
        width: 100%;
        border-radius: 20px;
    }


}
