@keyframes slideUp {
    from {
        transform: translateY(0);
    }

    to {
        transform: translateY(-100%);
    }
}

@keyframes slideToViewFromBottom {
    from {
        transform: translateY(100%);
    }

    to {
        transform: translateY(0);
    }
}

@keyframes heroSlideUp {
    0% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-20px);
    }

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

@keyframes slideDown {
    from {
        transform: translateY(0);
    }

    to {
        transform: translateY(100%);
    }
}

@keyframes slideToViewFromTop {
    from {
        transform: translateY(-100%);
    }

    to {
        transform: translateY(0);
    }
}

@keyframes heroSlideDown {
    0% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(20px);
    }

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

@keyframes counterFill {
    from {
        height: 0;
    }

    to {
        height: 100%;
    }
}

@keyframes counterUnFill {
    from {
        height: 100%;
    }

    to {
        height: 0;
    }
}

.intro-slider {
    width: 100%;
    height: 100vh;
    overflow: hidden;
    position: relative;
}

.carousel-slides {
    width: 100%;
    height: 100%;
    position: relative;
}

.carousel-slide {
    display: flex;
    align-items: center;
    position: absolute;
    top: 33%;
    left: 0;
    width: 100%;
    max-width: 1200px;
    z-index: 999;

    transition: all 0.2s ease;
}

.carousel-slide .carousel-counter {
    display: grid;
    grid-template-columns: 4px;
    grid-gap: 20px;
    margin-right: 38px;
}

.carousel-slide .carousel-counter .counter {
    width: 4px;
    height: 80px;
    cursor: pointer;

    background: rgb(255, 255, 255, 0.2);
}

.carousel-slide .carousel-counter .counter .counter-fill {
    background: #fff;
    opacity: 1;
    width: 100%;

    transition: all 0.2s ease;
}

.carousel-slide .carousel-counter-mobile {
    display: none;
}

.hero {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
}

.hero.sale .sale {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr 1fr 1fr 1fr;
    grid-column-gap: 19.5px;
}

.hero .sale {
    display: none;
}

.hero .description {
    display: none;
}

.hero.hasDescription .description {
    margin-top: 20px;
    display: block;
    font-style: normal;
    font-weight: 500;
    font-size: 31px;
    line-height: 38px;
    color: #ffffff;
    text-shadow: 10px 10px 30px rgba(0, 0, 0, 0.4);
}

.hero .sale span {
    font-family: 'Montserrat', sans-serif;
    font-style: normal;
    font-weight: 600;
    font-size: 16px;
    line-height: 21px;
    text-transform: uppercase;
    color: var(--light-purple);
}

.hero .subtitle {
    font-family: 'Montserrat', sans-serif;
    font-style: normal;
    font-weight: 600;
    font-size: 16px;
    line-height: 21px;
    letter-spacing: -0.015em;
    color: #fff;
    max-width: 457px;
}

.hero .subtitle i {
    color: #c2f1c9;
}

.hero h1.title {
    font-family: 'NEXT ART', 'Gilroy', sans-serif;
    font-style: normal;
    font-weight: 600;
    font-size: 68px;
    line-height: 74px;
    letter-spacing: 0.5px;
    color: #fff;
    margin-top: 20px;
}

.btn-container {
    display: flex;
    margin-top: 30px;
}

.btn-outline {
    border-radius: 40px;
    font-family: Montserrat, sans-serif;
    font-size: 21px;
    font-style: normal;
    font-weight: 600;
    padding: 15px 25px;
}

.hero .btn-arrow {
    display: none;
}

.hero .title span {
    color: #c2f1c9;
}

.hero .title-mobile,
.hero .subtitle-mobile {
    display: none;
}

.carousel-images {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    min-height: 650px;
    overflow: hidden;

    pointer-events: none;
}

.carousel-images .image {
    position: absolute;
    top: 0;
    left: 0;

    width: 100%;
    height: 100vh;
    min-height: 650px;

    object-fit: cover;

    opacity: 1;
}

