@charset "utf-8";
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@100..900&family=Playfair+Display:ital,wght@0,400..900;1,400..900&display=swap');

*,
*::after,
*::before
{
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  border: 0;
  outline-color: transparent;
}

body {
  font-family: 'Montserrat', sans-serif;
  background-color: black;
  text-wrap: pretty;
}

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

a {
  text-decoration: none; /* Elimina el subrayado */
  border: none; /* Elimina bordes */
  outline: none; /* Elimina el borde de enfoque predeterminado */
}

/* Estilos generales del header */
header {
  background-color: #000;
  width: 100%;
  padding: 1rem 2rem;
  position: sticky;
  top: 0;
  z-index: 100;
  font-weight: 700;
  border-bottom: 1px solid #ffffff;
}

.encabezado {
  max-width: 100%;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Estilos del logo */
.seccion-logo {
  display: flex;
  align-items: center;
}

.logo img {
  max-height: 80px;
  width: auto;  
}

/* Estilos de navegación */
nav {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-grow: 1;
}

.menu {
  display: flex;
  list-style: none;
  gap: 2rem;
  margin: 0;
  padding: 0;
  transition: all 0.6s ease;
}

.nav ul {
  transition: all .6s ease;
}

.nav-item a {
  color: #fff;
  text-decoration: none;
  text-transform: uppercase;
  font-size: 1rem;
}

.menu .nav-item a:hover {
  color: #FF5A86; /* Cambia el texto a rosa */
}

/* Estilos del buscador */
.buscador {
  color: #fff;
  font-size: 1.2rem;
  cursor: pointer;
}

.buscador:hover {
  color: #FF5A86;
}

/* Botón de menú hamburguesa */
.menu-btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    display: flex;
    flex-direction: column;
    gap: 5px;
    align-items: center; 
    transition: all 0.6s ease-in-out;
  }

.btn-linea {
  width: 25px;
  height: 3px;
  background-color: #fff;
  margin: 5px 0;
}

.btn-linea:hover {
  color: #FF5A86;
}

/* Overlay para el menú móvil */
.overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  z-index: 998;
}

.overlay.active {
  display: block;
}


.slider {
  width: 100%;
  margin: 0;
  padding: 0;
}

h1 {
  font-size: 2rem;
  color: #FF5A86;
  text-transform: uppercase;
}

.las-imagenes {
  position: relative;
  height: 100vh;
  width: 100%;
  overflow: hidden;
}

.slide {
  position: absolute;
  width: 100%;
  height: 100%;
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: 1fr;
  transition: transform 0.5s ease-in-out;
}

.foto-slider {
  grid-column: 1 / -1;
  grid-row: 1 / -1;
  width: 100%;
  height: 100%;
  position: relative;
}

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

.foto-slider::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
}

.texto-slider {
  grid-column: 1 / -1;
  grid-row: 1 / -1;
  z-index: 2;
  padding-inline: 10%;
  align-self: center;
  color: white;
  width: 100%;
  max-width: 800px;
  display: grid;
  gap: 1rem;
  align-content: start;
  margin-top: 15vh;
}

.texto-slider > * {
  grid-column: 2 / 3;
}

.destacado-slider {
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 1rem;
}

.titulo-slider {
  font-size: 48px;
  font-weight: bold;
  margin: 0;
  line-height: 1.2;
}

.descripcion-slider {
  font-size: 18px;
  line-height: 1.6;
  margin: 0;
}

.detalles-slider {
  font-size: 14px;
  margin-bottom: 2rem;
 
}

.boton-slider {
  display: inline-block;
  padding: 12px 30px;
  border: 2px solid white;
  color: white;
  text-decoration: none;
  text-transform: uppercase;
  font-size: 14px;
  transition: all 0.3s ease;
  background: transparent;
  width: fit-content;
  margin-top: 1rem;
  font-weight: 700;
}

.boton-slider:hover {
  background: white;
  color: black;
}

