* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    margin-top: 80px; 
    margin: 0; 
    padding: 0; 
    background-color: #e4e2e2;
}

header {
    background-color: #233a7a;
    padding: 10px 20px;
    position: sticky; 
    top: 0; 
    width: 100%; 
    z-index: 9999; 
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px; 
    margin: auto; 
}



.logo-title {
    display: flex;
    align-items: center;
    gap: 10px; 
}

.logo img {
    max-width: 80px;
    cursor: pointer;
}

#pagina-inicio {
  color: white;
  text-decoration: none;
}

.title {
    color: #ffffff;
    font-size: 1.2em;
}

.right-section {
    display: flex;
    align-items: center;
    gap: 15px;
    position: relative;
}

.search {
    position: relative;
}

.search-button {
    background: none;
    border: none;
    color: #daa254;
    font-size: 1.5em;
    cursor: pointer;
}

.search-box {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    background-color: white;
    padding: 10px;
    border-radius: 5px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
    z-index: 10;
    width: 250px;
}

.search-box input {
    padding: 5px;
    width: 180px;
    border: 1px solid #ccc;
    border-radius: 3px;
    margin-right: 5px;
}

.search-box .search-submit {
    padding: 5px 10px;
    border: none;
    background-color: #daa254;
    color: white;
    cursor: pointer;
    border-radius: 3px;
}

.menu {
    position: relative;
}

.menu-button {
    background: none;
    border: none;
    color: #daa254;
    font-size: 1.5em;
    cursor: pointer;
}

.dropdown {
    display: none;
    position: absolute;
    top: 35px;
    right: 0;
    background-color: white;
    padding: 10px;
    border-radius: 5px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
}

.dropdown a {
    color: #233a7a;
    text-decoration: none;
    padding: 8px;
    display: block;
}

.dropdown a:hover {
    background-color: #daa254;
    color: white;
}

  * {
    box-sizing: border-box;
}
.dropdown-btn {
    background-color: #233a7a;
    color: white;
    padding: 10px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1rem;
    margin-top: 10px;
    transition: background-color 0.3s ease;
}

a {
    text-decoration: none;
}

.dropdown-btn:hover {
    background-color: #1d2f5d;
}

.dropdown-content {
    display: none;
    margin-top: 10px;
    text-align: left;
    font-size: 0.9rem;
    color: #233a7a;
    background-color: #e8e8e8;
    padding: 10px;
    border-radius: 5px;
}

.diapositiva {
    display: none;
    position: relative;
    height: 100%; 
}

.carrusel-estrenos {
    max-width: 1000px;
    position: relative;
    margin: auto;
    padding-bottom: 1rem;
}

.anterior, .siguiente {
    cursor: pointer;
    position: absolute;
    top: 50%; 
    color: white;
    font-weight: bold;
    font-size: 18px; 
    padding: 10px; 
    transition: 0.6s ease;
    user-select: none;
    background-color: rgba(0, 0, 0, 0.5); 
}

.anterior {
    left: 5px; 
}

.siguiente {
    right: 5px; 
}

.anterior:hover, .siguiente:hover {
    background-color: rgba(0, 0, 0, 0.8); 
}

.punto {
    cursor: pointer;
    height: 10px;
    width: 10px;
    margin: 0 6px;
    background-color: #9ca8ca;
    border-radius: 50%;
    display: inline-block;
    transition: background-color 0.6s ease;
}

.active, .punto:hover {
    background-color: #233a7a;
}

.fade {
    animation-name: fade;
    animation-duration: 1.5s;
}

@keyframes fade {
    from {opacity: 0.4}
    to {opacity: 1}
}

.text-container {
    position: absolute;
    left: 50%;
    bottom: 7%;
    transform: translateX(-50%); 
    width: 90%; 
    text-align: center;
    padding: 10px 20px;
    background-color: transparent; 
    box-sizing: border-box; 
}

.text.text-1 {
    color: white; 
    font-size: 30px; 
    font-weight: bold;
    margin: 0; 
}

.text.text-2 {
    color: white; 
    font-size: 20px; 
    font-weight: normal;
}
a {
  text-decoration: none;
}

#top-peliculas {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 20px 0;
    padding: 0 15px;
}

#peliculas {
    padding-top: 1rem;
    padding-bottom: 1rem;
    background-color: #daa254;
}

#peliculas-actividad {
    padding-top: 1rem;
    padding-bottom: 1rem;
}

#peliculas-arg {
    background-color: #ffffff;
    padding-top: 1rem;
    padding-bottom: 1rem;
}

#estrenos1 {
    background-color: #e9e9e9;
    margin: 0%;
    padding-top: 1rem;
}

#estrenos {
    background-color: #e9e9e9;
    margin: 0%;
    padding-top: 0px;
}
    
#derecha {
    text-align: right;
    margin-right: 1rem;
}

#titulo-derecha {
    text-align: right;
    margin-right: 1rem;
    color:#233a7a;
    font-size: 1.2em;
}

#titulo-izquierda {
    text-align: left;
    margin-left: 1rem;
    color: #ffffff;
    font-size: 1.2em;
    text-decoration: none;
}

#titulo-izquierda-reseñas {
    text-align: left;
    margin-left: 1rem;
    color: #233a7a;
    font-size: 1.2em;
    text-decoration: none;
}

#peliculas-reseñas {
        padding-top: 1rem;
        padding-bottom: 1rem;
        background-color: #f5f5f5;
}

#titulo-izquierda-arg {
    text-align: center;
    margin-left: 1rem;
    color: #233a7a;
}

#titulo-arg {
    text-align: left;
    margin-left: 1rem;
    color: #ffffff;
}


#titulo-arg {
    text-align: left;
    margin-left: 1rem;
    color: #ffffff;
}

