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

body {
    width: 100%;
    background: #0c111b;
    position: relative;
    font-family: roboto, sans-serif;
}

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

.brand {
    height: 70px; 
}

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

.item a {
    text-decoration: none;
    margin-left: 20px;
    text-transform: capitalize;
    color: #fff;
    opacity: 0.9;
}

.gold a {
    color: gold;
    border: 1px solid gold;
    padding: 5px 10px;
    border-radius: 5px;
    font-weight: 500;
}

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

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

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

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

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

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

.carousel {
    display: flex;
    width: 92%;
    height: 100%;
    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%;
    object-fit: cover;
    display: block;
    margin-left: auto;
}

.slide-content {
    position: absolute;
    width: 50%;
    height: 100%;
    z-index: 2;
    background: linear-gradient(to right, #030b17 80%, #0c111b00);
    color: #fff;
}

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

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

.movie-genre {
    margin: 20px 0px 50px 50px;
    font-size: 16px;
}

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

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

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

#hotstar {
    background: #202C45;
}

.card-video {
    position: absolute;
}

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

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

.title span {
    color: #08B6FE;
}

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

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

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

.card {
    position: relative;
    min-width: 160px;
    width: 150px;
    height: 215px;
    border-radius: 5px;
    overflow: hidden;
    margin-right: 10px;
    transition: .5s;
}

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

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

.card:hover .card-body {
    opacity: 1;
}

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

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

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

.watchlist-btn {
    position: relative;
    width: 100%;
    text-transform: capitalize;
    background: none;
    border: none;
    font-weight: 700;
    text-align: center;
    color: rgba(255,255,255,0.5);
    margin: 5px 0;
    cursor: pointer;
    padding: 10px 5px;
    border-radius: 5px;
}

.watchlist-btn::before {
    content: '';
    position: relative;
    top:0;
    left: -5px;
    height: 35px;
    width: 35px;
    background-size: cover;
    transform: scale(0.4);
}

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

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

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

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

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

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

footer {
    background: #0c111b;
    color: #fff;
    margin: 70px 50px 20px 80px;
}

.footer-container {
    display: flex;
    align-items: stretch;
    margin: 0 auto;
}

.footer-left {
    min-width: 75%;
    display: flex;
}

.footer-links {
    flex: 1;
}

.footer-links ul {
    list-style: none;
    padding: 0;
}

.footer-links ul li , .footer-links ul li a {
    color: #8F98B2;
    font-size: 15px;
}

.footer-links .top {
    margin-bottom: 25px;
    font-size: 17px;
    font-weight: 540;
}

.footer-links #copy {
    margin-top: 35px;
    margin-bottom: 10px;
    font-size: 15px;
    color: #8F98B2;
}

.footer-links .bottom {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex; 
}

.footer-links .bottom li {
  margin-right: 10px; 
}

.footer-links li {
    margin-bottom: 15px;
}

.footer-links a {
    text-decoration: none;
    color: #fff;
}

.footer-right p  {
    margin-left: 160px;
}

.footer-right img {
    width: 150px;
    margin-top: 30px;
}

.footer-right .icons {
    margin-left: 170px;
}

.footer-right .footer-links i {
    font-size: 25px;
    margin-right: 30px;
    margin-bottom: 30px;
}