.btn {
  position: absolute;
  top: 90%;
  background: rgba(0, 0, 0, 0.5);
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  z-index: 3;
  color: white;
  font-size: 18px;
  transition: all 0.3s ease;
}

.btn:hover {
  background: rgba(0, 0, 0, 0.8);
}

.btn-prev {
 right: 90px;
}

.btn-prox {
  right: 40px;
}


.contenedora {
  max-width: 100rem;
  margin-inline: auto;
  padding: 3rem;
}

.contenedordos {
  max-width: 800px;
  margin-inline: auto;
}

.titulos-seccion {
  margin-bottom: 30px;
  color: #fff;
  text-transform: uppercase;
  border-bottom: 2px dotted rgb(255, 255, 255);
  padding-bottom: 10px;
}

.lista-proximamente {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  justify-content: center;
  align-items: stretch;
}

.pelicula-proximamente {
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.pelicula-proximamente:hover {
  transform: translateY(-5px);
}

/* Imagen */
.imagen-pelicula {
  width: 100%;
  display: block;
  transition: transform 0.3s ease;
}

/* Información con overlay */
.info-proximamente {
  position: absolute;
  bottom: 0;
  width: 100%;
  background: #ff5c87cc;
  color: rgb(0, 0, 0);
  padding: 10px 15px;
  transition: height 0.3s ease, opacity 0.3s ease;
  height: 55px; /* Solo el título visible inicialmente */
  overflow: hidden;
  font-weight: 600;
}

/* Título siempre visible */
.info-proximamente .titulo-proximamente {
  font-size: 1.3rem;
}

/* Ocultar contenido extra (solo párrafos y enlaces) inicialmente */
.info-proximamente p,
.info-proximamente a {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.3s ease, transform 0.3s ease;
  margin: 1rem 0 0;
}

/* Mostrar contenido extra al hacer hover */
.pelicula-proximamente:hover .info-proximamente {
  height: 100%; /* Expandir el contenedor para mostrar todo */
}

.pelicula-proximamente:hover .info-proximamente p,
.pelicula-proximamente:hover .info-proximamente a {
  opacity: 1;
  transform: translateY(0);
}

.boton-proximamente {
  display: inline-block;
  padding: 12px 30px;
  border: 2px solid rgb(0, 0, 0);
  color: rgb(0, 0, 0);
  text-decoration: none;
  text-transform: uppercase;
  font-size: 14px;
  transition: all 0.3s ease;
  background: transparent;
  width: fit-content;
  margin-top: 1rem;
  font-weight: 700;
}

.boton-proximamente:hover {
  background: rgb(0, 0, 0);
  color: rgb(255, 255, 255);
}

.categoria-pelicula {
  text-transform: uppercase;
}

/*MAS POPULARES*/



.peliculas {
  display: grid;
  grid-auto-flow: column; 
  grid-auto-columns: calc(100% / 5); 
  grid-gap: 10px;
  overflow-x: auto; 
  scroll-snap-type: inline mandatory;
  scroll-behavior: smooth;
  padding-bottom: 20px; 
}

.peliculas::-webkit-scrollbar {
  height: 0.5em;
}

.peliculas::-webkit-scrollbar-track {
  border-radius: 4px;
}

.peliculas::-webkit-scrollbar-thumb {
  background: #888;
  border-radius: 4px;
}

/* Película individual */
.pelicula {
  max-width: 200px;
  overflow: hidden;
  text-align: center;
  position: relative; 
}

.poster-pelicula {
  position: relative; 
  cursor: pointer;
}


.poster-pelicula img {
  width: 100%;
  height: auto;
  display: block;
  
}


.textos-pelicula h3 {
  font-size: 18px;
  margin: 10px 0 5px;
  color: #FF5A86;
  text-align: left;
}


.textos-pelicula p {
  font-size: 14px;
  color: #ffffff;
  text-align: left;
  text-transform: uppercase;  
}

.estrella::before {
  content: "★"; 
  color: #FF5A86; 
  margin-right: 0.3rem; 
  font-size: 1em; 
}


/*PELICULA SELECCIONADA*/

.vinculo-trailer  {
  position: relative;
}

.titulo-pelicula {
  position: absolute;
  top: 15%;
}

.portada-trailer img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
}