#sin-estilo {
    text-decoration: none; 
    color: inherit;         
    font-size: inherit;     
    cursor: default; 
}

#sin-estilo:hover {
    color:#daa254;
}

#sugeridos {
    padding-top: 1rem;
    padding-bottom: 1rem;
}

#titulo-catalogo {
    color: #daa254;
    font-size: 1.2em;
    padding-left: 1rem;
    padding-top: 1rem;
    padding-bottom: 0.3rem;
}

#texto-catalogo {
    padding-left: 1rem;
}

#catalogo {
    padding-right: 1rem;
}

#destacados {
    padding-right: 1rem;
}

.film {
    width: 90%;
    background-color: #fff;
    padding: 15px;
    margin: 10px 0;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease-in-out;
}

.film-destacada {
    width: 90%;
    background-color: #daa254;
    padding: 15px;
    margin: 10px 0;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease-in-out;
}

.film:hover {
    transform: scale(1.05);
}

.film img {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

.film h3 {
    font-size: 18px;
    margin-top: 10px;
}

.film p {
    font-size: 14px;
    color: #777;
}

#titulo-destacados {
    color: #daa254;
    font-size: 2em;
    padding-left: 1rem;
    padding-bottom: 0.3rem;
}

#top-peliculas {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    margin: 40px 0;
    padding: 0 20px;
}

#encuesta {
    background-color: #daa254;
    padding: 20px;
    margin-top: 20px;
    text-align: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
}

#encuesta h2 {
    font-size: 20px;
    margin-bottom: 20px;
}

#encuesta form {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 10px;
}

#encuesta label {
    font-size: 15px;
    margin: 8px 0;
    display: flex;
    align-items: center;
}

#encuesta input[type="radio"] {
    margin-right: 10px;
}

#boton-encuesta {
    padding: 10px 20px;
    background-color: #233a7a;
    color: white;
    border: none;
    font-size: 14px;
    cursor: pointer;
    border-radius: 5px;
    margin-top: 20px;
    transition: background-color 0.3s ease;
}

#boton-encuesta:hover {
    background-color: #0056b3;
}

#boton-encuesta:focus {
    outline: none;
}

h5 {
    padding-bottom: 1rem;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    color: #233a7a;
    font-weight: lighter;
}

.play-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 2rem;
    color: white;
    opacity: 0.7;
    transition: transform 0.3s ease, font-size 0.3s ease;
    cursor: pointer;
}

.diapositiva:hover .play-icon {
    font-size: 60px;
    transform: translate(-50%, -50%) scale(1.1);
    opacity: 1;
}

/* Estilos generales para la lista de imágenes */
.image-list, .image-list-catalogo {
    display: flex; /* Usamos flexbox para mantener las imágenes en una sola fila */
    gap: 30px; /* Espacio entre las imágenes */
    font-size: 0;
    overflow-x: auto; /* Desplazamiento horizontal */
    padding-top: 2rem;
    padding-left: 2rem;
    padding-bottom: 1rem;
    background-color: #daa254; /* Fondo claro para la lista de imágenes */
}

/* Wrapper de cada imagen */
.image-item-wrapper {
    position: relative;
    flex: 0 0 auto; /* Asegura que las imágenes no se estiren o reduzcan */
    width: 250px; /* Tamaño base de cada imagen */
    transition: transform 0.3s ease; /* Efecto de hover */
}

/* Estilo de las imágenes */
.image-item {
    width: 100%; /* Imagen ocupa todo el espacio disponible del contenedor */
    height: auto; /* Mantener proporción de la imagen */
    object-fit: cover; /* La imagen cubrirá el contenedor sin distorsionarse */
    border-radius: 10px; /* Bordes redondeados */
    display: block;
}

/* Efecto de hover */
.image-item-wrapper:hover {
    transform: scale(1.05); /* Aumenta el tamaño al pasar el mouse */
}

/* Media Query para pantallas grandes (computadoras de escritorio) */
@media (min-width: 1024px) {
    .image-list, .image-list-catalogo {
        gap: 40px; /* Espacio más grande entre las imágenes */
    }

    .image-item-wrapper {
        width: 300px; /* Aumentamos el tamaño de las imágenes en pantallas grandes */
    }
}

/* Media Query para pantallas medianas (tabletas) */
@media (max-width: 1023px) and (min-width: 768px) {
    .image-list, .image-list-catalogo {
        gap: 20px; /* Reducimos el espacio entre imágenes */
    }

    .image-item-wrapper {
        width: 200px; /* Reducimos el tamaño de las imágenes en tabletas */
    }
}

/* Media Query para pantallas pequeñas (móviles) */
@media (max-width: 767px) {
    .image-list, .image-list-catalogo {
        gap: 10px; /* Reducimos el espacio en móviles */
    }

    .image-item-wrapper {
        width: 150px; /* Reducimos aún más el tamaño de las imágenes en móviles */
    }
}


.image-list-fav {
    display: grid;
    gap: 18px;
    font-size: 0;
    overflow-x: auto;
    scrollbar-width: none;
    grid-template-columns: repeat(10, 1fr);
    padding-top: 1rem;
    padding-left: 1rem;
    padding-bottom: 0.5rem;
   background-color: #233a7a; 
}



.image-item-wrapper:hover .play-icon {
    transform: translate(-50%, -50%) scale(1.2);
}

.image-list-arg {
    display: grid;
    gap: 18px;
    font-size: 0;
    overflow-x: auto;
    scrollbar-width: none;
    grid-template-columns: repeat(10, 1fr);
    padding-top: 1rem;
    padding-left: 1rem;
    padding-bottom: 0.5rem;
}

.image-item-wrapper-arg {
    position: relative;
    width: 100px; 
}

.image-list-arg img {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
}

