*{ 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{

}

header .cabeza{
    background-color: rgb(2, 127, 165);
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: fixed;
    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: 0 20px;
    flex:auto;
    display: flex;
    align-items: center;
    
    /*float: left;*/

}

header .separator {
  width: 2px;
  background-color: white;
  margin: 0 10px;
  height: 60px;
}


header .logo img {
    max-width: 100%;
    height: auto;
    display: block;
    max-height: 90px;
    min-height: 0;
}

header .fechalogo{
    margin: 0;
    padding :0%;
    font-size: medium;
    
}

/* 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: 60px;

    }

    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: white;
}

.menu-toggle{
    display: none;
}


.nav-links{
    display: flex;
    flex-direction:row;
    gap: 1rem;
    text-align: right;
    color: white;
    
    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:  rgb(2, 127, 165);
        padding-left: 2rem;
        transform: translateX(100%);
        transition: transform 0.3s ease;
        z-index: 999;
        }
        .menu-icon{
        display: block;
        color: white;
        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: white;
}

header a:hover{
    color: aliceblue;
}

#hero{
   
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    flex-direction: column;
    height: 100vh;
    background-image: linear-gradient(
        0deg,
        rgba(0,0,0,0.5),
        rgba(0,0,0,0.5)
    )
    ,url(IMG/Fondo\ 5.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;

}

#hero h1 {

    font-family: "Bebas Neue", sans-serif;
    font-weight: 500;
    font-style: normal;
    font-size: 100px;
  
}
#hero h2, #hero h3 {
  
  font-family: "Bebas Neue", sans-serif;
  font-weight: 500;
  font-style: normal;
  
  
 

}



#lineup{
    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\ 4.jpg);
    background-repeat: no-repeat;
    background-size:cover;
    background-position: center center;


}


#lineup .container{

    align-items: center;


}

.H2lineup{

    font-size: 2rem;
    margin-bottom: 40px;


}

#lineup .img-container{
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
}


.card{
    position: relative;
    width: 200px;
    height: 250px;
    border-radius: 12px;
    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(0, 0, 0, 0.6);
    width: 100%;
    margin: 0;
    padding: 15px 0;
    font-size: 1.2rem;
    color: white;
    text-align: center;
    backdrop-filter: blur(3px);
    z-index: 1;
}

.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: 80px; /* espacio extra abajo */
  }

  .H2lineup {
    font-size: 1.8rem;
  }

  .card h3 {
    font-size: 1rem;
    padding: 10px 0;
  }
}

@media (max-width: 480px) {
  .card {
    width: 140px;
    height: 180px;
  }

  #lineup {
    padding-bottom: 100px;
  }

  .card 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\ 2.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-weight: 500;
    font-style: normal;
    margin: 0;
    color: white;
    background-color: rgb(113, 172, 190);
}

button{
    font-family: fantasy;
    font-size: 1em;
    font-weight: bold;
    padding: 10px 20px;
    border-radius: 3px;
    border: 1px solid black;
    box-shadow: 2px 2px 10px rgba(0,0,0,0.5);
    color: black;
    background-color: rgb(2, 127, 165);
    

}
footer{
    background-color: /*rgb(2, 127, 165)*/ black; 
}

html {
  scroll-behavior: smooth;
}

button:hover{
    background-color: rgb(0, 60, 78);
}