.portada-trailer h3 {
  color: #FF5A86;
}

.portada-trailer h3 span{
  color: #ffffff;
}

.portada-trailer p{
  color: #ffffff;
  font-size: 1.3rem;
  padding: 1rem 0 1rem;
}


.info-pelicula {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px; /* Espaciado entre columnas */
  color: white;
}

.sinopsis-izquierda, .sinopsis-derecha {
  display: flex;
  flex-direction: column;
  gap: 20px; /* Espaciado entre elementos dentro de cada sección */
}

.sinopsis-izquierda dl dt {
  font-weight: 700;
  text-transform: uppercase;
  color: #FF5A86;
  margin-bottom: 1em;
}

.sinopsis-izquierda dl dd {
  color:#ffffff;
  margin-bottom: 1em;
}

.valoracion p {
  font-weight: 700;
  text-transform: uppercase;
  margin-top: 0.5em;
  color: #FF5A86;
}

.valoracion span {
  font-size: 4rem;
  font-weight: 400;
  color: #FF5A86;
  cursor: pointer;
  transition: color 0.3s ease;
}

.valoracion a {
  text-decoration: none;
  color: inherit;
}

.valoracion span:hover,
.valoracion span:hover ~ span {
  color: #FF5A86; /* Color para las estrellas rellenas */
}

.valoracion span:hover ~ span {
  color: #ccc; 
}

.sinopsis-derecha h3 {
  color: #FF5A86;
  margin-bottom: 10px;
  text-transform: uppercase;
}

.sinopsis-derecha p, .palabras-clave span {
  line-height: 1.6;
}

.palabras-clave span {
  display: inline-block;
  background-color: transparent;
  padding: 5px 10px;
  border: solid 1px;
  margin: 0.5em 0.5em 0.5em 0;
  font-size: 1rem;
  text-transform: uppercase;
  font-weight: 700;
  color: white;
}

.crearcuenta {
  font-size: 14px;
  margin-top: 1rem;
}

.crearcuenta a {
  color: #FF5A86;
}

.palabras-clave span:hover {
  color: #FF5A86;
  cursor: pointer;
}

.descargar-guia {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  color: #ffffff;
  margin-top: 10px;
  font-size: 2em;
}

.descargar-guia:hover {
  color: #FF5A86;
}


/* CAJA DE COMENTARIOS */

.caja-comentarios {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-gap: 2rem;
}

.comentario {
  background-color: #FF5A86;
  border-radius: 10px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  margin-bottom: 1.5rem;
  padding: 1.5rem;
}

.header-comentario {
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
}

.foto-perfil img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  margin-right: 1rem;
}

.header-comentario p {
  font-size: 1rem;
  color: #000000;
}

.header-comentario span {
  font-weight: bold;
  margin-right: 0.5rem;
}

.contenido-comentario p {
  font-size: 1.2rem;
  line-height: 1.5;
  color: black;
  font-weight: 400;
}

.footer-comentario {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1rem;
  color: #000000;
  margin-top: 1rem;
}

.iconos-comentario {
  display: flex;
}

.icono-item {
  display: flex;
  align-items: center;
  margin-left: 1rem;
  cursor: pointer;
}

.icono-item:hover {
  color: #fff;
}

.icono-item i {
  margin-right: 0.5rem;
}

.registrarse span {
  color:#ffff;
  margin-top: 2rem;
}

.registrarse a {
  color: #FF5A86;
  font-weight: bold;
  text-decoration: underline;
  margin-right: 0.5rem;
}


/* CALL TO ACTION */

