body {
    padding: 0;
}

main {
    display: flex;
    flex-direction: column;

    .home__collections__carousel__container {
        /*animation: homePosterTransform linear forwards;
        animation-timeline: view();
        animation-range: exit;*/

        .home__collections__carousel {
            display: flex;
            width: 100%;
            height: 100vh;
            overflow: hidden;
            border-radius: var(--border-radius-child, 0);
            position: relative;

            &::after {
                content: "";
                position: absolute;
                top: 0;
                bottom: 0;
                right: 0;
                left: 0;
                pointer-events: none;
                opacity: 66%;
                background-image: url("../../assets/home__black__gradient.svg");
                background-size: cover;
                background-position: bottom;
                background-repeat: no-repeat;
            }

            .home__collections__carousel__wrapper {
                overflow-y: auto;
                width: 100%;
                height: 100%;
                display: flex;
                scroll-behavior: smooth;
                scroll-snap-type: x mandatory;
                scrollbar-width: none;

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

                .home__collections__carousel__img {
                    min-width: 100%;
                    min-height: 100%;
                    height: 100%;
                    width: 100%;
                    display: flex;
                    scroll-snap-align: start;
                    position: relative;

                    img {
                        width: 100%;
                        height: 100%;
                        user-select: none;
                        object-fit: cover;
                    }
                }
            }

            .home__collections__carousel__title__container {
                position: absolute;
                left: 50%;
                bottom: 13%;
                translate: -50% 0;
                display: flex;
                flex-direction: column;
                z-index: 9;
                align-items: center;

                p,
                h1 {
                    color: var(--primary-color);
                    font-weight: 300;
                }

                p {
                    font-size: 1.5rem;
                }

                h1 {
                    font-size: 3.5rem;
                }

                .home__collections__carousel__discover__btn {
                    border-radius: 0;
                    width: fit-content;
                    font-size: 1.25rem;
                    padding: 0.75rem 0;
                    color: var(--primary-color);
                    gap: 1rem;
                    transition: .25s ease;
                    text-decoration: underline;
                    text-underline-offset: 0.25rem;

                    &:hover {
                        gap: 2.75rem;

                        .arrow::after {
                            rotate: 45deg;
                            height: 300%;
                        }

                    }

                    /*                 &::after {
                    background-color: var(--primary-color);
                    transition: width .3s ease;
                }

                .arrow {
                    rotate: 45deg;
                    transition: .3s ease;
                    width: .75rem;
                    height: .75rem;

                    [dir="rtl"] & {
                        transform: rotate(180deg);
                    }

                    &::before {
                        content: '';
                        width: 100%;
                        height: 100%;
                        border-width: 1.25px 1.25px 0 0;
                        border-style: solid;
                        border-color: var(--primary-color);
                        transition: .25s ease;
                        display: block;
                        transform-origin: 100% 0;
                    }


                    &:after {
                        content: '';
                        float: left;
                        position: relative;
                        top: calc(-100% + 1px);
                        width: 100%;
                        height: calc(100% - 1.25px);
                        border-width: 0 1.25px 0 0;
                        border-style: solid;
                        border-color: var(--primary-color);
                        transform-origin: 100% 0;
                        transition: .25s ease;
                    }
                } */
                }
            }

            .home__collections__carousel__tab__nav {
                position: absolute;
                left: 50%;
                translate: -50% 0;
                bottom: 7.25%;
                display: flex;
                justify-content: center;
                gap: .35rem;
                z-index: 9;

                span {
                    width: clamp(2.5rem, 5vw, 3.5rem);
                    cursor: pointer;
                    position: relative;
                    display: flex;
                    align-items: center;
                    height: 25px;
                    --progress: 0;

                    &::before {
                        content: '';
                        position: absolute;
                        display: block;
                        background-color: var(--primary-color);
                        height: 1px;
                        z-index: 9;
                        width: var(--progress);
                    }

                    &::after {
                        content: '';
                        height: 1px;
                        width: 100%;
                        background-color: rgba(255, 255, 255, .5);
                    }
                }
            }

            .home__collections__carousel__play__btn {
                position: absolute;
                right: 4%;
                bottom: 4%;
                aspect-ratio: 1/1;
                display: flex;
                transition: .175s ease;
                z-index: 9;
                color: var(--primary-color);

                &:active {
                    scale: .75;
                }
            }
        }
    }

    .home__logos__title {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 100%;
        height: 100px;
        font-size: 1.5rem;
    }

    .home__logos__slider {
        display: flex;
        white-space: nowrap;
        overflow: hidden;
        width: 100%;
        mask-image: linear-gradient(
            to right,
            rgba(0,0,0,0),
            rgba(0,0,0,1) 20%,
            rgba(0,0,0,1) 80%,
            rgba(0,0,0,0)
        );

        &:hover .home__logos {
            animation-play-state: paused;
        }

        .home__logos {
            display: inline-flex;
            align-items: center;
            animation: logoSlider 15s infinite linear;

            img {
                height: 75px;
                margin: 0 2rem;
            }
        }
    }
}

@media screen and (max-width: 768px) {
    .home__collections__carousel__title__container {
        width: 90%;


        p {
            font-size: 1.25rem !important;
        }

        h1 {
            font-size: 2rem !important;
        }

        .home__collections__carousel__discover__btn {
            font-size: 1rem !important;
        }
    }
}