*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

body{
    background:#0b0b0b;
    color:#ffffff;
    font-family:Arial, Helvetica, sans-serif;
}


/* HEADER */

.header{
    background:#111;
    height:70px;
    width:100%;
    position:fixed;
    top:0;
    left:0;
    z-index:1000;
    border-bottom:1px solid #222;
}

.container{
    width:90%;
    max-width:1400px;
    margin:auto;
}

.header .container{
    height:70px;
    display:flex;
    justify-content:space-between;
    align-items:center;
}

.logo{
    color:#e50914;
    font-size:28px;
    font-weight:bold;
    text-decoration:none;
    white-space:nowrap;
}


/* MENÚ */

.menu{
    display:flex;
    align-items:center;
    gap:20px;
}

.menu a{
    color:#fff;
    text-decoration:none;
    transition:0.3s;
    white-space:nowrap;
}

.menu a:hover{
    color:#e50914;
}


/* BUSCADOR */

.buscador{
    display:flex;
    align-items:center;
    flex-wrap:nowrap;
}

.buscador input{
    width:160px;
    height:35px;
    padding:0 12px;
    background:#000;
    color:#fff;
    border:1px solid #333;
    border-right:none;
    border-radius:20px 0 0 20px;
    outline:none;
}

.buscador input:focus{
    border-color:#e50914;
}

.btn-buscar{
    width:40px;
    height:35px;
    background:#e50914;
    color:#fff;
    border:none;
    border-radius:0 20px 20px 0;
    cursor:pointer;
    display:flex;
    justify-content:center;
    align-items:center;
    flex-shrink:0;
}


/* BANNER */

.banner{
    margin-top:70px;
    height:500px;
    background:
        linear-gradient(
            rgba(0,0,0,.4),
            #0b0b0b
        ),
        url("../img/banner.jpg");

    background-size:cover;
    background-position:center;
    display:flex;
    align-items:flex-end;
    padding-bottom:50px;
}

.banner-content h1{
    font-size:50px;
}

.banner-content p{
    margin-top:15px;
    max-width:600px;
    color:#ddd;
}


.btn{
    display:inline-block;
    margin-top:20px;
    background:#e50914;
    color:#fff;
    padding:12px 25px;
    text-decoration:none;
    border-radius:5px;
}


/* SECCIONES */

.section{
    padding:40px 0;
}

.section h2{
    margin-bottom:20px;
}


.grid{
    display:grid;
    grid-template-columns:
    repeat(auto-fill, minmax(180px, 1fr));
    gap:20px;
}


/* TARJETAS */

.card{
    background:#161616;
    border-radius:10px;
    overflow:hidden;
    transition:0.3s;
    text-decoration:none;
    color:white;
}

.card:hover{
    transform:scale(1.05);
}

.card img{
    width:100%;
    height:270px;
    object-fit:cover;
}

.card-info{
    padding:15px;
}

.card-info h3{
    font-size:16px;
}


/* FOOTER */

.footer{
    background:#111;
    padding:25px;
    text-align:center;
    color:#777;
}


/* RESPONSIVE */

@media(max-width:768px){

    .header{
        height:auto;
        padding:15px 0;
    }

    .header .container{
        height:auto;
        flex-direction:column;
        align-items:flex-start;
        gap:15px;
    }

    .menu{
        width:100%;
        flex-wrap:wrap;
        gap:15px;
    }

    .buscador{
        width:100%;
        order:10;
    }

    .buscador input{
        width:100%;
    }

    .banner{
        height:400px;
    }

    .banner-content h1{
        font-size:32px;
    }
}

/* Tráiler */

.trailer{
    margin:25px 0;
}

.trailer h3{
    margin-bottom:15px;
    color:#e50914;
}

.trailer iframe{
    width:100%;
    height:450px;
    border:none;
    border-radius:10px;
    background:#000;
}


/* Móvil */

@media(max-width:768px){

.trailer iframe{
    height:220px;
}

}