body {
    font-family: "Funnel Sans", sans-serif;
    background-color: #f8f7e7;
    margin: 0;
    color: rgb(23, 23, 23);
    }

 

h1,h2,h3, h4, h5, h6 {
    font-family: "Funnel Sans", sans-serif;
    font-optical-sizing: auto;
    font-weight: 800;
    color: #000000;
}

h1 { font-size: 1.6rem; }
h2 { font-size: 1.5rem; }
h3 { font-size: 1.3rem; }
h4 { font-size: 1rem; }
h5 { font-size: 0,5rem; }
h6 { font-size: 0,5rem; }

body h2 {
  border-bottom: 1px solid black;

}

.banner h2 {
  border-bottom: 0;
}

body h3 {
  color: #3F3D85;
}

/*fotos miden max el tamaño del contenedorbloque que las contiene*/
img {
    max-width: 100%;
    border-radius: 1rem;
}

/*vinculos*/
a {
    text-decoration: none;
    color: #6e6e6e;
    font-weight: bold;
}

/*pasar el cursor*/
a:hover,
a:focus-visible {
  color: black;
}


/*listas*/
ul,
ol {
    list-style: none;
    padding: 0;
}

.agenda li > p {
  position: relative;
  padding-left: 1.5em;
}

.agenda li > p::before {
  content: "🕓";  
  position: absolute;
  left: 0;
  top: 0;
  font-size: 1em;
  color: #3F3D85;
}

.que-hacemos li  {
  position: relative;
  padding-left: 1.5em;
}

.que-hacemos li::before {
  content: "✅"; 
  position: absolute;
  left: 0;
  top: 0;
  font-size: 1em;
  color: #3F3D85;
}

.causas li  {
  position: relative;
  padding-left: 1.5em;
}

.causas li::before {
  content: "❎"; 
  position: absolute;
  left: 0;
  top: 0;
  font-size: 1em;
  color: #3F3D85;
}

.boton {
color: rgb(0, 0, 0);
    font-weight: 600;
    font-size: .7rem;
    width: fit-content;
    padding-block: .1rem;
    padding-inline: 1rem;
    border: 1px solid black;
    border-radius: 1rem;
    border-color: #000000;
    background-color:#E3EA44 ;
    
}

.boton:hover,
.boton:focus-visible {
  background-color: #f5ff34;
  color: #000000;
}

/*class contenedora*/
.contenedora {
    width: min( 75rem, calc(100% - 2rem) );
    margin-inline: auto;
    }
    
    figure {
        margin: 0;
    }
    

/*componenete superior*/
header {
    background-color:#E3EA44;

}

footer {
    background-color:#DBE3EB;
    padding-block: 2rem;
    padding-bottom: 3.5rem;

}

footer img {
 max-width: fit-content;
 border-radius: 0;
}

footer .contenedora {
  display: grid;


}

footer h4 {
  margin-bottom: 0;
  margin-top: 0;
}
.derechos {
  justify-content: center;
}


.newsletter {
  margin-top: 1rem;
}

footer input[type="email"]{
  margin-top: .5rem;
}

footer .newsletter .boton {
  margin-top: .5em;

}

.footer-dgpc {
  position: fixed;
}


@media (width >= 37em) {
  footer .contenedora {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr ;
    justify-content: space-between;
    gap: 3em;
 
  }

}



#logo img {
    padding: .5rem;
    border-radius: 0;
}



header nav a {

    color: rgb(0, 0, 0);
    font-weight: 600;
    display: block;
    width: fit-content;
    padding-block: .1rem;
    padding-inline: 1rem;
    border: 1px solid black;
    border-radius: 1rem;
    border-color: #000000;
    
}

header nav a:hover,
header nav a:focus-visible {
    color: rgb(0, 0, 0);
    font-weight: 600;
    display: block;
    width: fit-content;
    padding-block: .1rem;
    padding-inline: 1rem;
    border: 1px solid black;
    border-radius: 1rem;
    border-color: #000000;
    background-color:#F3F2EE ;
}

.botonsesion {
    border: 0;
    border-radius: 0;
    background-color: transparent;
  
}

.botonsesion:hover,
.botonsesion:focus-visible{
  border: 0;
  border-radius: 0;
color: black;
  background-color: transparent;
}

  header .contenedora {
    display: flex;
    justify-content: space-between;
    align-items:center;
    flex-wrap: wrap;
    gap: 1rem;
  }

  header nav ul {
    display: flex;
    gap: .3rem;
  }
  
  header nav a {
    display: grid;
    place-items: center;
  }

  /*menu hamburguesa*/

  .menu-toggle {
  background: none;
  border: none;
  font-size: 1.2rem;
  display: none;
  cursor: pointer;
}

