@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap');

* {
    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: fixed;
    top: 0;
    left: 0;
    padding: 0 4%;
    background: #0c111b;
    display: flex;
    align-items: center;
    justify-content: space-between;
    z-index: 9;
}


#left {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-left: 20px;
}

.brand-logo {
    width: 115px;
    height: 45px;
}

#left>ul {
    margin-top: 10px;
}

#left>ul>li {
    display: inline-block;
    list-style: none;

}

#left a {
    margin-left: 20px;
    text-decoration: none;
    color: white;
    opacity: 9;
    text-transform: capitalize;
}

.kids-icon {
    width: 40px;
    height: 15px;
}



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

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

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

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

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

}

.carousel {
    display: flex;

    width: 92%;
    height: 100%;
    position: relative;
    margin: auto;
    background: #000;
}

.slider {
    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;
    margin-top: 60px;

}

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

}

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

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


.video-card-container {
    position: relative;
    width: 92%;
    margin: auto;
    height: 10vw;
    display: flex;
    margin-top: 20px;
    margin-bottom: 20px;
    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;
}

.tittle {
    color: #fff;
    opacity: 0.9;
    padding-left: 4%;
    text-transform: capitalize;
    font-size: 22px;
    font-weight: 500;
}

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

}

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


}

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

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

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

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

.card:hover .card-body:hover {
    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, 5, 0), #192133 90%);
    padding: 10px;
    transition: 0.5s;
}

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

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

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


.watchlist-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 1px;
    height: 35px;
    width: 35px;
    background-image: url(images/add.png);
    background-size: cover;
    transform: scale(0.4);
}

.watchlist-btn:hover {
    color: #fff;
}


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

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

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

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

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

#search_res {
    width: 92%;
    margin: auto;
    top: 0;
    margin-top: 50px;

    display: grid;
    grid-template-columns: repeat(5, 1fr);
    justify-content: space-around;
    gap: 20px;

}

#search_res img {
    width: 100%;

}



/* Footer Styles */

footer {
    background-color: #111;
    color: #fff;
    padding: 50px 0;
}

footer h3 {
    font-size: 18px;
    font-weight: 600;
    text-align: center;
    margin-bottom: 20px;
}


footer p {
    line-height: 1.8;
    margin-bottom: 30px;
    margin-left: 20px;
    text-align: center;
}

.bottom {
    display: flex;
    align-items: center;
    justify-content: space-around;
    margin-top: 40px;

}

footer ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
}

footer ul li {
    margin-left: 20px;
    margin-bottom: 10px;
}

footer ul li a {

    text-decoration: none;
    color: #fff;
}

.bottom-bar {
    background-color: #000;
    padding: 10px 0;
}

.bottom-bar p {
    font-size: 14px;
    margin: 0;
}

.social-icons {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: right;
}

.social-icons li {
    display: inline-block;
    margin-left: 10px;
}

.social-icons li:first-child {
    margin-left: 0;
}

.social-icons a {
    color: #fff;
}

.social-icons i {
    font-size: 20px;
    line-height: 1;
}

.search-result {
    color: white;
    margin-top: 100px;
    margin-left: 100px;
}

/* Responsive Styles */

@media (max-width: 767px) {
    footer {
        text-align: center;
    }

    .bottom-bar {
        text-align: center;
    }

    .social-icons {
        text-align: center;
    }

    .social-icons li {
        display: inline-block;
        margin: 0 5px;
    }

    .social-icons li:first-child {
        margin-left: 0;
    }
}