@import "../hero-slide/hero-slide.css";
@import "../hero-slide-video/hero-slide-video.css";

.hero {
    color: var(--light-color);
    overflow: hidden;
    position: relative;
    width: 100%;
}

.hero.no-slider .hero-slide__content {
    padding-bottom: 83px;
}

/*Medium variant*/
.hero.hero--medium .hero-slide .hero-slide__content {
    padding-bottom: 28px;
}
.hero--medium .hero-slide img {
    max-height: 500px;
}

/*Smaller variant*/
.hero.hero--smaller .hero-slide .hero-slide__content {
    padding-bottom: 45px;
}

.hero--smaller .hero-slide img {
    max-height: 400px;
}

.hero .flickity-button {
    display: none;
}

.hero .flickity-page-dots {
    bottom: 84px;
    display: flex;
    gap: 9px;
    justify-content: center;
    align-items: center;
}

.hero .flickity-page-dots .dot {
    background: var(--light-color);
    border-radius: 100px;
    height: 5px;
    opacity: 0.2;
    width: 5px;
    margin: 0;
}

.hero .dot.is-selected {
    background: var(--brand-color-yellow);
    height: 8px;
    width: 8px;
}

.hero__content-slider {
    align-items: center;
    display: none;
    justify-content: center;
    gap: 15px;
}

.hero__content-slider-button {
    background: grey;
    cursor: pointer;
    height: 3px;
    width: 20px;
}

.hero__content-slider-button--active {
    background: var(--brand-color-yellow);
    height: 4px;
}

.hero__buttons {
    display: none;
}

.hero .scroll-down {
    display: none;
}

.paragraph--type--hero-slide::after {
    content: "";
    inset: 0;
    opacity: 0.35;
    position: absolute;
    z-index: 1;
    pointer-events: none;
}

.hero-slide {
    color: inherit;
}

.hero-slide__background,
.hero-slide-video__background {
    background-size: cover;
    position: relative;
}

.hero-slide__background::after,
.hero-slide-video__background::after {
    background: transparent;
    content: "";
    display: block;
    opacity: 0.3;
    position: absolute;
    inset: 0;
}

.hero-slide-video__background::after {
    opacity: 0.1;
}

.hero-slide__background picture,
.hero-slide-video__background picture {
    position: relative;
}

.hero-slide__background picture::after,
.hero-slide-video__background picture::after {
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.20) 0%, rgba(0, 0, 0, 0.20) 100%), linear-gradient(0deg, rgba(0, 0, 0, 0.40) -18.36%, rgba(0, 0, 0, 0.00) 49.22%), linear-gradient(5deg, rgba(0, 0, 0, 0.80) -17.73%, rgba(0, 0, 0, 0.00) 95.82%);
    content: " ";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-slide__background img,
.hero-slide-video__background img {
    display: block;
    mix-blend-mode: soft-light;
    object-fit: cover;
    width: 100vw;
}

.hero-slide-video__container-iframe {
    height: 100%;
    overflow: hidden;
    width: 100%;
}

.hero-slide-video__externo {
    height: 100%;
    left: 50%;
    position: absolute;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 1290px;
}

.hero-slide-video__background video {
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    width: 100%;
}

.hero-slide[data-display="regular"] .hero-slide__title {
    color: #fff;
    font-size: 36px;
    font-weight: 300;
    line-height: 40px;
    letter-spacing: -1.44px;
}