@media (max-width: 900px) {
  .menu-toggle {
    display: block;
  }

  .menu {
    display: none;
    flex-direction: column;
    gap: 1rem;
    margin-top: 1rem;
  }

  .menu.abierto {
    display: flex;
  }

  header nav ul {
    flex-direction: column;
  }


}

@media (max-width: 904px) {
  nav.menu {
    position: absolute;
    top: 100%;
    right: 1rem;
    background-color: #DBE3EB;
    border: 1px solid #000;
    border-radius: 1rem;
    padding: 1rem;
    box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.15);
    z-index: 1000;
  }

  header {
    position: relative;
  }
}


/*body*/

/*banner*/
.banner h1, .banner h2{
  color: white;
  margin-bottom: 0;
  margin-top: .5em;
}

.banner h1 {
  font-size: 2.5rem;

}

.banner h2 {
  font-size: 1.5rem ;
}

.banner p {
  font-size: 1rem;
}

.banner .boton {
font-size: .8rem;
}

.banner {
  position: relative;
  height: 60vh;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;

}

.slider {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1s ease-in-out;
  z-index: 1;
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.slide.active {
  opacity: 1;
  z-index: 2;
}

.banner-texto {
  position: relative;
  text-align: center;
  color: white;
  z-index: 3;
  
  padding: 1rem;
  border-radius: 1rem;
}

.banner-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    #2a295ada,  /* arriba: negro más opaco */
    #2a295a92,  /* medio: más transparente */
    rgba(0, 0, 0, 0)     /* abajo: totalmente transparente */
  );
  z-index: 2;

}

/* Flechas */
.banner .prev,
.banner .next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(0,0,0,0.5);
  color: white;
  font-size: 1rem;
  border: none;
  cursor: pointer;
  padding: 0.5rem 1rem;
  z-index: 4;
  border-radius: 1rem;
}
.banner .prev { left: 1rem; }
.banner .next { right: 1rem; }

/* Puntos */
.dots {
  position: absolute;
  bottom: .5rem;
  width: 100%;
  text-align:center;
  z-index: 4;
}
.dot {
  display: inline-block;
  height: 5px;
  width: 5px;
  margin: 5px;
  background-color: #bbb;
  border-radius: 50%;
  cursor: pointer;
}
.dot.active {
  background-color: #ffffff;
}

/*tablet*/
@media (width >= 37.5em) {
  .banner h1 {
    font-size: 3.5rem;
  
  }
  
  .banner p {
    font-size: 1rem;
      max-width: 40ch; 
      margin-inline: auto;
    }
  
    .banner h2 {
      font-size: 1.8em ;
    }
    .banner .boton {
      font-size: 1rem;
      }
  }

/*escritorio*/
@media (width >= 59em) {
.banner h1 {
  font-size: 4.5rem;

}

.banner p {
  font-size: 1.2rem;
    max-width: 40ch; 
    margin-inline: auto;
  }
  .banner h2 {
    font-size: 2em ;
   }

   .banner .boton {
    font-size: 1.1rem;
    }
}


/*seccion agenda*/

/*
.agenda li{
  display: grid;
  grid-template-columns: repeat(2, minmax(auto, 50em));
  padding: .3em;
}
*/

.agenda li{
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: start;
  padding: .3em;
  gap: 1em;
  font-weight: 600;
}


.agenda-dias {
  display: grid;;
  grid-template-columns: repeat(auto-fit, minmax(22rem, 1fr));
}

.agenda p {
  font-weight: 700;
  
}

.director {
  color: #3F3D85;

}

.agenda h2 {
  margin-bottom: 0;
}
/*seccion programacion*/

.programacion-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(12rem, 1fr));
    gap: 2rem;

  }



.programacion .botonform {
  margin: 0 auto;
  background-color: #3F3D85;
  color: white;
}
 
.programacion .botonform:hover,
.programacion.botonform:focus-visible {
  background-color: #514eac;
}

.peliculas-textos {
  display: grid;
  gap: .5em;
}

.programacion .peli {
  font-weight: 900;
  font-size: 1.2rem;
  ;
 }

 .programacion .minutos {
  font-style: italic;
  font-size: .9rem;
 }


/*seccion filtros*/
.filtros .pase .botonform {
        margin-bottom: 0rem;
        
    }
    
    .filtros .botonform {
      background-color: #DBE3EB;
    }

   .filtros .botonform:hover,
   .filtros  botonform:focus-visible {
      background-color: #e9f4ff;
   }

/*seccion sede*/



.sede article {
    display: grid;
    grid-template-columns: 1fr;
    
    align-items: center;

  }
  .sede-imagen img {
    width: 100%;

    height: auto;
    border-radius: 1rem;
    display: block;
    margin-inline: auto;

  }
  
  .sede-texto {
  
    
  }
  
  
  @media (width >= 48em) {
    .sede article {
      display: grid; 
      grid-template-columns: 1fr 2fr;
      align-items: center;
      gap: 2rem;
    }
  
    .sede-texto {
      text-align: left;
      padding-right: 2rem;
    }
  }


