
/* CONFIGURACIÓN GENERAL */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: #101010;
    color: rgb(255, 255, 255);
    font-family: Arial, sans-serif;
}

/* ENCABEZADO */
.encabezado {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 22px 6%;
    background-color: #101010;
}

.encabezado h1 {
    color: #2e09e5;
    font-size: 27px;
    letter-spacing: 2px;
}

nav a {
    color: white;
    text-decoration: none;
    margin-left: 25px;
    font-size: 16px;
}

nav a:hover {
    color: #091fe5;
}

/* PELÍCULA DESTACADA */
.destacada {
    min-height: 380px;
    display: flex;
    align-items: center;
    padding: 50px 8%;
    background: linear-gradient(
        90deg,
        #101010 20%,
        #292020 70%,
        #101010
    );
}

.contenido {
    max-width: 550px;
}

.contenido h2 {
    font-size: 38px;
    margin-bottom: 18px;
}

.contenido p {
    font-size: 17px;
    color: #cccccc;
    line-height: 1.6;
    margin-bottom: 25px;
}

button {
    background-color: #4709e5;
    color: white;
    border: none;
    padding: 13px 25px;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
}

button:hover {
    background-color: #fe0303;
}

/* CATÁLOGO */
.catalogo {
    padding: 35px 6%;
}

.catalogo h2 {
    font-size: 25px;
    margin-bottom: 25px;
}

.peliculas {
    display: grid;
    grid-template-columns: repeat(3, 200px);
    gap: 25px;
}

.pelicula {
    background-color: #4d4d4d;
    padding: 12px;
    border-radius: 8px;
    transition: transform 0.3s;
}
.pelicula img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
    border-radius: 5px;
}

.pelicula:hover {
    transform: scale(1.04);
}

.portada {
    width: 100%;
    height: 160px;
    background-color: #333333;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #bbbbbb;
    border-radius: 5px;
    font-size: 18px;
    overflow: hidden;
}




.pelicula h3 {
    margin-top: 13px;
    font-size: 17px;
}

.pelicula p {
    color: #999999;
    margin-top: 7px;
}

/* PIE DE PÁGINA */
footer {
    text-align: center;
    padding: 25px;
    background-color: #101010;
    color: #2c00ccca;
    margin-top: 40px;
}

/* ADAPTACIÓN A CELULARES */
@media (max-width: 650px) {
    .encabezado {
        flex-direction: column;
        gap: 18px;
    }

    nav a {
        margin: 0 10px;
    }

    .contenido h2 {
        font-size: 29px;
    }

    .peliculas {
        grid-template-columns: 1fr;
    }
}



/* PANTALLA DEL REPRODUCTOR */

.pantalla-reproductor {
    padding: 35px 6%;
    text-align: center;
}

.pantalla-reproductor h2 {
    margin-bottom: 25px;
}

.pantalla-reproductor video {
    width: 100%;
    max-width: 900px;
    background-color: rgb(62, 61, 61);
    border-radius: 8px;
}

.pantalla-reproductor h3 {
    margin-top: 20px;
    margin-bottom: 10px;
}

.pantalla-reproductor p {
    color: #aaaaaa;
}
