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

body {
    width: 100%;
    background: #040714;
    font-family: Avenir-Roman, sans-serif;
    position: relative;
}

.navbar {
    width: 100%;
    height: 80px;
    padding: 0 4%;
    background: #040714;
    position: fixed;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    z-index: 9;
}
.Dlogo {
    height: 65px;
}

.navLinks {
    margin-top: 10px;
    display: flex;
    list-style: none;
}
.navItem a{
    text-decoration: none;
    margin-left: 20px;
    text-transform: capitalize;
    color: #fff;
    opacity: 0.9;
}
.rightContainer {
    display: block;
    margin-left: auto;
}
.searchBox {
    border: none;
    border-bottom: 1px solid #aaa;
    outline: none;
    height: 30px;
    color: #fff;
    width: 250px;
    text-transform: capitalize;
    background: transparent;
    font-size: 16px;
    font-weight: 500;
    transition: .5s;
}
.searchBox:focus {
    width: 400px;
    border-color: #0063e5;
}

.subBtn {
    background: #0063e5;
    height: 30px;
    border-right: 5px;
    border: none;
    outline: none;
    padding: 0 20px;
    text-transform: uppercase;
    font-weight: 700;
    margin: 0 10px;
    font-size: 12px;
    color: #fff;
}

.loginLink{
    color: #fff;
    opacity: 0.9;
    text-transform: uppercase;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
}

.carouselContainer {
    position: relative;
    width: 100%;
    height: 450px;
    padding: 20px 0;
    overflow-x: hidden;
    margin-top: 80px;
}
.carousel {
    display: flex;
    height: 100%;
    width: 92%;
    position: relative;
    margin: auto;
}
.slider {
    flex: 0 0 auto;
    margin-right: 30px;
    position: relative;
    background: rgba(0,0,0,0.5);
    border-radius: 5px;
    width: 100%;
    height: 100%;
    left: 0;
    transition: 1s;
    overflow: hidden;
}

.slider img {
    width: 70%;
    min-height: 100%;
    display: block;
    object-fit: cover;
    margin-left: auto;
}

.slideContent {
    position: absolute;
    width: 50%;
    height: 100%;
    z-index: 2;
    background: linear-gradient(to right,#02050a 80%,#0c111b00);
    color: #fff;
}
.movieTitle {
    padding-left: 50px;
    text-transform: capitalize;
    margin-top: 80px;
}

.movieDescription {
    width: 80%;
    line-height: 30px;
    padding-left: 50px;
    margin-top: 30px;
    opacity: 0.8;
}
.videoCardContainer {
    position: relative;
    width: 92%;
    margin: auto;
    height: 10vw;
    display: flex;
    margin-bottom: 20px;
    justify-content: space-between;
}

.videoCard {
    position: relative;
    margin: 3px;
    min-width: calc((100%/5 - 10px));
    width: calc((100%/5-10px));
    height: 100%;
    border-radius: 5px;
    overflow: hidden;
    background: #030b17;
}

.videoCardImage,
.cardVideo {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.cardVideo {
    position: absolute;
}

.videoCard:hover .videoCardImage {
    display: none;
}
.title {
    color: #fff;
    opacity: 0.9;
    padding-left: 4%;
    text-transform: capitalize;
    font-size: 22px;
    font-weight: 500;
}

.movieList {
    width: 100%;
    height: 220px;
    position: relative;
    margin: 10px 0 20px;
}

.cardContainer {
    position: absolute;
    width: 92%;
    padding-left: 10px;
    height: 220px;
    display: flex;
    margin: 0 auto;
    align-items: center;
    overflow-x: auto;
    overflow-y: visible;
    scroll-behavior: smooth;
}

.cardContainer::-webkit-scrollbar {
    display: none;
}
.card {
    position: relative;
    min-width: 150px;
    height: 200px;
    border-radius: 5px;
    overflow: hidden;
    margin-right: 10px;
    transition: 0.5s;
}

.cardImg {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cardBody {
    width: 100%;
    height: 100%;
    opacity: 0;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 2;
    background: linear-gradient(to bottom, rgba(4,8,15,0),#192133 90%);
    padding: 10px;
}

.card:hover {
    transform: scale(1.1);
}
.card:hover .cardBody{
    opacity: 1;
}

.name {
    color: #fff;
    font-size: 15px;
    font-weight: 500;
    text-transform: capitalize;
    margin-top: 60%;
}

.descript {
    color: #fff;
    margin: 5px 0;
    opacity: 0.8;
    font-weight: 500;
    font-size: 12px;
}
.watchListBtn {
    position: absolute;
    width: 100%;
    text-transform: capitalize;
    background: none;
    border: none;
    outline: none;
    font-weight: 500;
    text-align: right;
    color: rgba(255,255,255,0.5);
    margin: 5px 0;
    cursor: pointer;
    padding: 10px 20px;
    border-radius: 5px;
}

.watchListBtn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -5px;
    height: 35px;
    width: 35px;
    background-image: url();
    background-size: cover;
    transform: scale(0.4);
}

.watchListBtn:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.5);
}

.nextBtn,
.previousBtn {
    position: absolute;
    top: 0;
    width: 5%;
    height: 100%;
    z-index: 4;
    border: none;
    cursor: pointer;
    outline: none;
}
.previousBtn {
    left: 0;
    background: linear-gradient(to right,#0c111b 0%,#0c111b00);
}
.nextBtn {
    right: 0;
    background: linear-gradient(to left,#0c111b 0%,#0c111b00);
}

.nextBtn img,
.previousBtn img {
    width: 15px;
    height: 20px;
    opacity: 0;   
}
.nextBtn:hover img,
.previousBtn:hover img {
    opacity: 1;   
}