/*como llegar*/
.comollegar-grid {
  display: grid;
  grid-template-columns: 1fr;

}

.transportes {
  display: flex;
  gap: 2.5em;
}

.transportes img {
    width: fit-content;
    padding-block: 1rem;
    padding-inline: 1rem;
    border: 1px solid black;
    border-radius: 1rem;
    border-color: #000000;
    background-color: #DBE3EB ;
}

.transportes p {
  max-width: 17ch;
}

@media (width >= 48em) {
.comollegar-grid {
  display: grid;
  grid-template-columns: 5fr 1fr;
  gap: 1.5rem;
}
.transportes {
  display: block;
}
  }

.mapa iframe {
  width: 100%;
  height: 35em; 
    border-radius: 1rem;
    display: block;
   
}

/*donacion*/


.donar .boton {
  font-size: 1rem;
}


@media (width >= 48em) {
  .donar .boton {
    font-size: 1.3rem;
  }
 }  

/*body grid*/

body { 
    min-height: 100vh;
    display: grid;
    grid-template-rows: auto 1fr auto;
  }



/*pase gratuito*/


.pasegratuito h4 {
  color: #3F3D85;
  font-size: 1.2rem;
  margin-top: 0rem;
  font-weight: 850;
  border-bottom: 1.5px solid #3F3D85;
}

p.aclaracion {
  font-size: .8rem;
  color: rgb(186, 48, 48);
margin-top: 0;

}

label {
font-weight: 850;
;
}

.pase {
  display: grid;
  gap: 1rem;
}

select.pelicula-select option.no-cupos {
  color: rgb(186, 48, 48);
  font-style: italic;
}

@media (width >= 48em) { 
.todos-pases {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(22rem, 1fr));
  gap: 3em;
  margin-bottom: 0;
}
 }

.botonesdias {
    display: flex;
    gap: 0.25rem;
    margin-bottom: 2rem;
    
  }
  
  .dia-input {
    display: none;
  }
  
  .day-button {
    padding: 0.75rem 1rem;
    border-radius: 0.75rem;
    border: 2px solid #3F3D85;
    color: #3F3D85;
    background-color: #DBE3EB;
    font-weight: 500;
    text-align: center;
    flex: 1;
    cursor: pointer;
    transition: all 0.3s;
  }
  
  .dia-input:checked + .day-button {
    background-color: #E3EA44; 
    border-color: #3F3D85;
    color: #000000;
  }

  .pelicula-select {
    
    color: rgb(0, 0, 0);
    font-weight: 500;

    display: block;
    padding-block: .4rem;
    padding-inline: 1rem;
    
    border: 1px solid black;
    border-radius: 1rem;
    border-color: #000000;
    background-color:#ffffff ;
    margin-bottom: 1.5em;
    }
  
    input {
      color: rgb(0, 0, 0);
    font-weight: 500;
    font-size: .8rem;
    display: block;
    padding-block: .7rem;
    padding-inline: 1rem;
    border: 1px solid black;
    border-radius: 1rem;
    border-color: #000000;
    background-color:#ffffff ;
    
     }
    
    .botonceleste {
      background-color: #DBE3EB;
      color: rgb(0, 0, 0);
      font-weight: 600;
      font-size: .7rem;
      display: block;
      padding-block: .1rem;
      padding-inline: 1rem;
      max-width: fit-content;

      border: 1px solid black;
      border-radius: 1rem;
      border-color: #000000;
      margin-bottom: 2em;
     }

     .botonceleste:hover,
     .botonceleste:focus-visible {
      background-color: #e9f4ff;
     }

     .botonform {
      background-color: #E3EA44;
      color: rgb(0, 0, 0);
      font-weight: 600;
      font-size: 1rem;
      display: block;
      padding-block: .6rem;
      padding-inline: 1rem;
      border: 1px solid black;
      border-radius: 1rem;
      border-color: #000000;
      margin-bottom: 1em;
     }

     .botonform:hover,
     botonform:focus-visible {
      background-color: #f5ff34;

      font-weight: 600;
      font-size: 1rem;
      display: block;
      padding-block: .6rem;
      padding-inline: 1rem;
      border: 1px solid black;
      border-radius: 1rem;
      border-color: #000000;
      margin-bottom: 1em;
     }


     
/* resumen*/

.donar .botonform {
  margin-top: 1em;
}
@media (width >= 48em) {
.resumen-donar {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(22rem, 1fr));
    gap: 3em;
    margin-bottom: 0;
}
 }

.resumen li {
  color: #3F3D85;
  font-weight: 450;
}
    /* iniciar sesion */
   .iniciarsesion .botonform {
    margin-bottom: 0;
  }
 
 

  .olvidaste {
  margin-top: 1.5em;
  }