@media only screen and (min-width: 768px) {
    .hero .flickity-page-dots {
        bottom: 112px;
    }

    .hero:not(.no-slider) .hero__buttons {
        align-items: center;
        display: flex;
        height: 61px;
        gap: 20px;
        position: absolute;
        left: 24px;
        bottom: 85px;
        width: 144px;
    }

    .hero__button {
        background: none;
        border: 0;
        display: flex;
        gap: 19px;
        color: #fff;
        font-family: "Karla", serif;
        font-size: 18px;
        font-weight: 400;
        line-height: 61px;
        letter-spacing: -0.9px;
        align-items: center;
        justify-content: space-between;
        height: 100%;
        padding: 0;
        width: 100%;
        cursor: pointer;
    }
    .hero__button--prev {
        opacity: 0.6;
    }

    .hero__button::after {
        align-items: center;
        justify-content: center;
        display: flex;
        font-family: "Font Awesome\ 5 Free";
        font-weight: 600;
        width: 24px;
    }

    .hero__button--prev::after {
        content: "\f104";
        order: -1;
    }

    .hero__button--next::after {
        content: "\f105";
    }
    .hero__button:hover::after,
    .hero__button:hover {
        color: var(--brand-color-yellow);
        opacity: 1;
    }

    .hero.no-slider .hero-slide__content {
        padding-bottom: 96px;
    }

    /*Medium variant*/
    .hero.hero--medium .hero-slide .hero-slide__content {
        padding-bottom: 63px;
    }
    .hero--medium .hero-slide img {
        max-height: 700px;
    }

    /*Smaller variant*/
    .hero.hero--smaller .hero-slide .hero-slide__content {
        padding-bottom: 71px;
    }

    .hero--smaller .hero-slide img {
        max-height: 550px;
    }

    .hero--smaller .hero-slide .hero-slide__title {
        font-size: 52px;
        letter-spacing: -1.56px;
        line-height: 52px;
    }

    .hero--smaller .hero-slide .hero-slide__body {
        font-size: 16px;
        letter-spacing: 0.16px;
        line-height: 26px;
    }

    .hero__title {
        font-size: 100px;
        line-height: 100px;
    }

    .hero__background-title {
        font-size: 180px;
        left: -40px;
        line-height: 180px;
        top: -50px;
    }

    .hero__content-description h3 {
        font-size: 26px;
        line-height: 26px;
    }

    .hero__content-description p {
        font-size: 16px;
        line-height: 26px;
        margin: 20px 0;
    }

    .hero__link {
        font-size: 18px;
        line-height: 18px;
    }

    .hero__content-slider {
        display: flex;
        margin-bottom: 30px;
    }

    .hero .scroll-down {
        position: absolute;
        right: 72px;
        top: 50%;
        transform: translateY(-50%);
        display: flex;
        align-items: end;
    }

    .hero .scroll-down__line {
        height: 450px;
        width: 2px;
        background-color: rgba(255, 255, 255, 0.3);
    }

    .hero .scroll-down__line::before {
        content: "";
        background-color: var(--brand-color-yellow);
        display: inline-flex;
        width: 2px;
        height: 8.3%;
    }

    .hero .scroll-down__left-content {
        display: grid;
        grid-template-rows: 2fr 1fr;
        justify-content: center;
        align-items: center;
        row-gap: 20px;
        margin-right: 15px;
    }

    .hero .scroll-down__text {
        color: var(--light-color);
        font-size: 14px;
        font-style: normal;
        font-weight: 400;
        line-height: 0;
        writing-mode: vertical-rl;
        transform: rotateZ(180deg);
    }
    .hero-slide__background img,
    .hero-slide-video__background img {
        height: 930px;
    }

    .hero-slide-video__externo {
        width: 1830px;
    }
}