.contenedora.calltoaction {
  align-items: center;
  text-align: left;
  position: relative;
  min-height: 300px; /* Altura mínima */
}

.calltoaction {
  background-image: url(../imagenes/calltoaction.jpg);
  background-size: cover;
}

.calltoaction h3 {
  color: #FF5A86;
}

.calltoaction-contenido p {
  font-size: 1.2rem;
  margin: 1em 0 0.5em 0;
  line-height: 1.5;
  color: #ffffff;
  font-weight: 300;
}


/* FILTROS */

.filtros {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-block-start: var(--flow-spacing, 1rem);
  
}

.filter-btn {
  cursor: pointer;
  text-transform: uppercase;
  background: transparent;
  padding: 1rem;
  color: #ffffff;
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 2rem;

}

.filter-btn:hover,
.filter-btn:focus {
  border-bottom: 1px solid #FF5A86;
  color: #FF5A86;
}

.filter-btn.active {
  pointer-events: none;
  background: black;
  color: #FF5A86;
  border-bottom: 1px solid #FF5A86;  
}


/* NOTICIA DESTACADA*/

/* Contenedor general de la sección */

.fondo {
  background-color: #FF5A86; /* Fondo rosa */
}


.noticia-destacada h2 {
  color: #fff;
}

.noticia-destacada {
  display: grid;
  grid-template-columns: 1fr 2fr; /* Dos columnas: texto y imagen */
  gap: 7rem;
  align-items: center;
}

.noticia-destacada p {
  font-size: 1.2rem; /* Tamaño más cómodo para párrafos */
  line-height: 1.6; /* Mejor legibilidad */
  color: black;
  font-weight: 500;
}

.noticia-destacada div {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  justify-content: center;
}

.noticia-destacada img {
  max-width: 100%;
}

/*NOTICIAS Y ENTREVISTAS*/

.noticias-y-entrevistas {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-gap: 20px;
}

.noticias-y-entrevistas > .noticia:nth-child(n+7) {
  display: none;
}

.foto-noticia img {
  width: 100%;
  height: auto;
  max-width: 600px;
}

.texto-noticia h3 {
  color:#FF5A86;
  margin: 1rem 0 1rem 0;
}

.texto-noticia p {
  color: #fff;
  line-height: 1.6;
}

.ver-mas {
  display: inline-block;
  padding: 12px 30px;
  border: 2px solid white;
  color: white;
  text-decoration: none;
  text-transform: uppercase;
  font-size: 14px;
  transition: all 0.3s ease;
  background: transparent;
  width: fit-content;
  margin-top: 1rem;
  font-weight: 700;
  cursor: pointer;
}

.ver-mas:hover {
  background: white;
  color: black;
}


/* NOTICIA 1 */

/* Presentación de la noticia */


.presentacion-noticia h3 {
  font-size: 3em;
  margin-bottom: 2rem;
  color:#FF5A86;
}

.presentacion-noticia p {
  font-size: 14px;
  color: #ffffff;
  margin-bottom: 2rem;
}

.foto-noticia img {
  max-width: 100%;
  height: auto;
}

.foto-noticia figcaption {
  font-size: 14px;
  font-weight: 600;
  color:#000000;
  margin-top: 10px;
  background-color: #FF5A86;
  padding: 1rem;
}

.cuerpo-noticia {
  font-size: 16px;
  line-height: 1.5;
  color: #fff;
}

.parrafo-noticia {
  margin-bottom: 20px;
}

.color {
  color: #FF5A86;
  font-weight: 700;
}

em, #negrita {
  font-weight: 700;
  font-style: normal;
}

/* TRAILERS */

.media-scroller {
  --_spacer: var(--size-2);
  display: grid;
  gap: var(--_spacer);
  grid-auto-flow: column;
  grid-auto-columns: 28%;
  padding-bottom: 2rem;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  gap: 1rem;
}

.media-scroller::-webkit-scrollbar {
  height: 0.5em;
}