.image-item-wrapper-arg {
    position: relative;
    display: inline-block;
}

.image-item-arg {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

#destacados {
    padding-top: 1.5rem;
}

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

.portada-destacada {
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
    padding: .8rem;
    text-align: left;
}

.foto-destacada img {
    width: 100%;
    height: auto;
    max-width: 100%;
    border-radius: .8rem;
    padding: .5rem .5rem;
}

.peliculastacada {
    margin-left: 0.5rem;
    color: #233a7a;
}

.foto-destacada {
    position: relative;
}

.foto-destacada:hover .play-icon {
    transform: translate(-50%, -50%) scale(1.5); /* Escala el icono a 1.5 veces su tamaño */
}

/* Estilos base para el footer (pantalla chica) */
footer {
    background-color: #233a7a;
    color: white;
    padding: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 0;
}

footer p {
    margin: 5px 0;
    font-size: 8px;
    text-align: center;
}

.footer-content {
    display: flex;
    align-items: center;
}

.footer-image {
    width: 70px;
    height: auto;
    margin-right: 5px;
}

.footer-text {
    font-size: 1em;
    margin: 0;
}

.card {
    display: flex;
    height: 50px;
    width: 200px;
}

.card .social-link1,
.card .social-link2,
.card .social-link3,
.card .social-link4 {
    display: flex;
    align-items: end;
    justify-content: center;
    width: 25%;
    color: whitesmoke;
    font-size: 24px;
    text-decoration: none;
    transition: 0.25s;
    border-radius: 50px;
}

.card svg {
    transform: scale(1);
    width: 60%;
    height: 100%;
    opacity: 1;
    transition: opacity 0.25s;
    cursor: pointer;
}

#pie {
    margin-top: auto;
    font-size: 8px;
    text-align: center;
    width: 100%;
    color: whitesmoke;
    background-color: #233a7a;
    padding: 1rem;
}

/* Media query para pantallas grandes */
@media (min-width: 1024px) {
    footer {
        padding: 2rem; /* Aumentamos el espacio en el footer */
        flex-direction: row; /* Alineamos los elementos en una sola fila */
        justify-content: space-between; /* Separamos los elementos */
    }

    footer p {
        font-size: 16px; /* Aumentamos el tamaño del texto */
        margin: 10px 0; /* Un poco más de espacio */
    }

    .footer-content {
        display: flex;
        align-items: center;
    }

    .footer-image {
        width: 120px; /* Aumentamos el tamaño de la imagen */
        margin-right: 10px; /* Más espacio entre la imagen y el texto */
    }

    .footer-text {
        font-size: 1.5em; /* Aumentamos el tamaño del texto */
    }

    .card {
        height: 70px; /* Aumentamos la altura */
        width: 300px; /* Aumentamos el ancho */
    }

    .card .social-link1,
    .card .social-link2,
    .card .social-link3,
    .card .social-link4 {
        width: 25%; /* Se mantienen en 25% del total, pero se ve más espacioso */
        font-size: 30px; /* Aumentamos el tamaño de los iconos */
    }

    .card svg {
        width: 80%; /* Aumentamos el tamaño de los iconos */
        height: 100%;
        opacity: 1;
    }

    #pie {
        font-size: 14px; /* Aumentamos el tamaño del texto en la sección inferior */
    }
}


/* Estilos generales */
.movie-container-arg {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.movie-card-arg {
    max-width: 600px;
    width: 100%;
    background-color: #f5f5f5;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    text-align: center;
}

.movie-image-container-arg {
    position: relative;
    width: 100%;
    height: 0;
    padding-top: 56.25%; /* Relación 16:9 para el video */
    background-size: cover;
    background-position: center center;
}

/* Iframe para el video */
.movie-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* Estilo de la imagen dentro del contenedor */
.movie-image-container-arg img {
    width: 100%;
    height: auto;
    display: block;
}

/* Estilos para pantallas grandes */
@media (min-width: 1024px) {
    .movie-card-arg {
        max-width: 800px; /* Aumentar el tamaño de la tarjeta */
    }

    .movie-image-container-arg {
        padding-top: 42.25%; /* Hacer que el video sea proporcionalmente más pequeño */
    }

    /* Ajustar el iframe del video para pantallas grandes */
    .movie-video {
        width: 80%; /* Reducir el tamaño del iframe para pantallas grandes */
        height: 80%; /* Ajustar la altura del iframe proporcionalmente */
    }
}

/* Estilos para pantallas móviles */
@media (max-width: 500px) {
    .movie-card-arg {
        max-width: 90%; /* Hacer que la tarjeta ocupe más espacio en pantallas pequeñas */
    }

    .movie-image-container-arg {
        padding-top: 56.25%; /* Relación 16:9 por defecto */
    }

    /* Ajustar el iframe del video para pantallas pequeñas */
    .movie-video {
        width: 50%; /* Hacer que el iframe ocupe el 100% del contenedor en pantallas pequeñas */
        height: 50%; /* Mantener la relación 16:9 */
    }
}


.movie-info-arg {
    padding: 1rem;
    color: #233a7a;
}

.movie-info-arg h4 {
    margin: 0;
    font-size: 1.5rem;
}

.movie-info-arg p {
    margin: 0.5rem 0 0;
    font-size: 1rem;
}

#mi-perfil {
    text-align: center;
    color: #daa254;
}

.usuario-profile {
    font-family: 'Arial', sans-serif;
    margin: 20px;
    padding: 20px;
    background-color: #daa254;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.usuario-header {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    background-color: ;
}

.usuario-photo {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 20px;
}

.usuario-info h1 {
    font-size: 1.8rem;
    color:  #ffffff;
}

.usuario-info p {
    font-size: 1rem;
    color: #ffffff;
}

