/* Normalise css */
html,
body {
    background-color: #141414;
    padding: 0;
    margin: 0;
    font-family: Helvetica, Arial, sans-serif;
}

.container {
    width: 100%;
    max-width: 1250px;
    margin: 0 auto;
}

* {
    box-sizing: border-box;
}

*::-webkit-scrollbar {
    display: none;
}

/* Header Css */
header {
    background-color: transparent;
    position: fixed;
    z-index: 100;
    left: 0;
    top: 0;
    width: 100%;
    transition: all ease 600ms;
}

header.black-bg {
    background-color: rgb(20, 20, 20);
}

.header-cont {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

.left-cont,
.right-cont {
    display: flex;
    flex-direction: row;
    align-items: center;
}

.header-brand {
    max-width: 110px;
}

.main-nav {
    list-style: none;
    display: inline-flex;
    flex-direction: row;
}

.nav-item {
    margin-right: 20px;
    color: #e5e5e5;
    opacity: .83;
    transition: opacity 0.3s ease, color 0.3s ease, text-shadow 0.3s ease;
    cursor: pointer;
}

.nav-item:hover {
    opacity: 1;
    color: #fff;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.4);
}

.nav-item.active {
    color: white;
    opacity: 1;
    font-weight: 500;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.4);
}

.right-cont svg,
.right-cont img {
    margin-right: 22px;
    cursor: pointer;
}

.right-cont svg {
    color: white;
}

.right-cont img {
    max-width: 40px;
}



/* Movies Section CSS */
.movies-section {
    margin: 41px 0;
}

.movie-section-heading {
    font-size: 20px;
    font-weight: 700;
    line-height: 1.2;
    color: #e5e5e5;
    cursor: pointer;
    margin-bottom: 10px;
    transition: color 0.3s ease;
}

.movie-section-heading:hover {
    color: white;
}

.explore-nudge {
    color: #54b9c5;
    font-size: 14px;
    opacity: 0;
    transform: translateX(-10px);
    transition: all 0.3s ease;
    display: inline-block;
    margin-left: 10px;
}

.movie-section-heading:hover .explore-nudge {
    opacity: 1;
    transform: translateX(0);
}

@keyframes rowFadeIn {
    0% {
        opacity: 0;
        transform: translateX(40px);
    }

    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

.movies-row {
    display: flex;
    flex-direction: row;
    align-items: center;
    flex-wrap: nowrap;
    overflow-x: auto;
    overflow-y: hidden;
    animation: rowFadeIn 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
    padding-bottom: 15px;
}

/* custom scrollbar for movies-row */
.movies-row::-webkit-scrollbar {
    height: 6px;
    display: block;
}

.movies-row::-webkit-scrollbar-track {
    background: transparent;
}

.movies-row::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 10px;
}

.movies-row::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.4);
}

.movie-item {
    width: 245px;
    flex: 0 0 245px;
    margin-right: 8px;
    border-radius: 5px;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4);
}

.move-item-img {
    width: inherit;
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94), filter 0.4s ease;
    filter: brightness(0.9);
}

.movie-item .iframe-wrap {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10;
    display: none;
    border: none;
    outline: none;
    animation: iframeFadeIn 0.5s ease forwards;
}

@keyframes iframeFadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.movie-item:hover .iframe-wrap {
    display: block;
}

.movie-item:hover .move-item-img {
    transform: scale(1.1);
    filter: brightness(1.1);
}


/* Banner Section */
.banner-section {
    background-repeat: no-repeat;
    background-size: cover;
    min-height: 98vh;
    padding-top: 80px;
    position: relative;
}

@keyframes bannerFadeIn {
    0% {
        opacity: 0;
        transform: translateY(40px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.banner-content {
    display: flex;
    flex-direction: column;
    padding-top: 70px;
    animation: bannerFadeIn 1.2s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

.banner__title {
    color: white;
    font-size: 84px;
    line-height: 1.1;
    margin: 0;
    margin-bottom: 16px;
    max-width: 40%;
}

.banner__info {
    margin-bottom: 14px;
    font-size: 22px;
    font-weight: 700;
    line-height: 1.5;
    color: white;
}

.banner__overview {
    font-size: 16.4px;
    color: white;
    line-height: 1.3;
    max-width: 40%;
}

.action-buttons-cont {
    display: flex;
    flex-direction: row;
    align-items: center;
}

.action-button {
    border: none;
    background-color: white;
    padding: 8px 23px;
    margin-right: 11px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    flex-direction: row;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease-in-out;
}

.action-button:hover {
    background-color: rgba(255, 255, 255, 0.85);
    transform: scale(1.05);
}

.action-button:last-child {
    background-color: rgba(109, 109, 110, 0.7);
    color: white;
}

.action-button:last-child:hover {
    background-color: rgba(109, 109, 110, 0.9);
}

.banner_fadeBottom {
    height: 120px;
    background: linear-gradient(180deg,
            transparent,
            rgba(37, 37, 37, .61),
            #141414);
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
}



/* RESPONSIVE CSS */
@media (max-width:767px) {
    .main-nav {
        display: none;
    }

    .banner__overview,
    .banner__title {
        max-width: 100%;
    }
}