.media-scroller::-webkit-scrollbar-track {
  border-radius: 4px;
}

.media-scroller::-webkit-scrollbar-thumb {
  background: #888;
  border-radius: 4px;
}

.media-scroller--with-groups {
  grid-auto-columns: 80%;
}

.media-element figure {
  position: relative; /* Necesario para posicionar elementos dentro del contenedor */
}

.play-icon {
  position: absolute; /* Permite posicionar el ícono relativo a .media-element */
  top: 50%; /* Centrado vertical */
  left: 50%; /* Centrado horizontal */
  transform: translate(-50%, -50%); /* Ajusta para centrar exactamente */
  color: white; /* Cambia el color según prefieras */
  font-size: 3rem; /* Ajusta el tamaño del ícono */
  background-color: rgba(0, 0, 0, 0.5); /* Fondo semitransparente para mejor visibilidad */
  border-radius: 50%; /* Forma circular */
  padding: 15px; /* Espaciado interno */
  display: flex;
  align-items: center;
  justify-content: center;
}

.play-icon:hover {
  color:#FF5A86
}

.media-element img {
width: 20%;
inline-size: 100%;
aspect-ratio: 16 / 9;
object-fit: cover;
}

.media-element h3 {
  font-size: 18px;
  margin: 10px 0 5px;
  color: #FF5A86;
  text-align: left;
}

.media-element p {
  display: flex;
  flex-direction: column;
  color: white;
  /*justify-content: flex-end;*/
  
}

.snaps-inline {
  scroll-snap-type: inline mandatory;
  scroll-padding-inline: var(--_spacer, 1rem);
}

.snaps-inline > * {
scroll-snap-align: start;
}


/*TRAILER*/

.trailer h3 {
  color: #FF5A86;
  margin-bottom: 0.8rem;
}

.trailer h3 span{
  color: #ffffff;
}
.trailer p {
  color: white;
}

iframe{
  width: 100%;
  aspect-ratio: 16/9;
  margin: 0.8em auto;
}


/*PODCASTS*/

/* Estilos generales */
.contenedora.galeria {
  padding: 20px;
}

/* Contenedor de la galería */
.galeria-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}

/* Tarjetas de episodios */
.episodio {
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease;
}

.episodio:hover {
  transform: translateY(-5px);
}

/* Contenedor de la imagen */
.episodio figure {
  margin: 0;
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1; /* Mantiene la imagen cuadrada */
  overflow: hidden;
}

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

/* Overlay */
.episodio .contenido {
  position: absolute;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  background: rgba(255, 90, 134, 0.6); /* Fondo translúcido */
  color: #000;
  opacity: 0; /* Invisible por defecto */
  transition: opacity 0.3s ease;
}

.episodio:hover .contenido {
  opacity: 1; /* Visible al pasar el mouse */
}

.contenido h3 {
  font-size: 1.2em;
  margin: 0 10px 10px;
}

.contenido p {
  font-size: 0.9em;
  margin: 5px 0;
  font-weight: 600;
}

/* Descripción fuera del overlay */
.descripcion {
  padding: 15px;
  text-align: left;
}

.descripcion p {
  font-size: 0.9em;
  line-height: 1.5;
  margin-bottom: 15px;
}


/*USUARIO*/

.usuario {
  background-image: url(../imagenes/abuelas.jpeg);
  object-fit: cover;
  color: #fff; /* Texto blanco */
  font-size: 1.2em;
  display: flex;
  justify-content: center;
  height: 100vh;
}

.sesion-contenido {
  display: flex;
  justify-content: space-between;
  max-width: 1200px;
  margin: 20px;
}

.form {
  background-color: #000000; /* Fondo oscuro para el formulario */
  padding: 40px ;
  width: 100%;
  max-width: 450px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
}

.form h2 {
  color: #FF5A86; /* Título en fucsia */
  font-size: 24px;
  margin-bottom: 20px;
  text-transform: uppercase;
}