figure#avatar {
    width: 30%;
    margin: auto;
    object-position: center center;
    padding: 20px;
    border: 5px solid #daa254;
    border-radius: 50%;
}

img {
    width: 100%;
}

figure#avatar img {
    border-radius: 50%;   
}

.movie-info {
    padding: 1rem;
    color: #233a7a;
}

#ramiro {
    margin: 0;
    font-size: 1.5rem;
    text-align: center;
}

#info{
    font-size: 1rem;
    text-align: center;
    margin: 0 2rem;
}

#mi-perfil {
    display: inline-block;
    font-size: 24px;
}

#editar-perfil {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    margin-left: 10px;
    color: #333;
    font-size: 18px;
}

#editar-perfil:hover {
    color: #007bff; 
}

.breadcrumb {
    font-size: 0.9rem;
    color: #555; 
    margin: 1rem 0;
    padding-left: 20px; 
    display: flex;
    align-items: center;
}

.breadcrumb a {  
    color: #555; 
    text-decoration: none;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

.breadcrumb .separator {
    margin: 0 8px;
    color: #555;
}

.breadcrumb span {
    color: #555; 
}



#sec-favoritas {
    background-color: #233a7a;
}

#tit-actividad {
    color:  #233a7a;
    padding-left: 1rem;
    background-color:#f5f5f5 ;
}

.izquierda {
    padding-bottom: 1rem;
    background-color: white;
}

#favoritas {
    color: white;
    text-align: right;
    padding-right: 1rem;
    padding-top: 1rem;
}

.search-filters {
    margin: 10px;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    background-color: #f9f9f9;
    max-width: 400px;
}

.toggle-filters {
    background-color: #233a7a;
    color: white;
    border: none;
    border-radius: 5px;
    padding: 8px 15px;
    cursor: pointer;
    width: 100%;
    text-align: left;
    font-size: 1rem;
}

.filters-form {
    display: none; 
    margin-top: 10px;
}

.filter-group {
    margin-bottom: 8px;
}

.filter-group label {
    font-size: 0.9rem;
    display: block;
    margin-bottom: 3px;
}

.filter-group input,
.filter-group select {
    width: 100%;
    padding: 6px;
    border: 1px solid #ccc;
    border-radius: 3px;
    font-size: 0.9rem;
}

button[type="submit"] {
    background-color: #233a7a;
    color: white;
    border: none;
    border-radius: 5px;
    padding: 8px 15px;
    cursor: pointer;
    font-size: 0.9rem;
    width: 100%;
}

button[type="submit"]:hover {
    background-color: #233a7a;
}

.movie-results {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 10px;
}

.movie {
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    background-color: #fff;
    width: calc(50% - 10px); 
    text-align: center;
    display: none; 
}

@media (min-width: 600px) {
    .movie {
        width: calc(25% - 10px); 
    }
}

.boton-container {
    text-align: center; 
    margin-bottom: 0.5rem;
}

.botonf-container { 
    margin-bottom: 0.5rem;
    margin-left: 8.5rem;
    margin-right: 8.5rem;
    background-color: transparent; 
    padding: 0;  
    border: none; 
    border-radius: 5px;
    cursor: pointer;
    font-size: 0.8rem;
    transition: background-color 0.3s ease;
    text-decoration: none; 
    text-align: center; 
    display: flex; 
    justify-content: center; 
}

.botonf-container button {
    background-color: #233a7a;
    color: white;
    padding: 8px 20px; 
    border: none; 
    border-radius: 5px;
    cursor: pointer;
    font-size: 1rem; 
    transition: background-color 0.3s ease;
    text-decoration: none;
}

.botonf-container button:hover {
    background-color: #1a2b5a; 
}

.comentario-box {
    display: none; 
    margin-top: 10px;
    text-align: center;
    padding: 10px;
    padding: 10px;
    margin-left: 20px; 
    margin-right: 20px; 
    background-color: #f9f9f9;
    border-radius: 5px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

#comentario {
    width: 100%;
    padding: 10px;
    font-size: 14px;
    border: 1px solid #ccc;
    border-radius: 5px;
    margin-bottom: 10px;
}

#enviar-comentario {
    font-family: Arial, sans-serif;
    background-color: #233a7a;
    color: white;
    padding: 8px 15px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

#enviar-comentario:hover {
    background-color: #daa254;
}


.comentario-item {
    background-color: #f1f1f1;
    padding: 10px;
    margin-top: 10px;
    margin-left: 20px;
    margin-right: 20px; 
    border-radius: 5px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
    font-family: Arial, sans-serif;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: 'Arial', sans-serif;
    background-color: #f5f5f5;
    justify-content: center;
    align-items: center;
    height: 100vh; 
}

.nosotros {
    padding: 2rem;
}
.nosotros h1 {
    font-size: 2.5rem; 
    color: #233a7a; 
    margin-bottom: 1rem;
    text-transform: uppercase; 
}

.nosotros p {
    font-size: 1rem;
    color: #333; 
    line-height: 1.6;
    margin-bottom: 1.5rem;
    text-align: justify; 
    font-weight: 300; 
}

#titulo-reseñas-destacadas {
    text-align: left;
    margin-left: 1rem;
    color: #ffffff;
    padding-top: 0.2rem;
}

#reseñas-destacadas {
    padding-top: 1rem;
    background-color: #daa254;
    padding-bottom: 1rem;
}

.reseña-detalles {
    display: none; 
    margin-top: 15px;
    font-size: 16px;
    color: #333;
    line-height: 1.6;
}

.reseña-detalles.visible {
    display: block;
    animation: slideDown 0.5s ease-out;
}

@keyframes slideDown {
    from {
        max-height: 0;
        opacity: 0;
    }
    to {
        max-height: 500px;
        opacity: 1;
    }
}