@media only screen and (min-width: 1024px) {
    .hero .flickity-page-dots {
        bottom: 123px;
    }
    .hero__buttons {
        left: 84px;
        bottom: 94px;
    }

    .hero.no-slider .hero-slide__content {
        padding-bottom: 75px;
    }

    /*Medium variant*/
    .hero.hero--medium .hero-slide .hero-slide__content {
        padding-bottom: 43px;
    }
    .hero--medium .hero-slide img {
        max-height: 500px;
    }

    /*Smaller variant*/
    .hero.hero--smaller .hero-slide .hero-slide__content {
        padding-bottom: 77px;
    }

    .hero--smaller .hero-slide img {
        max-height: 530px;
    }

    .hero__content-description {
        align-items: center;
        display: flex;
        flex-wrap: wrap;
        max-width: 100%;
    }

    .hero__content-description-wrapper {
        width: 50%;
    }

    .hero__content-description-wrapper:nth-child(2) {
        display: flex;
        justify-content: center;
    }

    .hero__content-slider {
        display: none;
    }

    .hero__content-slider--desktop {
        display: flex;
    }

    .hero .scroll-down__line {
        height: 370px;
    }
    .hero-slide__background img,
    .hero-slide-video__background img {
        height: 100vh;
    }
    .hero-slide-video__externo {
        width: 1610px;
    }
}

@media only screen and (min-width: 1366px) {
    /* .hero-slide__background img,
    .hero-slide-video__background img {
        height: 780px;
    } */
    .hero__title {
        font-size: 110px;
        line-height: 110px;
    }

    .hero__background-title {
        font-size: 200px;
        line-height: 200px;
    }

    .hero__content-description-wrapper:nth-child(2) {
        align-items: end;
        height: 100%;
    }

    .hero__content-slider--desktop {
        right: 15%;
        top: 30%;
    }

    .hero__buttons {
        left: 112px;
    }

    .hero.no-slider .hero-slide__content {
        padding-bottom: 109px;
    }

    /*Medium variant*/
    .hero.hero--medium .hero-slide .hero-slide__content {
        padding-bottom: 86px;
    }
    .hero--medium .hero-slide img {
        max-height: 600px;
    }

    /*Smaller variant*/
    .hero.hero--smaller .hero-slide .hero-slide__content {
        padding-bottom: 0;
        bottom: 50%;
        transform: translateY(50%);
    }

    .hero.hero--smaller .hero-slide .hero-slide__content.hero-slider__content-center {
        right: 50%;
        transform: translateX(50%) translateY(50%);
        width: 750px;
        padding: 0;
    }

    .hero--smaller .hero-slide img {
        max-height: 530px;
    }

    .hero--smaller .hero-slide .hero-slide__title {
        font-size: 80px;
        letter-spacing: -2.4px;
        line-height: 80px;
    }
    .hero--smaller .hero-slide .hero-slide__body {
        font-size: 18px;
        letter-spacing: 0.2px;
        line-height: 35px;
    }
    .hero-slide-video__externo {
        width: 1920px;
    }
}

@media only screen and (min-width: 1920px) {
    .hero-slide__background img,
    .hero-slide-video__background img {
        height: 100vh;
    }
    .hero .flickity-page-dots {
        bottom: 172px;
    }
    .hero__buttons {
        height: 86px;
        left: 158px;
        bottom: 130px;
    }

    .hero.no-slider .hero-slide__content {
        padding-bottom: 172px;
    }

    /*Medium variant*/
    .hero.hero--medium .hero-slide .hero-slide__content {
        padding-bottom: 95px;
    }
    .hero--medium .hero-slide img {
        max-height: 800px;
    }

    /*Smaller variant*/
    .hero.hero--smaller .hero-slide .hero-slide__content {
        padding-bottom: 88px;
        bottom: 0;
        transform: none;
    }
    .hero.hero--smaller .hero-slide .hero-slide__content.hero-slider__content-center {
        transform: translateX(50%);
        padding-bottom: 88px;
        bottom: 0;
    }
    .hero--smaller .hero-slide img {
        max-height: 640px;
    }

    .hero--smaller .hero-slide .hero-slide__title {
        font-size: 90px;
        letter-spacing: -2.7px;
        line-height: 90px;
    }

    .hero--smaller .hero-slide .hero-slide__body {
        font-size: 20px;
    }

    .hero .scroll-down__line {
        height: 600px;
    }
    .hero-slide-video__externo {
        width: 100%;
    }
}