input[type="text"], input[type="password"], input[type="email"] {
  width: 100%;
  padding: 12px;
  margin: 10px 0;
  border: 2px solid #444; /* Borde gris oscuro */
  border-radius: 5px;
  background-color: #ffffff; /* Fondo gris oscuro */
  color: #000000; /* Texto blanco */
}

.check {
  display: flex;
  align-items: center;
  color: #ccc;
  margin-top: 10px;
}

.check input {
  margin-right: 10px;
}

.btn-registrarse {
  display: block;
  width: 200px;
  padding: 12px;
  background-color: transparent;
  border: 2px solid #ffffff;
  color: #fff;
  text-transform: uppercase;
  font-size: 16px;
  cursor: pointer;
  transition: background-color 0.3s ease;
  text-align: center;
  text-decoration: none;
  margin-top: 2em;
  font-weight: 700; 
}

.btn-iniciarsesion {
  display: block;
  width: 200px;
  padding: 12px;
  background-color: transparent;
  border: 2px solid #ffffff;
  color: #fff;
  text-transform: uppercase;
  font-size: 16px;
  cursor: pointer;
  transition: background-color 0.3s ease;
  text-align: center;
  text-decoration: none;
  margin-top: 2em;
  font-weight: 700;
  
}

.btn-iniciarsesion:hover,
.btn-registrarse:hover {
  background-color: #ffffff;
  color: #000000;
}

.form p {
  font-size: 1.1em;
  padding-bottom: 1rem;
}

.sesion-contenido > div {
  margin: 0 10px;
}

/* Añadir un poco de separación entre los formularios */
.sesion-contenido > div:first-child {
  margin-left: 0;
}

.sesion-contenido > div:last-child {
  margin-right: 0;
}

/* Resaltar categorías o texto adicional */
label {
  color: #ccc; /* Color gris para las etiquetas */
  font-size: 14px;
}

/*PODCAST1*/

.podcast {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem; /* Espaciado entre la card y el texto */
}

.cards {
  display: flex;
  justify-content: center;
  width: 100%;
  margin-bottom: 1rem;
}

.card {
  display: flex;
  background-color: #FF5A86;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  overflow: hidden;
  max-width: 1334px;
  width: 100%;
  align-items: stretch; /* Asegura que imagen y texto estén alineados */
}

.card-img {
  flex: 0 0 40%; /* Imagen ocupa el 40% del ancho */
  height: 100%; /* Asegura que rellene la altura del contenedor */
}

.card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* La imagen se ajusta perfectamente */
}

.card-textos {
  flex: 1;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.5rem; /* Espaciado entre elementos del texto */
  color: #000;
}

.card-textos p {
  color: black;
  font-weight: 500;
  line-height: 1.5rem;
  padding-bottom: 2rem;
}

.card-textos h3 {
  font-size: 2.5rem;
  font-weight: bold;
}

.play {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  padding: 0.8rem 1.5rem; /* Hacer el botón alargado */
  background-color: #0000008e;
  color: #fff;
  border-radius: 5px; /* Bordes redondeados */
  font-size: 1.2rem;
  cursor: pointer;
}

.play span {
  padding-left: 1rem;
}

.descripcion {
  max-width: 1000px;
  font-size: 1rem;
  line-height: 1.5;
  color: black;
}

/*PALABRA CLAVE*/

