header {
  background-color: #A6CF6F;
  color: #fdfffd;
  font-size: 150%;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 120px;
  font-family: "Phudu";
  position: fixed;
  top: 0;
  z-index: 9999; /* Asigna un valor alto al z-index para que el header esté por encima del contenido */
}

header img {
  width: 230px;
  height: 120px;
  object-fit: cover;
}
h2 {
  font-family: "Abel";
  text-align: center;
  margin-top: 2%;
  text-shadow: 2px 2px 5px rgb(249, 239, 242);
}


#Anuncio {
  margin: auto;
  margin-top: 2.5%;
  color: white;
  text-shadow: 2px 2px 5px rgb(215 238 172);
  border-radius: 8px;
  background-color: #969774;
  box-shadow: 0px 1px 10px rgb(0 0 0);
  width: fit-content;
  font-size: 190%;
  color: black;

}
#AnuncioPromedio {

  display: none;
  /* text-shadow: 2px 2px 5px rgb(237 48 114); */
  border-radius: 8px;
  background-color: rgb(142 229 238 / 90%);
  box-shadow: 0px 1px 10px rgb(0 0 0);
  width: 500px;
  color: black;
  text-align: center;
  margin: auto;
  font-size: 20px;
}

body {

  margin: 150px 0px 0px 0px ;
  padding: 0px;
  background-color: #E7F2D2;
  font-family: "Abel";
}
/* Estilo general del scrollbar */
::-webkit-scrollbar {
  width: 10px; /* Ancho del scrollbar */
}

/* Estilo del thumb del scrollbar */
::-webkit-scrollbar-thumb {
  background-color: #A6CF6F; /* Color de fondo del thumb del scrollbar */
  border-radius: 10px; /* Radio de borde del thumb del scrollbar */
}

/* Estilo del botón del scrollbar */
::-webkit-scrollbar-button {
  background-color: #E7F2D2; /* Color de fondo del botón del scrollbar */
}

.noInformacion {
  text-align: center;
  display: flex;  /*diseño flexible y adaptable para los elementos hijos de un contenedor.*/
  flex-wrap: wrap; /*especifica que los elementos hijos del contenedor deben envolverse en 
  varias líneas si no tienen suficiente espacio horizontal en una sola fila.*/
  justify-content: space-evenly;/*distribuye los elementos hijos del contenedor con un espacio uniforme entre ellos*/
  font-family: "Rubik";
}

.noInformacion img {
  width: 320px;
  height: 400px;
  margin: 20px;
}

