.banner {
    width: 100%;
    height: 100vh;
    position: relative;
}
.banner::before {
    content: "";
    display: block;
    position: absolute;
    width: 100%;
    height: 60px;
    background-image: linear-gradient(180deg, rgba(0, 0, 0, 0.7) 0%, transparent);
}
.banner .slide {
    opacity: 0;
    transition: 1.5s;
}
.banner .slide.active {
    opacity: 1;
}
.banner .slide #myVideo {
    position: absolute;
    right: 0;
    top: 0;
    height: 100vh;
    object-fit: cover;
    z-index: -1;
    width: 100%;
}
.banner .slide .content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    text-align: center;
    width: 100%;
    z-index: 9999;
}
.banner .slide.active .content {
    animation: run 1s linear;
}
@keyframes run {
    0% {
        opacity: 0;
        transform: translate(-50%, -20%);
    }
    100% {
        opacity: 1;
        transform: translate(-50%, -50%);
    }
}
.banner .slide .content img {
    width: 70px;
    margin: 0 auto;
}
.banner .slide.active .content img {
    animation: rotate 1s linear;
}
@keyframes rotate {
    100% {
        transform: rotate(360deg);
    }
}
.banner .slide .content .text {
    font-size: 100px;
    font-weight: 600;
    line-height: 96px;
    margin: 40px 0;
    width: 100%;
}
.banner .slide .content .text span {
    color: red;
}
.banner .slide .content .watch {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    border: 1px solid white;
    width: 13%;
    margin: 0 auto;
    padding: 15px 10px;
    border-radius: 100px;
    transition: 0.3s;
    position: relative;
    z-index: 999;
}
.banner .slide .content .watch:hover {
    background-color: white;
}
.banner .slide .content .watch:active {
    transform: scale(0.95);
}
.banner .slide .content .watch i {
    font-size: 20px;
    animation: zoom 2s linear infinite;
}
@keyframes zoom {
    0% {
        transform: scale(1);
    }
    50% {
        opacity: 1;
        transform: scale(1.2);
    }
    100% {
        transform: scale(1);
    }
}

/* button---> */

.scrolldown {
    --color: white;
    --sizeX: 30px;
    --sizeY: 50px;
    position: relative;
    width: var(--sizeX);
    height: var(--sizeY);
    margin-left: var(sizeX / 2);
    border: calc(var(--sizeX) / 10) solid var(--color);
    border-radius: 50px;
    box-sizing: border-box;
    margin-bottom: 16px;
    cursor: pointer;
    position: absolute;
    bottom: 50px;
    left: 50%;
    transform: translateX(-50%);
}

.scrolldown::before {
    content: "";
    position: absolute;
    bottom: 30px;
    left: 50%;
    width: 6px;
    height: 6px;
    margin-left: -3px;
    background-color: var(--color);
    border-radius: 100%;
    animation: scrolldown-anim 2s infinite;
    box-sizing: border-box;
    box-shadow: 0px -5px 3px 1px #2a547066;
}

@keyframes scrolldown-anim {
    0% {
        opacity: 0;
        height: 6px;
    }

    40% {
        opacity: 1;
        height: 10px;
    }

    80% {
        transform: translate(0, 20px);
        height: 10px;
        opacity: 0;
    }

    100% {
        height: 3px;
        opacity: 0;
    }
}

.chevrons {
    padding: 6px 0 0 0;
    margin-left: -3px;
    margin-top: 48px;
    width: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.chevrondown {
    margin-top: -6px;
    position: relative;
    border: solid var(--color);
    border-width: 0 3px 3px 0;
    display: inline-block;
    width: 10px;
    height: 10px;
    transform: rotate(45deg);
}

.chevrondown:nth-child(odd) {
    animation: pulse54012 500ms ease infinite alternate;
}

.chevrondown:nth-child(even) {
    animation: pulse54012 500ms ease infinite alternate 250ms;
}

@keyframes pulse54012 {
    from {
        opacity: 0;
    }

    to {
        opacity: 0.5;
    }
}

/* button---> */

/* next-prev---> */

.banner .fa:active {
    transform: translateY(-50%) scale(0.9);
}
.banner .next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: 100px;
    color: white;
    background-color: rgba(128, 128, 128, 0.1);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10000;
    transition: 0.3s;
}
.banner .next:hover {
    background-color: rgba(128, 128, 128, 0.5);
}
.banner .prev {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    right: 100px;
    color: white;
    background-color: rgba(128, 128, 128, 0.1);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10000;
    transition: 0.3s;
}
.banner .prev:hover {
    background-color: rgba(128, 128, 128, 0.5);
}
/* listMovies--> */

.listMovies:first-child {
    padding-top: 50px;
}
.listMovies {
    padding-bottom: 50px;
    position: relative;
}
.listMovies::after {
    content: "";
    background-image: linear-gradient(
        180deg,
        hsla(0, 0%, 8%, 0) 0,
        hsla(0, 0%, 8%, 0.15) 15%,
        hsla(0, 0%, 8%, 0.35) 29%,
        hsla(0, 0%, 8%, 0.58) 44%,
        #141414 68%,
        #141414
    );
    position: absolute;
    top: -30px;
    left: 0;
    width: 100%;
    height: 40px;
}
.listMovies .title {
    font-size: 30px;
    color: white;
    margin-bottom: 30px;
    font-weight: 500;
    padding-top: 50px;
}
.listMovies .title .sub-title {
    font-size: 15px;
    color: red;
}
.listMovies .list {
    display: flex;
    align-items: center;
    gap: 30px;
    overflow-x: scroll;
}
.listMovies .list a {
    color: white;
}
.list::-webkit-scrollbar {
    width: 5px;
    background-color: rgba(255, 255, 255, 0.634);
    border-radius: 10px;
    height: 1px;
}
.list::-webkit-scrollbar-thumb {
    background-color: red;
    border-radius: 10px;
}

/* responsive---> */

@media (max-width: 1254px) {
    .banner .slide .content .watch {
        width: 17%;
    }
}
@media (max-width: 1000px) {
    .banner .slide .content .text {
        font-size: 65px;
        line-height: 78px;
    }
    .banner .next {
        left: 40px;
    }
    .banner .prev {
        right: 40px;
    }
}
@media (max-width: 991px) {
    .listMovies .list .card-film .content-film {
        display: none;
    }
    .listMovies .list .card-film {
        min-width: 40%;
    }
}
@media (max-width: 959px) {
    .banner .slide .content .watch {
        width: 24%;
    }
}
@media (max-width: 785px) {
    .listMovies .list .card-film {
        min-width: 40%;
    }
    .banner .slide .content .text {
        font-size: 50px;
        line-height: 60px;
        margin: 10px 0;
    }
    .banner .slide .content img {
        width: 50px;
    }
    .banner .next {
        display: none;
    }
    .banner .prev {
        display: none;
    }
}
@media (max-width: 767px) {
    .listMovies .list .card-film {
        min-width: 40%;
    }
}
@media (max-width: 679px) {
    .banner .slide .content .watch {
        width: 31%;
    }
}
@media (max-width: 526px) {
    .banner .slide .content .watch {
        width: 41%;
    }
}
@media (max-width: 575px) {
    .header a img {
        width: 80px;
    }
    .listMovies .title {
        padding-top: 10px;
    }
    .listMovies .title .main-title {
        font-size: 25px;
    }
}
@media (max-width: 397px) {
    .banner .slide .content .watch {
        width: 53%;
    }
}

/* responsive---> */