.reseña {
    display: block;
    background-color: #ffffff;
    border-radius: 5px;
    border: 1px solid hsl(218, 98%, 75%);
    padding: 10px;
    box-shadow: .3rem .3rem #233a7a;
    margin: 2rem;
}

.reseña-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.reseña-izquierda .estrella {
    color: #FFD700; 
    font-size: 1.2rem;
}

.texto-reseña {
    text-align: justify; 
    font-size: 0.9rem;
    color: #333;
    padding-bottom: 1rem;
}

.reseña-derecha {
    display: flex;
    align-items: center;
}

.reseña-derecha h3 {
    margin: 0;
    margin-right: 0.5rem;
    font-size: 1rem;
    color: #233a7a;
}

#respuestas {
    padding-top: 1rem;
    padding-bottom: 1rem;
}

#respuestas-reseñas {
    padding-top: 1rem;
    background-color: #daa254;
    padding-bottom: 1rem;
}

.reseñaf-header-a {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 0.5rem;
    padding-bottom: 0;
}

.reseñaf-contenido-a {
    display: flex;
    align-items: flex-start;
    padding: 0.5rem;
    padding-top: 0;
}

.reseñaf-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
} 

.reseñaf-derecha {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.reseñaf-derecha h3 {
    margin: 0;
    font-size: 1rem;
    color: #233a7a;
}

.reseñaf-izquierda {
    display: flex;
    flex-direction: column; 
    align-items: flex-start; 
}

.reseñaf-izquierda .estrella {
    color: #FFD700; 
    font-size: 1.2rem;
}

.textof-reseña {
    text-align: justify; 
    font-size: 0.9rem;
    color: #333;
    padding-bottom: 1rem;
    padding-left: 1rem;
    padding-top: 0.6rem;
}

.textof-reseña-b {
    text-align: justify; 
    font-size: 0.9rem;
    color: #333;
    padding-bottom: 1rem;
    padding-top: 0.6rem;
}

.icono-perfil {
    width: 30px; 
    height: 30px;
    border-radius: 15px;
    border: 3px solid #233a7a;
}

.iconof-perfil {
    width: 30px; 
    height: 30px;
    border-radius: 50%;
    border: 3px solid #233a7a;
}

.leer-mas {
    background-color: #233a7a;
    color: white;
    padding: 8px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 0.8rem;
    transition: background-color 0.3s ease;
    text-decoration: none; 
}

.leer-mas:hover {
    background-color: #1d2f5d;
}

.comentarios-section {
    background-color: #f4f4f4;
    padding: 1rem;
    border-radius: 5px;
    margin-top: 2rem;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    width: 80%; 
    margin-left: auto;
    margin-right: auto;
}

.comentarios-section peli {
    font-size: 1.5rem;
    color: #233a7a;
}

.comentarios-section p {
    font-size: 1rem;
    color: #333;
}

.btn-desplegar-comentarios {
    background-color: #007bff;
    color: white;
    border: none;
    padding: 10px 20px;
    font-size: 16px;
    cursor: pointer;
    border-radius: 5px;
    margin-top: 15px;
    transition: background-color 0.3s;
}

.btn-desplegar:hover {
    background-color: #0056b3;
}

.reseña-detalles {
    display: none; /* Ocultamos la sección inicialmente */
    margin-top: 15px;
    font-size: 16px;
    color: #333;
    line-height: 1.6;
}

.reseña-detalles.visible {
    display: block;
    animation: slideDown 0.5s ease-out;
}

@keyframes slideDown {
    from {
        max-height: 0;
        opacity: 0;
    }
    to {
        max-height: 500px;
        opacity: 1;
    }
}

.reseña-titulo {
    display: flex;
    margin: 0%;
    background-color: #233a7a;
    width: 100%;
    background-color: #233a7a;
    color: #ffffff;
    font-size: 1rem;
    font-weight: bold;
    text-align: left;
    padding: 0.5rem;
}

.reseña-dest {
    display: block;
    background-color: #ffffff;
    border-radius: 5px;
    border: 1px solid hsl(218, 98%, 75%);
    box-shadow: .3rem .3rem #233a7a;
    margin: 2rem;
}

.imagen-reseña {
    margin-top: 0.5rem;
    width: 100px;
    height: auto;
    border-radius: 5px;
}

.link-reseña {
    text-decoration: none;
}

.link-reseña-titulo {
    text-decoration: none;
    color: white;
}

#foro {
    text-align: center;
    color:#233a7a;
}

#sinopsis {
    text-align: left;
    justify-content: left;
}

.estrenos .peliculas-es {
    display: block; 
}

.estrenos {
    padding: 2rem;
    padding-top: 0;
    padding-bottom: 0;
}

#titulo-estrenos {
    color: #daa254;
    font-size: 2em;
    padding-top: 0.5rem;
    padding-bottom: 0.3rem;
}


@media (min-width: 1024px) {
    #titulo-estrenos {
        font-size: 3.5em; /* Aumentamos el tamaño de la fuente */
        padding-top: 1rem;  /* Aumentamos el padding superior */
        padding-bottom: 0.5rem;  /* Aumentamos el padding inferior */
    }

    #texto-estrenos {
        font-size: 1.5em; /* Aumentamos el tamaño de la fuente */
    }

}

.pelicula-es {
    position: relative; 
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
    margin-bottom: 20px; 
}

.imagen-container-es {
    position: relative; 
    width: 100%;
    height: auto; 
    overflow: hidden;
}

.pelicula-es img {
    width: 100%;
    height: 100%;
    object-fit: contain; 
}

.info-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5); 
    color: white;
    opacity: 0; 
    transition: opacity 0.3s ease; 
    display: flex; 
    flex-direction: column; 
    justify-content: center; 
    padding: 20px;
    text-align: center;
}

