*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family:Arial, Helvetica, sans-serif;
}

body{
    background:#141414;
    color:white;
}


.navbar{
    position:fixed;
    top:0;
    left:0;
    width:100%;
    height:70px;
    background:rgba(0,0,0,0.9);
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:0 50px;
    z-index:1000;
}

.logo{
    color:#E50914;
    font-size:42px;
    font-weight:bold;
}

.nav-right{
    display:flex;
    align-items:center;
    gap:30px;
}

#searchInput{
    width:250px;
    padding:10px;
    border:none;
    border-radius:5px;
    outline:none;
}

.navbar ul{
    display:flex;
    list-style:none;
    gap:30px;
}

.navbar ul li{
    cursor:pointer;
}

.navbar ul li:hover{
    color:#E50914;
}


.hero{
    margin-top:70px;
    height:650px;
    display:flex;
    align-items:center;
    padding-left:70px;
    position:relative;
    background-size:cover;
    background-position:center;
}

.hero::before{
    content:"";
    position:absolute;
    inset:0;
    background:linear-gradient(
        to right,
        rgba(0,0,0,.9),
        rgba(0,0,0,.55),
        rgba(0,0,0,.2)
    );
}

.hero-content{
    position:relative;
    z-index:2;
    width:500px;
}

.hero h2{
    font-size:60px;
    margin-bottom:20px;
}

.hero p{
    font-size:22px;
    margin-bottom:30px;
}

.hero button{
    background:#E50914;
    color:white;
    border:none;
    padding:15px 35px;
    border-radius:5px;
    font-size:18px;
    cursor:pointer;
}

.hero button:hover{
    background:#b20710;
}


.section-title{
    margin:40px;
    font-size:34px;
}

#movieContainer{
    display:flex;
    gap:20px;
    overflow-x:auto;
    padding:20px 40px 40px;
}

.movie-card{
    min-width:220px;
    background:#222;
    border-radius:10px;
    overflow:hidden;
    transition:.3s;
}

.movie-card:hover{
    transform:scale(1.08);
}

.movie-card img{
    width:100%;
    height:320px;
    object-fit:cover;
}

.movie-info{
    padding:10px;
}

.movie-info h3{
    margin-bottom:8px;
}

.movie-info p{
    color:#bdbdbd;
}


.login-container{
    width:100%;
    height:100vh;
    display:flex;
    justify-content:center;
    align-items:center;
    background:#141414;
}

.login-box{
    width:400px;
    background:#222;
    padding:40px;
    border-radius:10px;
}

.login-box h2{
    margin:20px 0;
}

.login-box input{
    width:100%;
    padding:12px;
    margin-bottom:15px;
    border:none;
    border-radius:5px;
    outline:none;
}

.login-box button{
    width:100%;
    padding:12px;
    border:none;
    border-radius:5px;
    background:#E50914;
    color:white;
    cursor:pointer;
    font-size:16px;
}

.login-box button:hover{
    background:#b20710;
}

#loginMessage{
    margin-top:15px;
    text-align:center;
    color:#ffb3b3;
}

.search-box{
    position:relative;
}

#suggestions{
    position:absolute;
    top:45px;
    left:0;
    width:250px;
    background:#222;
    border-radius:5px;
    overflow:hidden;
    z-index:999;
}

.suggestion-item{
    padding:10px;
    cursor:pointer;
    border-bottom:1px solid #333;
}

.suggestion-item:hover{
    background:#E50914;
}


.hero-content{

    animation:fadeIn 1.2s ease;

}



.movie-card{

    animation:cardFade .6s ease;

}

.movie-card:hover{

    transform:scale(1.08);

    transition:.3s;

}



button{

    transition:.3s;

}

button:hover{

    transform:scale(1.05);

}



#searchInput{

    transition:.3s;

}

#searchInput:focus{

    transform:scale(1.03);

}



@keyframes fadeIn{

    from{

        opacity:0;

        transform:translateY(30px);

    }

    to{

        opacity:1;

        transform:translateY(0);

    }

}



@keyframes cardFade{

    from{

        opacity:0;

        transform:translateY(20px);

    }

    to{

        opacity:1;

        transform:translateY(0);

    }

}



.profile-container{

    margin-top:100px;

    padding:40px 60px;

}


.profile-container h1{

    font-size:40px;

    margin-bottom:30px;

}


.profile-container h2{

    margin-bottom:15px;

    color:#E50914;

}


#historyContainer,
#watchlistContainer{

    background:#222;

    padding:20px;

    border-radius:10px;

    min-height:80px;

    width:500px;

}


#historyContainer p,
#watchlistContainer p{

    padding:10px;

    border-bottom:1px solid #333;

}


#signOutBtn{

    margin-top:30px;

    padding:12px 35px;

    background:#E50914;

    color:white;

    border:none;

    border-radius:5px;

    cursor:pointer;

    font-size:16px;

}


#signOutBtn:hover{

    background:#b20710;

}

.navbar a{
    color:white;
    text-decoration:none;
}

.navbar a:hover{
    color:#E50914;
}