*{ box-sizing: border-box;}


h1{font-size: 3.2em; }
h2{ font-size: 2.5em; }
h3{ font-size: 2em }
p{ font-size: 1.25em; }


.cabeza{
    margin: auto;
    
}

.container{
    max-width: 1000px;
    margin: auto;
}



header .cabeza{
    background-color: #fcf9d5;
    /*background-color: #FCF9D5;*/
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: fixed;
    height: 80px;
    width: 100%;
    z-index: 1000;
    
}

header .grupoizq{
    display: flex;
    flex-direction: row;
    gap: 0.5rem;
    align-items: center;
    /*min-width: 0;*/  
}

header .logo{
    margin: 0;
    padding-left: 10px;
    flex:auto;
    display: flex;
    align-items: center;
    
    
    
    /*float: left;*/

}

header .separator {
  width: 2px;
  background-color: black;
  margin: 0px 0px;
  height: 60px;
}


header .logo img {
    max-width: 100%;
    height: auto;
    display: block;
    max-height: 50px;
    min-height: 0;
    padding-bottom:1 ;
    padding-right: 0;
    padding-left: 10;

}

header .fechalogo{
    font-family: 'Satoshi', sans-serif;
    margin: 0;
    padding-left: 10px;
    font-size: bold;
    color: black;
    
}

/* Responsive adjustments */
@media (max-width: 768px) {
    header .logo {
        padding: 0 10px;
        margin-left: 12px;
    }

    header .logo img {
        max-width: 120px;
        min-width:0%;

    }

    header .separator{
        width: 1px;
        
        
    }
}

@media (max-width: 480px) {
    header .logo img {
       
        max-width: 100px;

    }

    header .separator{
        width: 1px;
        max-height: 30px;
        
    }
}



.menu-icon{
    display: none;
    font-size: 2rem;
    cursor: pointer;
    user-select: none;
    top: 1rem;
    right: 1rem;
    z-index: 1000;
    color: black;
}

.menu-toggle{
    display: none;
}


.nav-links{
    display: flex;
    flex-direction:row;
    gap: 1rem;
    text-align: right;
    color: black;
    
    transition: transform 0.3s ease;
    z-index: 1000;
    
}

#menu-toggle:checked ~ .nav-links {
  transform: translateX(0);
}


.nav-link{
    text-decoration: none;
    font-size: 16px;
}


@media (max-width: 768px){

    .nav-links{
        flex-direction: column;
        position: fixed;
        align-items:flex-start;
        top: 10px;
        right: 0;
        height: 100vh;
        width: 60%;
        background:  #FCF9D5;
        padding-left: 2rem;
        transform: translateX(100%);
        transition: transform 0.3s ease;
        z-index: 999;
        }
        .menu-icon{
        display: block;
        color: black;
        margin-right: 12px;
        z-index: 999;
        }

        .menu-toggle:checked + .menu-icon + .nav-links{
            transform: translateX(0);

        }

        .nav-links.closing {
        transform: translateX(100%);
        transition: transform 0.3s ease;
        
        }

    }

    


header a{
    padding: 4px 12px;
    text-decoration: none;
    font-weight: lighter;
    color: black;
}

header a:hover{
    color: /*aliceblue*/black;
}

#hero{
    min-height: 100vh;
    min-height: calc(100vh - 80px);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    flex-direction: column;
    height:100vh;
    padding: 120px 2rem 2rem;
    box-sizing: border-box; 
    
    /*background-image: linear-gradient(
        
        0deg,
        rgba(0,0,0,0.5),
        rgba(0,0,0,0.5)
    )*/
    
    
    /*,url(IMG/Flyer\ 2.png);

    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;*/

}

#hero h1 {

    font-family: 'Satoshi', sans-serif;
    font-weight:800;
    font-style:normal;
    font-size: 100px;
    
}

#hero h2, #hero h3 {
  
  /*font-family: "Bebas Neue", sans-serif; */
  font-family: 'Satoshi', sans-serif;
  /*font-weight: 500;
  font-style: normal;*/
  
}

#hero img {
width: 100%;
padding-top: 0px;
padding-bottom:;
margin-top: -10px;
max-height: /*75%*/ calc(80vh - 20px);


}
#Nosotros{
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    flex-direction: column;
    min-height: 100vh;
    gap: 1.5rem;
    padding: 2rem;

    background-image: linear-gradient(
        0deg,
        rgba(0,0,0,0.5),
        rgba(0,0,0,0.5)
    )
}



#Nosotros h4
{
font-size: medium;
padding: 1px 5px;
text-align: left;
}

#Nosotros img{
   /* width: 100%;  */
    padding-top: 20px;
    
}


#lineup{
    padding: 0px 20px;
    text-align: center;
    height: 100vh;
    /*background-image: linear-gradient(
        0deg,
        rgba(0,0,0,0.5),
        rgba(0,0,0,0.5)
    )
    ,url(IMG/Fondo\ 4.jpg);*/
    background-repeat: no-repeat;
    background-size:cover;
    background-position: center center;


}