/* RESERVAS NATURALES */

  div#caja-reservas {
    display: grid;
  grid-template-columns: 1fr 3fr;
  gap: .8rem;
}


.que h4{
color: white;
}


.hacer {
background-color: #3F3D85;
border-radius: 1em;
padding: 1em;
color: white;
}
.hacer h2 {
color: white;
  border-bottom: white 1px solid;

}

.causas {
background-color: #E3EA44;
border-radius: 1em;
padding: 1em;
font-weight: 600;

}

.reser {
background-color: #DBE3EB;
border-radius: 1em;
padding: 1em;

}

article.ima,
article.reser,
article.causas,
article.hacer {
margin-bottom: 1em;
}

article.causas li {
list-style-type: none;
}

.porcentajes p {
  font-size: 1.5rem;
  margin-bottom: 0;
}

.reservas-ejemplos {
  font-size: 1.5rem;
}

.reservas-ejemplos h3 {
  font-size: 1.5rem;
  margin-bottom: 0;
}

.porcentajes .numero {
  font-size: 4rem;
  margin-top: .5em;
  margin-bottom: 0;
  
}

.estadisticas {
  margin-bottom: 5em;
}



/*
#reservas img {
  width: 100%;
  height: auto;
  border-radius: 1rem;
  display: block;
  margin-inline: auto;
}
*/

#reservas img {
  margin-bottom: 1em;
}



@media (width >= 48em) {
  #reservas {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(22rem, 1fr));
    gap: 1.5rem;
  }
  #reservas article img {
    height: 100%;
    object-fit: cover;

  }

}



.estadisticas article {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0rem;
  align-items: center;

}

@media (width >= 48em) {
  .estadisticas   {
    display: grid;
    grid-template-columns: 1fr 1fr;
    
  }
 }

 
/*el festival*/

.elfestival {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
  gap: 1rem;
  align-items: center;
  align-items: stretch;
}



.quienes-somos {
background-color: #DBE3EB;
border-radius: 1em;
padding: 1em;
}


.que-hacemos {
  background-color: #E3EA44;
  border-radius: 1em;
  padding: 1em;
  }

.que-hacemos li {
  font-weight: 600;
}

.sedes-anteriores-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(18rem, 1fr));
  gap: 1rem;
  align-items: center;
  align-items: stretch; 
}



.sedes-anteriores-grid .sede-imagen img {
  width: 100%;
  height: 15em;           
  object-fit: cover;       
  border-radius: 1rem;
}



main {
  margin-bottom: 5rem; 
}

.acerca {

}

.acerca-grid article {
    display: flex;
    gap: 20px;              
    align-items: flex-start; 
    margin-bottom: 30px;     
}

/* Imagen responsiva */
.acerca-grid figure img {
    max-width:100%;
    width: 100%;
    height: auto;
    border-radius: 8px;      
}

.pelis-textos {
    list-style: none;
    padding: 0;
    margin: 0;
    max-width: 50%;
    font-size: 1.1em;
    line-height: 1.5;
}

@media (max-width: 768px) {
    .acerca-grid article {
        flex-direction: column; 
        align-items: center;    
        text-align: center;     
    }

    .pelis-textos {
        max-width: 90%;
    }
}

.acerca-grid {
width: 100%;         
    margin: 0 auto;     
    padding: 0 15px;    
}

@media (min-width: 768px) {
    .acerca-grid {
        width: 80%;         
        max-width: 1200px;  
        margin: 0 auto;    
    }
}

.video-container {
    position: relative;
    max-width: 100vw; /* nunca más ancho que la ventana */
    overflow: hidden;
    background: #000;
    aspect-ratio: 16 / 9; /* relación 16:9 moderna */
}
video {
    width: 100%;
    height: 100%;
    display: block; /* elimina espacios vacíos alrededor */
    object-fit: cover; /* asegura que el video se adapte */
    
}


.filtrar-programacion {
  margin-top: 1rem;
  margin-bottom: 1rem;
}

/* Estilos para los selectores en filtrar */
.filtrar select {
    background-color: #E3EA44;
    border-radius: 1rem;
    padding: 0.5rem;
    border: 1px solid black;
    width: 100%;
    max-width: 300px;
    font-weight: 500;
    cursor: pointer;
    appearance: none;
-webkit-appearance: none;
-moz-appearance: none;
}

.filtrar select:hover,
.filtrar select:focus-visible {
    background-color: #E3EA44;
    outline: none;
}

@media (max-width: 600px) {
 .filtrar select {
    border-radius: 0.5rem; /* menos redondeado para mobile */
    padding: 0.7rem;       /* más espacio para dedos */
    font-size: 1rem;       /* texto más grande en móviles */
  }
}