@import url('https://fonts.googleapis.com/css2?family=Titan+One&display=swap');
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    overflow-x: hidden;
    
}

body {
    width: 100vw;
    background: #0c111b;
    position: relative;
    font-family: roboto, sans-serif;
    /* border: 3px solid green; */

}

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

.brand-logo {
    height: 70px;
}

.nav-links {
    display: flex;
    list-style: none;
    margin: 10px;

}

.nav-item a {
    text-decoration: none;
    margin-left: 20px;
    text-transform: capitalize;
    color: #fff;
    opacity: 0.9;
}
.kids a{
    color: #ee9f45;
    opacity: 1;
    font-size: 19px;
    font-family: 'Titan One', cursive;
}
    



.right-container {
    display: block;
    margin-left: auto;
}

.search-box {
    border: none;
    outline: none;
    border-bottom: 1px solid #aaa;
    background: transparent;
    height: 30px;
    width: 250px;
    color: #fff;
    text-transform: capitalize;
    font-size: 16px;
    font-weight: 500;
    transition: .5s;

}

.search-box:focus {
    width: 400px;
    border-color: #1f80e0;
}

.sub-btn {
    background: #1f80e0;
    height: 30px;
    padding: 0 20px;
    color: #fff;
    border-radius: 5px;
    border: none;
    outline: none;
    text-transform: uppercase;
    font: 700;
    font-size: 12px;
    margin: 0 10px;
}

.login-link {
    color: #fff;
    opacity: 0.9;
    text-transform: uppercase;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;

}

.carousel-container {
    position: relative;
    width: 100%;
    height: 450px;
    padding: 20px 0;
    overflow-x: hidden;
    margin-top: 80px;
}


.carousel {
    display: flex;
    flex-direction: row;
    width: 92%;
    margin: auto;
    position: relative;
    height: 100%;
    background: #000;
}

.slider {
    width: 100%;
    height: 100%;
    flex: 0 0 auto;
    position: relative;
    background: rgba(0, 0, 0, 0.5);
    margin-right: 30px;
    left: 0;
    overflow: hidden;
    transition: 1s;


}

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

}

.slide-content {
    position: absolute;
    height: 100%;
    width: 50%;

    z-index: 2;
    color: #fff;
    background: linear-gradient(to right, #030b17 80%, #0c111b00);

}

.movie-title {
    padding-left: 50px;
    text-transform: capitalize;
    margin-top: 80px;

}

.movie-desc {
    width: 70%;
    line-height: 30px;
    padding-left: 50px;
    margin-top: 30px;
    opacity: 0.8;
}

.video-card-container {
    position: relative;
    margin: auto;
    width: 92%;
    height: 10vw;
    margin-bottom: 20px;
    display: flex;
    justify-content: space-between;
    

}

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

}

.video-card-image,
.card-video {
    width: 100%;
    height: 100%;
    object-fit: cover;

}

.card-video {
    position: absolute;

}

.video-card:hover .video-card-image {
    display: none;

}


.title {
    color: #fff;
    font-weight: bold;
    padding-left: 4%;
    text-transform: capitalize;
    font-size: 20px;
   

}

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


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


.card-container::-webkit-scrollbar{
    display:none;

}


.card {
    position: relative;
    min-width: 150px;
    width: 150px;
    height: 200px;
    border-radius: 5px;
    overflow: hidden;
    background: #000;
    margin-right: 10px;
    transition: .5s;

}
.card-img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.card-body{
    opacity: 0;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    background:linear-gradient(to bottom,rgba(4,8,15,0),#192133 90%);
    padding:10px;
    transition:0.5s;
}
.card:hover{
    transform:scale(1.1);
}
.card:hover .card-body{
    opacity: 1;
}
.name{
    color: #fff;
    font-size:13px;
    font-weight:500;
    text-transform: capitalize;
    margin-top:60%;

}

.desc{
   color: #fff;
   opacity: 0.8;
   margin:5px 0;
   font-weight: 500;
   font-size: 10px;


}
.watchlist-btn{
    position:relative;
    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 5px;
    border-radius: 5px;
}
.watchlist-btn::before{
    content:'';
    position:absolute;
    top: 0;
    left: -5px;
    height: 35px;
    width: 35px;
    background-image: url(images/add.png);
    background-size: cover;
    transform:scale(0.4);
}



.watchlist-btn:hover{
    color: #fff;
    background:rgba(255,255,255,0.1);


}

.pre-btn,.next-btn{
    position:absolute;
    top: 0;
    width:5%;
    height:100%;
    border:none;
    outline: none;
    z-index: 2;
    cursor: pointer;

}
.pre-btn{
    left:0;
    background:linear-gradient(to right,#0c111b 0%,#0c111b00);
}
.next-btn{
    right:0;
    background:linear-gradient(to left,#0c111b 0%,#0c111b00);
}

.pre-btn img,.next-btn img{
    width:15px;
    height: 20px;
    opacity: 0;

}
.pre-btn:hover img,
.next-btn:hover img{
opacity: 1;
}