.pelicula-es:hover .info-overlay {
    opacity: 1; 
}


/* Estilo general para los contenedores de película */
.pelicula-es {
    position: relative;
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
    margin-bottom: 20px;
    width: 100%; /* Para que se ajuste al 100% del contenedor */
}

/* Contenedor de imagen de la película */
.imagen-container-es {
    position: relative;
    width: 100%;
    height: auto;
    overflow: hidden;
}

.pelicula-es img {
    width: 100%;
    height: 100%;
    object-fit: contain; /* Mantener la proporción de la imagen */
}

/* Overlay de información que aparece al pasar el mouse */
.info-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    opacity: 0;
    transition: opacity 0.3s ease;
    display: b;
    flex-direction: column;
    justify-content: center;
    padding: 20px;
    text-align: center;
}

.pelicula-es:hover .info-overlay {
    opacity: 1;
}

.info-overlay h3 {
    font-size: 1rem;
    margin-bottom: 10px;
}

.info-overlay p {
    font-size: 0.5rem;
}

/* Estilo para pantallas pequeñas (móviles) */
@media (max-width: 768px) {
    /* Contenedor de películas en pantallas móviles */
    .contenedor-peliculas {
        display: block;
    }

    /* Cada tarjeta ocupará el 100% del ancho */
    .pelicula-es {
        width: 100%;
        margin-bottom: 20px; /* Espacio entre las tarjetas */
    }
}

.proximamente {
    margin-top: 10px;
    padding-bottom: 20px;
    padding-left: 20px;
    padding-right: 20px;
    padding-top: 5px;
    background-color: #f9f9f9;
    text-align: center;
}

.proximamente h2 {
    font-size: 2em;
    margin-top: px;
    margin-bottom: 5px;
    color: #233a7a;
}

.carousel {
    display: flex;
    overflow: hidden;
    position: relative;
    justify-content: center;
}

.proximamente .carousel {
    display: flex;
    overflow-x: auto;
    gap: 15px;
    justify-content: center;
    padding: 10px 0;
}

.proximamente .carousel .imagen-container-es {
    position: relative;
    width: 200px; 
}

.proximamente .carousel img {
    width: 100%; 
    height: auto;
    border-radius: 8px;
    object-fit: cover;
    transition: opacity 0.3s ease; 
}

.proximamente .carousel .texto-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%; 
    background-color: rgba(0, 0, 0, 0.7); 
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1rem;
    text-align: center;
    opacity: 0; 
    transition: opacity 0.3s ease;
    border-radius: 8px; 
}

/* Estilo para la sección CTA */
.cta {
    background-color:#daa254; /* Azul */
    color: #fff;
    padding: 40px;
    text-align: center;
    border-radius: 10px; /* Bordes redondeados */
}

.cta-content h2 {
    font-size: 2rem;
    margin-bottom: 10px;
}

.cta-content p {
    font-size: 1rem;
    margin-bottom: 20px;
}

/* Estilo de los botones */
.cta-btn {
    background-color: #233a7a;  /* Amarillo */
    border: none;
    color: white;
    padding: 12px 25px;
    font-size: 1rem;
    cursor: pointer;
    border-radius: 5px; /* Bordes redondeados */
    transition: background-color 0.3s ease;
}

.cta-btn:hover {
    background-color: #324e9b;  /* Amarillo más oscuro */
}

.cta-buttons {
    margin-top: 20px;
}

/* Estilo general del modal */
.modal {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.5); /* Fondo translúcido */
    padding-top: 50px;
}

/* Contenido del modal */
.modal-content {
    background-color: #fff;
    margin: 5% auto;
    padding: 20px;
    border-radius: 10px; /* Bordes redondeados */
    width: 80%;
    max-width: 400px;
    max-height: 80%; /* Evita que el modal se sobrepase verticalmente */
    overflow-y: auto; /* Permite desplazamiento si el contenido es grande */
    box-sizing: border-box; /* Asegura que los márgenes y el padding no rompan el tamaño */
}

