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

body{
    background:#111;
    color:#fff;
    font-family:Arial,Helvetica,sans-serif;
    padding-bottom:80px;
}

.header{
    display:flex;
    align-items:center;
    gap:20px;
    padding:15px;
    background:#181818;
}

.header a{
    color:#fff;
    font-size:24px;
    text-decoration:none;
}

.logo{
    height:45px;
}

.hero{
    padding:40px 20px;
    background:linear-gradient(rgba(0,0,0,.5),rgba(0,0,0,.8)),
    url("../banner.jpg") center/cover;
}

.hero h1{
    font-size:48px;
    margin-bottom:10px;
}

.hero p{
    color:#ccc;
    font-size:18px;
}

.search-box{
    padding:20px;
}

.search-box input{
    width:100%;
    padding:15px;
    border:none;
    border-radius:10px;
    background:#222;
    color:#fff;
    font-size:16px;
}

.movie-grid{
    display:grid;
    grid-template-columns:repeat(auto-fill,minmax(150px,1fr));
    gap:15px;
    padding:20px;
}

.movie-card{
    background:#1a1a1a;
    border-radius:10px;
    overflow:hidden;
    cursor:pointer;
    transition:.3s;
}

.movie-card:hover{
    transform:scale(1.05);
}

.movie-card img{
    width:100%;
    display:block;
}

.movie-card h3{
    padding:10px;
    font-size:15px;
}

@media(max-width:768px){

.hero h1{
    font-size:38px;
}

.movie-grid{
    grid-template-columns:repeat(3,1fr);
}

.logo{
    height:40px;
}

}

@media(max-width:480px){

.movie-grid{
    grid-template-columns:repeat(2,1fr);
}

.hero h1{
    font-size:34px;
}

}
.bottom-nav{
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 65px;
    background: #181818;
    display: flex;
    justify-content: space-around;
    align-items: center;
    border-top: 1px solid #333;
    z-index: 9999;
}

.bottom-nav a{
    color: #fff;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 12px;
}

.bottom-nav i{
    font-size: 22px;
    margin-bottom: 4px;
}

body{
    padding-bottom: 75px;
}
.bottom-nav a.active{
    color:#e50914;
}

.bottom-nav a.active i{
    color:#e50914;
}