.lista-horizontal {
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.peli {
  display: flex;
  align-items: flex-start;
  background: #272727;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  padding: 1em;
  transition: box-shadow 0.2s ease;
  gap: 1em;
}
.poster {
  flex-shrink: 0;
  width: 120px;
  height: 180px;
  overflow: hidden;
  margin-right: 1em;
}
.poster img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.textos-peli {
  flex: 1;
}

.textos-peli h3 {
  font-size: 1.3rem;
  font-weight: bold;
  margin: 0;
  color: #ff006e;

}

.textos-peli p {
  margin: 1rem 0.5rem;
  color: #ffffff;
  font-size: 1.2rem
}
.textos-peli p.fecha {
  color: #ffffff;
  font-size: 1em;
  text-transform: uppercase;
}

.textos-peli a {
  text-decoration: none;
}




/* Responsividad */
@media screen and (max-width: 768px) {
  .card {
    flex-direction: column;
  }

  .card-img {
    flex: 0 0 auto;
    width: 100%;
    height: 250px; /* Altura fija en pantallas pequeñas */
  }

  .card-textos {
    padding: 1rem;
  }

  .play {
    width: auto;
    justify-content: center;
  }
}


/* Ajustes responsivos */
@media (max-width: 40em) {
  .peliculas {
    grid-auto-columns: calc(100% / 2); /* Muestra 2 películas en pantallas medianas */
  }

  .media-scroller {
    grid-auto-flow: column;
    grid-auto-columns: calc(50% - 0.5rem); 
    overflow-x: auto;
    scroll-snap-type: inline mandatory;
    scroll-padding-inline: var(--_spacer, 1rem);
  }
  
  .titulo-pelicula {
    position: absolute;
    top: 12%;
  }

  .descripcion-pelicula,
  .categoria-pelicula {
    font-size: .8rem;
  }

  .titulo-proximamente {
    font-size: .8rem;
  }

  .contenedora.info-pelicula {
    padding-top: 1em;
  }

  .contenedora.comentarios {
    padding-top: 0;
  }

  .registrarse {
    padding-top: 1rem;
  }

    .info-pelicula {
      grid-template-columns: 1fr;
    }
  
    .sinopsis-izquierda,
    .sinopsis-derecha {
      gap: 2rem;
    }
  
    .sinopsis-izquierda dl dt,
    .sinopsis-izquierda dl dd {
      margin-bottom: 0.5em;
    }
  
    .valoracion p {
      margin-top: 0.25em;
    }
  
    .valoracion span {
      font-size: 3rem;
    }
  
    .palabras-clave span {
      font-size: 0.9rem;
      margin: 0.25em 0.25em 0.25em 0;
    }
  
    .descargar-guia {
      font-size: 1.5em;
    }
  
    .caja-comentarios {
      grid-template-columns: 1fr;
    }
  
    .comentario {
      margin-bottom: 1rem;
    }
  
    .header-comentario p,
    .contenido-comentario p,
    .footer-comentario {
      font-size: 0.9rem;
    }
  
    .icono-item i {
      font-size: 0.9rem;
    }

    .play-icon {
      font-size: 1rem;
    }

    .usuario {
      height: auto;
      min-height: 100vh;
      padding: 20px 0;
    }
  
    .sesion-contenido {
      flex-direction: column; 
      align-items: center; 
      margin: 0 20px;
    }
  
    .sesion-contenido > div {
      width: 100%; 
      max-width: 100%; 
      margin: 20px 0; 
      }
  
    .form {
      max-width: 100%; 
      padding: 30px 20px; 
    }
  
    .btn-iniciarsesion,
    .btn-registrarse {
      width: 100%; 
      margin-top: 1em; 
    }

    .descripcion {
      font-size: 0.9rem;
    }
    
    .card-textos h3 {
      font-size: 2rem;
      font-weight: bold;
    }

    .noticias-y-entrevistas {
      grid-template-columns: 1fr;
    }
  
    .noticias-y-entrevistas > .noticia:nth-child(n+7) {
      display: none; /* Mantiene oculta las noticias adicionales en mobile */
    }
  
    .ver-mas {
      width: 100%; /* Ajusta el botón a la anchura completa para mayor comodidad en móvil */
      text-align: center;
    }

    .portada-trailer p {
      font-size: 1rem;
  }

  .portada-trailer h3 {
    font-size: 1.7rem;
}
}

    

  

@media (min-width: 40em) {
  .peliculas {
    grid-auto-columns: calc(100% / 3); /* Muestra 2 películas en pantallas medianas */
  }  

  .play-icon {
    font-size: 2rem;
  }

}


@media (min-width: 60em) {
  .peliculas {
    grid-auto-columns: calc(100% / 5); /* Muestra 2 películas en pantallas medianas */
  }  
}

@media (max-width: 57em) {
  .titulos-seccion {
    font-size: 1.1rem; /* Reduce el tamaño del título */
  }

  .lista-proximamente {
    grid-template-columns: 1fr; /* Muestra una sola columna */
  }

  .noticia-destacada {
    grid-template-columns: 1fr; /* Cambiar a una sola columna */
    gap: 2rem;
}
  .noticia-destacada div {
    text-align:left; /* Centrar texto en móviles */
}

  .noticia-destacada h3 {
  font-size: 1.8rem; /* Título ajustado para pantallas pequeñas */
}

  .noticia-destacada p {
  font-size: 1rem; /* Párrafos más pequeños en móviles */
}


}


@media (min-width: 57em) {
  .lista-proximamente {
    grid-template-columns: repeat(2, 1fr); /* Muestra 2 columnas */
  }
  

}

@media (min-width: 82em) {
  .titulos-seccion {
    font-size: 1.4rem; /* Títulos más grandes */
  }

  .lista-proximamente {
    grid-template-columns: repeat(3, 1fr); /* Muestra 3 columnas */
  }
  
}

/* Estilos para desktop */
@media (min-width: 769px) {
  .menu-btn {
      display: none;
      transition: all 0.6s ease-in-out;
  }
  
  nav {
      justify-content: center;
  }
}

/* Media queries para tablet y móvil */
@media (max-width: 768px) {
  nav {
      justify-content: flex-end;
      
  }
  
  .menu-btn {
      display: block;
      position: relative;
      z-index: 1000;
      transition: all 0.6s ease-in-out;
  }
  
  .menu {
      display: none;
      position: fixed;
      top: 0;
      right: 0;
      width: 70%;
      height: 100vh;
      background-color: #FF5A86;;
      flex-direction: column;
      margin-top: 7.2em;
      padding: 2rem;
      gap: 30px;
      z-index: 999;
      border-left: 1px solid white; /* Borde blanco alrededor del menú */
      border-top: 1px solid white;
      transition: all 0.6s ease-in-out;
  }

  .menu .nav-item a {
    color: white; /* Color del texto */
    text-decoration: none;
    font-size: 2rem; /* Tamaño del texto */
    font-weight: bold; /* Negrita */
    border-bottom: 2px dotted white; /* Línea punteada inferior */
    text-align: left;
    display: block; /* Asegura que el enlace ocupe el ancho completo */
    border-bottom: 2px dotted white; /* Línea punteada inferior */
    width: 100%; /* Línea punteada ocupa el ancho del menú */
    text-transform: none;
    padding-bottom: 5px; /* Espaciado de la línea */
    transition: color 0.3s ease-in-out; /* Efecto suave al pasar el cursor */  
  }

  /* Hover en los enlaces del menú */
  .menu .nav-item a:hover {
  color: #000000; /* Color al pasar el cursor */
  }

  .menu-visible {
    display: flex; /* Mostrar menú cuando tenga la clase .menu-visible */
    transition: all 0.6s ease;
}
  
  .menu.active {
      display: flex;
      transition: all 0.6s ease;
  }
  
  /* Animación del botón hamburguesa */
  .menu-btn.active .btn-linea:first-child {
      transform: rotate(45deg) translate(5px, 6px);
  }
  
  .menu-btn.active .btn-linea:nth-child(2) {
      opacity: 0;
  }
  
  .menu-btn.active .btn-linea:last-child {
      transform: rotate(-45deg) translate(5px, -6px);
  }
}

/* Responsive styles */
@media (max-width: 768px) {
  .titulo-slider {
      font-size: 32px;
  }

  .descripcion-slider {
      font-size: 16px;
  }

}