/* Estilo para los botones */
.cta-btn {
    background-color: #0056b3; /* Azul */
    color: #fff;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

/* Cambia el color del botón cuando se pasa el mouse */
.cta-btn:hover {
    background-color: #003d7a; /* Azul más oscuro */
}

/* Estilo para la caja de cierre (X) */
.close-btn {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

.close-btn:hover,
.close-btn:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

/* Estilo para el texto de agradecimiento */
.agradecimiento {
    display: none;
    text-align: center;
    font-size: 18px;
    color: #333;
    margin-top: 20px;
    margin-bottom: 20px;
}

/* Ajustes para pantallas más pequeñas */
@media (max-width: 768px) {
    .modal-content {
        width: 90%; /* Aumentar el tamaño en pantallas pequeñas */
        max-width: 90%;
        margin-top: 10%; /* Añadir más espacio arriba en móviles */
    }
}

@media (max-width: 480px) {
    .modal-content {
        width: 95%; /* Aumentar aún más el tamaño en pantallas de móvil muy pequeñas */
        max-width: 95%;
        margin-top: 15%; /* Añadir más espacio en pantallas ultra pequeñas */
    }
}

/* Estilos para el perfil del director */
.director-profile {
    font-family: 'Arial', sans-serif;
    margin: 20px;
    padding: 20px;
    background-color: #f4f4f4;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.director-header {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    background-color: ;
}

.director-photo {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 20px;
}

.director-info h1 {
    font-size: 1.8rem;
    color: #233a7a;
}

.director-info p {
    font-size: 1rem;
    color: #233a7a;
}

.biografia, .estilo-cinematografico, .cita, .galeria {
    margin-top: 20px;
}

.biografia p, .estilo-cinematografico p, .cita blockquote {
    font-size: 1rem;
    color: #444;
}

/* Estilos para la sección de premios */
.premios {
    margin-top: 40px;
    text-align: center;
}

.premios h2 {
    font-size: 1.8rem;
    margin-bottom: 30px;
    color: #233a7a;
}

.premios-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 3 columnas siempre */
    gap: 20px;
    margin-top: 20px;
    justify-items: center; /* Alinea los elementos al centro de sus celdas */
}

/* Ajuste de la imagen del premio */
.premio {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    cursor: pointer;
}

.premio img {
    width: 100%; /* Asegura que las imágenes ocupen todo el contenedor */
    height: auto; /* Mantiene la relación de aspecto de las imágenes */
    object-fit: contain; /* Asegura que la imagen se mantenga dentro del contenedor sin recortarse */
    transition: transform 0.3s ease;
}

.info-premio {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #fff;
    text-align: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    padding: 10px;
    background-color: rgba(0, 0, 0, 0.6);
    border-radius: 5px;
    width: 80%;
}

.premio:hover img {
    transform: scale(1.05); /* Aumenta ligeramente el tamaño de la imagen */
}

.premio:hover .info-premio {
    opacity: 1; /* Muestra la información del premio */
}

.premio h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.premio p {
    font-size: 1rem;
    line-height: 1.4;
}

.cita blockquote {
    font-style: italic;
    background-color: #e9ecef;
    padding: 20px;
    border-left: 4px solid #233a7a;
    margin: 20px 0;
    color: #555;
}

.carouseld-section h2 {
    font-size: 1.8rem;
    margin-top: 20px;
    color: #233a7a;
}

.biografia h2 {
    color: #233a7a;
    font-size: 1.8rem;
}

.proximamente h2 {
    margin-top: 1rem;
}
@media (min-width: 1024px) {

    /* Estilo de h3 en premios (más grande en pantallas grandes) */
    .premio h3 {
        font-size: 1.5rem; /* Aumenta el tamaño de la fuente */
        margin-bottom: 15px;
    }

    /* Estilo de los párrafos en premios (más grande) */
    .premio p {
        font-size: 1.2rem; /* Aumenta el tamaño de la fuente */
        line-height: 1.6; /* Un poco más de interlineado */
    }

    /* Estilo de las citas (más espacio y tamaño más grande) */
    .cita blockquote {
        font-size: 1.2rem; /* Aumenta el tamaño del texto */
        padding: 25px; /* Aumenta el padding para mayor espacio */
        margin: 30px 0; /* Aumenta el margen */
    }

    /* Estilo del título en carouseld-section */
    .carouseld-section h2 {
        font-size: 2.5rem; /* Aumenta el tamaño del título */
        margin-top: 40px; /* Más espacio superior */
    }

    /* Estilo del título de biografía */
    .biografia h2 {
        font-size: 2.2rem; /* Aumenta el tamaño de la fuente */
    }

    /* Estilo del título de proximamente */
    .proximamente h2 {
        font-size: 2rem; /* Aumenta el tamaño del título */
        margin-top: 1.5rem; /* Ajusta el margen superior */
    }
}

/* Icono de reproducción */
.play-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 2rem;
    color: white;
    opacity: 0.7;
    transition: transform 0.3s ease, font-size 0.3s ease;
    cursor: pointer;
}

/* Estilos de los botones del carrusel */
.prevd, .nextd {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    padding: 10px;
    font-size: 2rem; /* Aumenta el tamaño de la fuente para que sea más visible */
    cursor: pointer;
    z-index: 10;
    transition: background-color 0.3s ease;
}

.prevd {
    left: 10px;
}

.nextd {
    right: 10px;
}

/* Estilo base para la estructura en dispositivos móviles */
.movie-container-arg {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 10px 0;
    padding: 0 10px;
}

/* Estilo para la tarjeta de película en dispositivos móviles */
.movie-card-arg {
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 100%;  /* Asegura que ocupe todo el ancho del dispositivo */
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
    background-color: #fff;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

/* Contenedor de la imagen del video ajustado a dispositivos móviles */
.movie-image-container-arg {
    position: relative;
    width: 100%;
    padding-top: 56.25%; /* Mantiene relación de aspecto 16:9 */
    background-color: #000;
    overflow: hidden; /* Oculta cualquier parte del iframe que se salga del contenedor */
}

.movie-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 8px;
    object-fit: contain; /* Asegura que el video no se recorte y se ajuste dentro del contenedor */
}

.movies-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-gap: 15px;
    justify-items: center;
    margin-bottom: 30px;
}

.movie-video {
  border-radius: 8px;
}

.movies-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-gap: 15px;
    justify-items: center;
    margin-bottom: 30px;
}

/* Contenedor principal del catálogo */
.catalogo-peliculas {
    padding: 20px;
}

.catalog-container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.movies-grid, .additional-movies {
    display: grid;
    grid-template-columns: repeat(3, 1fr);  /* 3 columnas */
    grid-gap: 15px;  /* Espacio entre las imágenes */
    justify-items: center;
    margin-bottom: 30px;
}

.movie-item {
    width: 120px;  /* Ajusta el tamaño de las imágenes */
    height: auto;
}

.movie-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
    transition: transform 0.3s ease-in-out;  /* Efecto de agrandado al pasar el ratón */
}

/* Efecto al pasar el ratón */
.movie-item:hover img {
    transform: scale(1.05);  /* Agranda ligeramente la imagen */
}

/* Estilo del botón */
.load-more-container {
    text-align: center;
    margin-top: 20px;
}

.load-more-btn {
    padding: 10px 20px;
    font-size: 16px;
    background-color: #233a7a;
    color: white;
    border: none;
    cursor: pointer;
    border-radius: 5px;
}