.contenedorInfo {
  margin: 1.5%;
}
#subtitulo-general {
  font-size: 200%;
  color: black;
  text-shadow: none;
  margin: 160px 30px 40px 30px;
}
.main-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-evenly;
  align-items: center;
  font-family: "Rubik";
  margin-top: 4%;
  margin-bottom: 5%;
}
.volveroculto{
  display: none;
}
.top10oculto{
  display: none;
}
.selectOculto{
  display: none;
}
nav {
  display: flex;
  align-items: center;
  justify-content: space-evenly;
}
.selectordeOrden {
  text-align: center;
  color: black;
  height: 40px;
  width: 140px;
  font-size: 17px;
  background-color: #A6CF6F;
  border-radius: 10px;
  border: none;
  box-shadow: inset 0 -3em 3em rgba(0, 0, 0, 0.1), 0 0 0 2px rgb(255, 255, 255),
    0.3em 0.3em 1em rgba(0, 0, 0, 0.3);
}
.site-footer {
  background-color: #A6CF6F;
  color: white;
  padding: 20px;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.footer-address {
  flex-basis: 100%;
  text-align: center;
}

.footer-address p {
  font-size: 18px;
  margin: 0;
}

.footer-address p:last-child {
  font-size: 14px;
  margin: 0;
}

button {
  cursor: pointer;
}
nav button {
  text-align: center;
  color: black;
  height: 40px;
  width: 140px;
  font-size: 17px;
  background-color: #A6CF6F;
  border: none;
  border-radius: 10px;
  box-shadow: inset 0 -3em 3em rgba(0, 0, 0, 0.1), 0 0 0 2px rgb(255, 255, 255),
    0.3em 0.3em 1em rgba(0, 0, 0, 0.3);
}


.contenedorHijo {
  background-color: #fdfffd;
  margin: 1.5%;
  border-radius: 20px;
  width: 350px;
  height: 480px;
  padding: 20px 0px;
  box-shadow: 0px 4px 10px 0px rgba(226,186,229,.5);
}
.card-img-container {
  position: relative;
  margin: 20px; /* Agrega espacio alrededor del div de la imagen */
}
.description{
  padding: 20px 20px 0px 20px;
}
.info {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(255, 255, 255, 0.8);
  overflow:  auto;
  display: none;
}

.card-img-container img {
  display: block;
  width: 310px;
  height:418px ;
  border-radius: 20px;
  object-fit: cover;
}
.contenedor-caracteristicas{
  padding: 5px 20px 20px 20px;
}
.contenedor-caracteristicas span {
  font-weight: bold;
}
.contenedor-caracteristicas p{
  margin: 0;
  line-height: 1.5;
  text-align: initial;
}

.contenedorBtn {
  display: flex;
  justify-content: space-evenly;
  align-items: flex-start;
  flex-direction: row;
  margin: 10px 0 20px;
}
.btns button {
  background: #E7F2D2;
  color: #080808;
  border-color:#A6CF6F ;
  padding: 5px ;
  border-radius: 50px;
  width: 80px;
  /* margin: auto; */
  height: 40px;
  font-family: "Phudu";
}

.pointer{
  cursor: pointer;
}


.pelicula-img-container button:hover {
  background-color: #A6CF6F;
  color: #E7F2D2;
}

.info p {
  margin: 0;
  line-height: 1.5;
  text-align: initial;
}
.puntuacion{
  font-weight:  bold;
}


/*He incluido este media query para telefonos*/
@media (max-width: 768.98px) {
  .main-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    padding-top: 10px;
    font-family: "Rubik";
    margin-top: 2%;
  }

  #subtitulo-general {
    font-size: 120%;
  }
  #Anuncio {
    font-size: 15px;
    margin-top: 5%;
    margin: 10%;
    margin-bottom: 0%;
  }

  
  .contenedorHijo {
    /*background: linear-gradient(90deg, #cfecd0, #a0cea7, #9ec0db);*/
    margin-bottom: 5%;
  }
  header img {
    width: 140px;
    height: 160px;
  }
  h1{
    font-size: xx-large;
  }
  
}
/* dispositivos móviles y tablets con un ancho de pantalla máximo de 991.98 píxeles. 
Esto significa que se aplica a dispositivos con una pantalla más pequeña que la de los ordenadores
 de escritorio, pero más grande que la de los teléfonos móviles más pequeños.*/
@media (max-width: 991.98px) {
  .main-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-evenly;
    align-items: center;
    font-family: "Rubik";
    margin: 2%;
    margin-top: 5%;
  }

  nav {
    display: flex;
    align-items: center;
    justify-content: space-evenly;
    border-radius: 10px;
    font-family: "Nunito Sans";
    margin: auto;
    margin: 3%;
  }
  nav button {
    margin: 2%;
    text-align: center;
    color: black;
    height: 40px;
    width: 140px;
    font-size: 17px;
    background-color: #A6CF6F;
    border: none;
    border-radius: 10px;
    box-shadow: inset 0 -3em 3em rgba(0, 0, 0, 0.1),
      0 0 0 2px rgb(255, 255, 255), 0.3em 0.3em 1em rgba(0, 0, 0, 0.3);
  }
  .selectordeOrden {
    text-align: center;
    color: black;
    height: 40px;
    width: 120px;
    font-size: 17px;
    background-color: #A6CF6F;
    border-radius: 10px;
    border: none;
    margin-right: 2%;
    box-shadow: inset 0 -3em 3em rgba(0, 0, 0, 0.1),
      0 0 0 2px rgb(255, 255, 255), 0.3em 0.3em 1em rgba(0, 0, 0, 0.3);
  }
  #Anuncio {
    font-size: 150%;
    margin-top: 5%;
    color: black;
    text-shadow: 2px 2px 5px rgb(124 180 43);
    font-family: "Abel";
    width: fit-content;
    /*margin: auto;*/
    text-align: center;
  }

  #AnuncioPromedio {
    margin: 10px;
    margin-right: 10px;
    width: fit-content;
    font-size: 140%;
  }
}