.carousel-mobile {
    display: none;
}

@media (max-width: 1200px) {
    @keyframes slideUp {
        from {
            transform: translateX(0);
        }

        to {
            transform: translateX(-100%);
        }
    }

    @keyframes slideToView {
        from {
            transform: translateX(100%);
        }

        to {
            transform: translateX(0);
        }
    }

    @keyframes heroSlideUp {
        0% {
            transform: translateX(0);
            /*opacity: 1;*/
        }

        50% {
            transform: translateX(-20px);
            /*opacity: 0;*/
        }

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

    .carousel-mobile {
        display: block;
    }

    .carousel-slides,
    .carousel-images {
        display: none !important;
    }

    .carousel-mobile-slide {
        padding: 5vw 5vw 167px;
        height: 100%;

        display: flex;
        flex-direction: column;

        justify-content: flex-end;
        align-items: flex-start;
    }

    .swiper-pagination.swiper-pagination-clickable.swiper-pagination-bullets.swiper-pagination-horizontal {
        bottom: 58px;
    }

    .carousel-mobile-slide .sale {
        display: grid;
        grid-template-columns: 1fr 1fr 1fr 1fr;
        grid-column-gap: 10px;
        margin-bottom: 10px;
    }

    .carousel-mobile-slide .sale span {
        font-family: 'Montserrat', sans-serif;
        font-style: normal;
        font-weight: 700;
        font-size: 16px;
        line-height: 18px;
        color: var(--light-purple);
        text-transform: uppercase;
    }

    .carousel-mobile-slide .description-mobile {
        margin-top: 10px;
        display: block;
        font-style: normal;
        color: #ffffff;
        text-shadow: 10px 10px 30px rgba(0, 0, 0, 0.4);

        font-weight: 600;
        font-size: 18px;
        line-height: 21px;
    }

    .btn-container {
        margin-top: 20px;
    }

    .carousel-mobile-slide .title-mobile {
        font-family: 'NEXT ART', 'Gilroy', sans-serif;
        color: #fff;
    }

    .carousel-mobile-slide .title-mobile span {
        color: #c2f1c9;
    }

    .carousel-mobile-slide .subtitle-mobile {
        margin-top: 20px;
        color: #fff;
        font-weight: 500;
        font-size: 13px;
        line-height: 16px;
    }

    .carousel-mobile-slide .subtitle-mobile-top {
        margin-bottom: 20px;
        color: #fff;
        font-weight: 500;
        font-size: 13px;
        line-height: 16px;
    }

    .carousel-mobile-slide .subtitle-mobile i {
        color: #c2f1c9;
    }

    .carousel-mobile-slide .title-mobile br,
    .carousel-mobile-slide .subtitle-mobile br {
        display: block !important;
    }

    .carousel-mobile {
        height: 100vh;
        min-height: 600px;
    }

    .carousel-slide {
        height: 100%;
        position: relative;
        top: 0;
        flex-direction: column;
        justify-content: flex-end;
        padding-bottom: 58px;
    }

    .carousel-slide .carousel-counter {
        display: none;
    }

    .carousel-slide .carousel-counter-mobile {
        margin-top: 58px;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .carousel-slide .carousel-counter-mobile .counter {
        width: 10px;
        height: 10px;

        background-color: rgba(255, 255, 255, 0.2);
        border-radius: 100px;
    }

    .carousel-slide .carousel-counter-mobile .counter.active {
        background-color: white;
    }

    .carousel-slide .carousel-counter-mobile .counter:not(:first-child) {
        margin-left: 20px;
    }

    .carousel-mobile-slide.sale .btn-container {
        display: flex;
        align-items: center;
        margin-top: 20px;
    }

    .carousel-mobile-slide .btn-outline {
        padding: 10px 15px;
        font-size: 16px;
        font-style: normal;
        font-weight: 600;
        line-height: normal;
        margin-top: 25px;
    }
}