#lineup .container{

    align-items: center;


}

.H2lineup{

    font-size: 2rem;
    margin-bottom: 20px;


}

#lineup .img-container{
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
}


.card{
    position: relative;
    width: 200px;
    height: 250px;
    border-radius: 0px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
    transition: transform 0.3s ease;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}


.card:hover {
    transform: scale(1.05);
}

.card h3 {
    position:relative;
    /*background-color: rgba(1, 0, 0, 0.6); Sacar en caso de querer fondo blureado de cards*/
    width: 100%;
    margin: 0;
    padding: 15px 0;
    font-size: 1.2rem;
    color: white;
    text-align: center;
    /*backdrop-filter: blur(3px); Sacar en caso de querer fondo blureado de cards*/
    z-index: 1;
    box-sizing: border-box;
}

.card a{
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    width: 100%;
    height: 100%;
    text-decoration: none;
    color:inherit
}

.card a h3 {
  width: 100%; 
  margin: 0;
  padding: 15px 0;
  font-size: 1.2rem;
  color: white;
  text-align: center;
  /*background-color: rgba(1, 0, 0, 0.6);
  backdrop-filter: blur(3px); Sacar en caso de querer fondo blureado de cards*/
}

.card img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    position: absolute;
    top: 0%;
    left: 0%;
    
}

@media (max-width: 768px) {
  .card {
    width: 146.6px;
    height: 183.3px;
  }

  #lineup {
    padding-bottom: 10px; /* espacio extra abajo */
  }

  .H2lineup {
    font-size: 1.8rem;
  }

  .card h3 {
    font-size: 1rem;
    padding: 0px 0;
  }

  #Nosotros .container{
    
        max-width: 100%; /* que ocupe todo el ancho */
        padding-left: 10px; /* opcional, un pequeño margen */
        padding-right: 10px;
        margin: 0; /* elimina el auto centrado */
    
  }
  #Nosotros{
    margin: 0%;
    padding: 0;
  }

  #Nosotros img{
    padding-top: 10%;
  }

  #hero{
    /* padding-top: 0px; */
    min-height: calc(10vh - 60px); /* si tu header es más chico en móvil */
    padding: 0%;
  }
  
  #hero img {
    max-height: none; /* en celu no limitar, vuelve al tamaño normal */
    padding-bottom: 20%;
    padding-top: 20%;
    
  }

  /*
  .card a{
    font-size: 1rem;
    padding: 10px 0;
  }*/

  .card a h3{
    font-size: 1rem;
    padding: 10px 0;

  }
}

@media (max-width: 480px) {
  .card {
    width: 140px;
    height: 180px;
  }

  #lineup {
    padding-bottom: 10px;
  }

  .card h3 {
    font-size: 0.9rem;
  }

  .card a h3{
    font-size: 0.9rem;
  }
  
   
}


#ediciones-anteriores{
    padding: 40px 20px;
    text-align: center;
    height: 100vh;
    background-image: linear-gradient(
        0deg,
        rgba(0,0,0,0.5),
        rgba(0,0,0,0.5)
    )
    ,url(IMG/Fondo\ 1.jpg);
    background-repeat: no-repeat;
    background-size:cover;
    background-position: center center;

}

#Anotate{
    padding: 40px 20px;
    text-align: center;
    height: 100vh;
    background-image: linear-gradient(
        0deg,
        rgba(0,0,0,0.5),
        rgba(0,0,0,0.5)
    )
    ,url(IMG/Fondo\ 1.jpg);
    background-repeat: no-repeat;
    background-size:cover;
    background-position: center center;

}

body{
    /*font-family: "Bebas Neue", sans-serif;*/
    font-family: 'Satoshi', sans-serif;
    font-weight: 500;
    font-style: normal;
    margin: 0;
    color: #FCF9D5;
    background-color: rgb(113, 172, 190);
    display: flex;
    flex-direction: column;
    min-height:100vh;
}
/*
html, body{
    height: 100%;
    margin: 0;
    padding: 0;
    
} */

main{
    flex: 1;
}
button{
    font-family: 'Satoshi', sans-serif;;
    text-decoration: underline;
    font-size: 1em;
    font-weight: bolder;
    padding: 10px 20px;
    border-radius: 0px;
    border: 1px solid #FCF9D5;
    box-shadow: 2px 2px 10px black;
    color: #FCF9D5;
    background-color: black;
    cursor: pointer;
    

}
footer{
    background-color: /*rgb(2, 127, 165)*/ #FCF9D5; 
    padding: 20px ;
    color: black;
    position: relative;
    z-index: 10;
}

.footer-container { 
    max-width: 1000px;
    /*margin:auto;
    display: flex;
    justify-content: space-between;
    align-items:center;
    padding: 0 10px;
    left: 0;*/
    position: relative;
    left: 10px;

}

.footer-text{
    margin: 0;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}


html {
  scroll-behavior:smooth;

}

button:hover{
    background-color: #F7941D;
}