.load-more-btn:hover {
    background-color: #555;
}

/* Estilos para pantallas grandes (computadoras de escritorio) */
@media (min-width: 1024px) {
    #titulo-derecha {
        font-size: 1.6em; /* Aumentar el tamaño del texto */
        margin-right: 2rem; /* Mayor margen */
    }

    h5 { 
        font-size: 1.4rem; /* Aumentar el tamaño del texto */
        color: #233a7a; /* Mantener color */
    }

    #peliculas {
        padding-top: 2rem; /* Aumentar los márgenes en pantallas grandes */
        padding-bottom: 2rem;
        background-color: #daa254;
    }

    #titulo-izquierda {
        font-size: 1.6em; /* Aumentar el tamaño del texto */
        margin-left: 2rem; /* Mayor margen */
        color: #ffffff;
    }


    /* Ajustes para las películas destacadas */
    .destacadas {
        display: flex;
        flex-wrap: wrap;
        margin: 2rem 0; /* Más espacio entre los items */
    }

    .portada-destacada {
        display: flex;
        flex-direction: column;
        text-align: left;
        width: 30%; /* Controlar el ancho de las películas destacadas */
    }
    
    .foto-destacada img {
        width: 100%;
        height: auto;
        max-width: 100%;
        border-radius: 1rem; /* Hacer los bordes más redondeados */
    }

    .peliculastacada {
        margin-left: 1rem;
        color: #233a7a;
    }

    .foto-destacada {
        position: relative;
        padding: 0px;
    }

    .foto-destacada:hover .play-icon {
        transform: translate(-50%, -50%) scale(1.8); /* Hacer el ícono más grande */
    }

    .play-icon {
        font-size: 3rem; /* Hacer el ícono más grande */
    }
}
.portada-destacada h4, .portada-destacada p {
    margin-left: 8px;
}
/* Estilos generales del carrousel */
.carouseld-section {
    text-align: center;
    margin-top: 40px;
    padding: 20px;  /* Añadimos padding para mayor espacio */
}

.carouseld h2 {
    font-size: 2.5rem;  /* Aumentamos el tamaño del título */
    color: #333;
    margin-bottom: 40px;
}

/* Contenedor principal del carrousel */
.carouseld {
    position: relative;
    display: flex;                /* Flexbox para que todo esté en una fila */
    overflow-x: auto;             /* Permite el desplazamiento horizontal */
    scroll-snap-type: x mandatory; /* Asegura que las imágenes se alineen correctamente en el scroll */
    gap: 20px;                    /* Espacio entre imágenes */
    padding: 20px 0;              /* Espacio arriba y abajo */
    margin: 0 auto;               /* Centra el carrousel */
    max-width: 100%;              /* Asegura que el carrousel no se salga del contenedor */
}

.carouseld-images {
    display: flex;                /* Usamos flex para mantener las imágenes en una fila */
    gap: 20px;                    /* Espacio entre las imágenes */
    flex-wrap: nowrap;            /* Evita que las imágenes se dividan en varias filas */
}

/* Cada imagen en el carrousel */
.carouseld-item {
    flex-shrink: 0;               /* Evita que las imágenes se encojan */
    width: 700px;                 /* Ancho de cada imagen */
    height: 400px;                /* Alto de cada imagen */
    object-fit: cover;            /* Asegura que la imagen cubra el espacio */
    border-radius: 10px;          /* Bordes redondeados */
    scroll-snap-align: start;     /* Alinea las imágenes al iniciar el scroll */
    transition: transform 0.3s ease; /* Efecto de transición al hacer hover */
}

/* Efecto de hover: cuando pasas el mouse por encima de la imagen */
.carouseld-item:hover {
    transform: scale(1.05);        /* Aumenta un poco el tamaño al hacer hover */
}

/* Botones de navegación */
.prevd, .nextd {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    padding: 10px;
    font-size: 2.5rem;             /* Aumentamos el tamaño de los botones */
    cursor: pointer;
    z-index: 10;
    transition: background-color 0.3s ease;
}

.prevd {
    left: 10px;
}

.nextd {
    right: 10px;
}

/* Media Query para pantallas grandes (escritorio) */
@media (min-width: 1024px) {
    .carouseld {
        max-width: 200%;  /* Limita el tamaño del carrousel en pantallas grandes */
        margin: 0 auto;   /* Centra el carrousel */
    }

    .carouseld-item {
        width: 800px;    /* Aumenta el tamaño de las imágenes en pantallas grandes */
        height: 500px;
    }

    .carouseld h2 {
        font-size: 3rem;  /* Aumentamos el tamaño del título */
    }

    .prevd, .nextd {
        font-size: 3rem;  /* Aumentamos el tamaño de los botones */
        padding: 15px;
    }
}

/* Media Query para pantallas medianas (tabletas) */
@media (min-width: 768px) and (max-width: 1023px) {
    .carouseld {
        max-width: 90%;
    }

    .carouseld-item {
        width: 600px;    /* Ajusta el tamaño de las imágenes en pantallas medianas */
        height: 400px;
    }

    .carouseld h2 {
        font-size: 2.5rem;  /* Ajuste del tamaño del título */
    }

    .prevd, .nextd {
        font-size: 2.5rem; /* Ajuste del tamaño de los botones */
    }
}

/* Media Query para pantallas pequeñas (móviles) */
@media (max-width: 767px) {
    .carouseld {
        padding-left: 1rem;
    }

    .carouseld-item {
        width: 250px;     /* Ajuste del tamaño de las imágenes en móviles */
        height: 200px;
    }

    .carouseld h2 {
        font-size: 1.5rem; /* Ajuste del tamaño del título */
    }

    .prevd, .nextd {
        font-size: 1.8rem; /* Ajuste del tamaño de los botones */
    }
}
