body {
    margin: 0;
    padding: 0;
    
    color: #ffffff00;
    font-family: 'Roboto Condensed', sans-serif;
    /* Agregar imagen de fondo con degradado oscuro */
    
   
}

/* Contenedor de la carátula y el título */
.container {
    display: flex;
    margin-top: 20px;
    margin-left: 20px;
}

/* Carátula de la película */
.xs img {
    width: 120px;
    height: auto;
    border-radius: 5px;
}

/* Título y detalles de la película */
.titulo {
    margin-left: 20px;
    text-align: left;
}

/* Sinopsis */
.sinopsis {
    margin-top: 20px;
    margin-left: 20px;
}

/* Enlace al reproductor */
.enlace-container {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 999;
}

.enlace {
    display: block;
    width: 60px;
    /* Modificado el ancho */
    height: 60px;
    /* Modificado el alto */
    background-image: url('');
    background-size: cover;
    background-repeat: no-repeat;
    border-radius: 50%;
}

/* Ajuste de tamaño de fuente para la palabra "Sinopsis" */
.sinopsis h2 {
    font-size: 1.2em;
    /* Modificado el tamaño de la fuente */
}

/* Estilos para el reproductor en pantalla completa */
.fullscreen-player {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(12, 12, 12, 0.493);
    backdrop-filter: blur(5px);
    z-index: 1000;
    overflow: hidden; /* Evitar barras de desplazamiento */
}

.player-container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    overflow: hidden; /* Evitar barras de desplazamiento */
}

.player-container iframe {
    width: 100%; /* Ancho del 100% */
    height: 100%; /* Altura del 100% */
    border: none;
    
}

/* Estilos para el botón de cerrar */
.close-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    cursor: pointer;
    color: #fff;
    font-size: 20px;
}

.close-btn:hover {
    color: red;
}

/* Estilos para dispositivos móviles */
@media only screen and (max-width: 600px) {
    .player-container iframe {
        width: 100%; /* Ancho del 100% en dispositivos móviles */
        height: auto; /* Altura automática en dispositivos móviles */
    }
}
.header {
    background-color: #0e0d0d;
    padding: 10px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: #fff;
}

.logo {
    flex: 1; /* Para ocupar todo el espacio restante */
    text-align: center; /* Para centrar el contenido */
}

.logo img {
    max-width: 100px;
    max-height: 100px;
}

.secciones-btn {
    background-color: #e50914;
    color: #fff;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
}

/* Estilos para el buscador */
.search-container {
    position: relative;
    display: inline-block;
}

.search-input {
    padding: 10px 15px;
    border: none;
    border-radius: 20px;
    font-size: 16px;
    transition: width 0.4s ease-in-out;
    width: 0;
    opacity: 0;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #333;
    color: #fff;
    outline: none;
}

.search-container:hover .search-input {
    width: 200px;
    opacity: 1;
}

.search-icon {
    position: absolute;
    top: 50%;
    right: 10px;
    transform: translateY(-50%);
    cursor: pointer;
    color: #fff;
}

/* Estilos para el menú */
.menu-container {
    display: none;
    position: fixed;
    top: 0; /* Ajuste necesario */
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 999;
}

.menu-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(20, 19, 19, 0.452);
    backdrop-filter: blur(5px); /* Ajuste necesario */
    z-index: -1; /* Ajuste necesario */
}

.menu-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #000000e5;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
    padding: 20px;
    z-index: 1000; /* Asegura que el menú esté por encima del fondo */
}

.menu li {
    margin-bottom: 7px;
}

.menu li a {
    text-decoration: none;
    color: #fff;
    font-size: 20px;
    font-weight: bold;
    transition: color 0.3s ease;
}

.menu li a:hover {
    color: #e50914;
}
.oculto {
    display: none;
}
/* Ajustes para el botón de descarga */
.btn-descarga {
    padding: 10px 20px; /* Ajuste del espacio de padding */
    font-size: 16px; /* Ajuste del tamaño de fuente */
    margin-top: 40px; /* Ajuste del espacio del borde superior */
    
}
#video-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}
.video-item {
    width: 200px;
    cursor: pointer;
}
.video-item img {
    width: 100%;
    border-radius: 4px;
    loading: lazy;
}
#player {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(41, 40, 40, 0.5);
    z-index: 9999;
    backdrop-filter: blur(10px);
}
.close-button {
    position: absolute;
    top: -20px;
    right: -224px;
    color: #fff;
    font-size: 15px;
    cursor: pointer;
    background-color: #e50914;
    padding: 2px 3px;
    border-radius: 1%;
}
.close-button:hover {
    color: #fff;
}
.video-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80vw;
    height: 79vh;
    max-width: 800px;
    max-height: 600px;
}
.video-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}
        @media only screen and (max-width: 600px) {
    .close-button {
        /* Estilos específicos para dispositivos móviles */
        top: -30px;
        right: -5px;
        /* Otros estilos específicos para dispositivos móviles */
    }
}

@media only screen and (max-width: 600px) {
    .video-container {
        
        padding-bottom: 76.15%;
        
        top: 500px; /* Distancia desde el borde superior */
    }
    
}