*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    text-decoration: none;
    scroll-behavior: smooth;
    font-family: sans-serif;
}
:root{
    --bcolor: rgb(53, 51, 59);
}
body{
    background-color: var(--bcolor);

}

/*header start*/
.logo img{
    width: 150px;
}
header{
    display: flex;
    align-items: center;
    background-color: rgb(37, 36, 41);
    position: sticky;
    top: 0;
}
.logo{
    margin-right: 50px;
}
nav a{
    color: white;
    font-size: 15px; 
    display: block;
    text-decoration: none;
}
nav{
    display: flex;
}
nav div{
    text-align: center;
    margin: 0px 30px;
    padding: 10px;
    width: 100px;
    border-radius: 5px;
}
nav div:hover{
    background-color: rgb(0, 0, 0);
}
nav div i{
    color: white;
    font-size: 20px;
    margin-bottom: 10px;
}


@media  screen and (max-width: 1000px) {
    nav a{     
        font-size: 10px; 
    }
    nav div i{
        font-size: 15px;
    }
    nav div{
        margin: 5px;
        padding: 10px;
        width: 100px;
        border-radius: 5px;
    }
}

@media screen and (max-width: 750px) {
    nav div{
        margin: 5px;
        padding: 10px;
        width: 80px;
        border-radius: 5px;
    }

    .logo{
        padding: 0px 10px;  
        margin-right: 50px;
    }
}
/*header end*/

/* home start */
.headertext{
    text-align: center;
    padding-top: 30px;
    color: white;
    font-size: 30px;
    font-family: sans-serif;
    
}
.carousel{
    padding: 10px 80px;
}
.carouselImg{
    border-radius: 20px;
   
}
/* home end */

/* Trailer Container start */
.aboutMovie{
    color: white;
    font-family: sans-serif;
    line-height: 25px;
    text-align: justify;
}
.movieTitle{
   text-align: right;
   font-family: sans-serif;
   padding-right: 70px;
}
.casts{
    text-decoration: none;
    color: white;
}
.casts:hover{
    color: rgb(233, 65, 65);
}
.trailer{
    position: relative;
    
}
.trailer::after{
    content: "";
    background-color: rgb(233, 65, 65);
    width: 0%;
    height: 2px;
    left: 0px;
    position: absolute;
    bottom: -5px;
    transition: 0.5s;
}
.trailer:hover::after{
    width: 100%;
}
/* Trailer Container end */

/* footer start */
footer{
    padding-top: 20px;
}
footer a{
    text-decoration: none;
}
footer h5{
    color: white;
    text-align: center;
    font-size: 15px;
}
.footerTerm{
    padding: 10px;
    
}
.footerTerm:hover{
    color: rgb(207, 42, 24);
}
/* footer end */