*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family:'Poppins',sans-serif;
}

body{
    background:#141414;
    color:#fff;
}

/* Navbar */

.navbar{
    position:fixed;
    top:0;
    left:0;
    width:100%;
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:20px 60px;
    z-index:1000;
    transition:0.4s;
}

.navbar.active{
    background:#000;
}

.logo{
    width:140px;
}

.navbar ul{
    display:flex;
    list-style:none;
}

.navbar ul li{
    margin-left:30px;
}

.navbar ul li a{
    color:white;
    text-decoration:none;
    font-size:16px;
    transition:.3s;
}

.navbar ul li a:hover{
    color:#e50914;
}

/* Hero */

.hero{
    height:100vh;
    background:url("images/hero.jpg") center/cover no-repeat;
}

.overlay{
    width:100%;
    height:100%;
    background:linear-gradient(to top,#141414,transparent,rgba(0,0,0,.75));
    display:flex;
    align-items:center;
}

.hero-content{
    margin-left:70px;
    max-width:550px;
}

.hero-content h1{
    font-size:60px;
    margin-bottom:20px;
}

.hero-content p{
    font-size:20px;
    margin-bottom:30px;
}

.hero-content button{
    padding:12px 28px;
    border:none;
    border-radius:5px;
    font-size:17px;
    cursor:pointer;
    margin-right:15px;
    transition:.3s;
}

.hero-content button:first-child{
    background:white;
    color:black;
}

.hero-content button:first-child:hover{
    background:#ddd;
}

.info-btn{
    background:rgba(109,109,110,.7);
    color:white;
}

.info-btn:hover{
    background:rgba(109,109,110,.4);
}

/* Movie Section */

.movies{
    padding:50px 60px;
}

.movies h2{
    margin-bottom:20px;
}

.movie-row{
    display:flex;
    gap:20px;
    overflow-x:auto;
    scrollbar-width:none;
}

.movie-row::-webkit-scrollbar{
    display:none;
}

.movie-row img{
    width:240px;
    border-radius:10px;
    transition:.4s;
    cursor:pointer;
}

.movie-row img:hover{
    transform:scale(1.08);
}

/* Footer */

footer{
    text-align:center;
    padding:30px;
    background:black;
    margin-top:40px;
}

/* Responsive */

@media(max-width:900px){

.navbar{
    padding:20px;
    flex-direction:column;
}

.navbar ul{
    margin-top:15px;
    flex-wrap:wrap;
    justify-content:center;
}

.navbar ul li{
    margin:8px;
}

.hero-content{
    margin:20px;
}

.hero-content h1{
    font-size:40px;
}

.hero-content p{
    font-size:18px;
}

.movies{
    padding:30px 20px;
}

.movie-row img{
    width:170px;
}

}

@media(max-width:500px){

.hero-content h1{
    font-size:30px;
}

.hero-content p{
    font-size:16px;
}

.hero-content button{
    display:block;
    margin-bottom:15px;
}

.logo{
    width:110px;
}

.movie-row img{
    width:140px;
}

}