@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 #cursor {
    display: none;
} */

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

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

.hero--smaller .hero-slide .hero-slide__title {
    font-family: "Inter", serif, sans-serif;
    font-size: 38px;
    font-weight: 300;
    letter-spacing: -1.14px;
    line-height: 40px;
}
.hero--smaller .hero-slide .hero-slide__title strong {
    font-weight: 500;
}

.hero--smaller .hero-slide .hero-slide__body {
    font-size: 14px;
    font-weight: 400;
    letter-spacing: 0.14px;
    line-height: 20px;
}

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

/* .hero .flickity-page-dots {
    display: none;
} */
.hero .flickity-page-dots {
    bottom: 50px;
    display: block;
}

.hero .flickity-page-dots .dot {
    background: rgba(183, 202, 219, 0.6);
    border-radius: 0;
    height: 6px;
    opacity: 1;
    width: 9px;
    transform: skew(-20deg);
    margin: 0 2px;
}

.hero .dot.is-selected {
    background: var(--brand-color-orange);
    width: 32px;
}

.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-orange);
    height: 4px;
}

.hero__buttons {
    display: none;
    gap: 8px;
    pointer-events: none;
    position: absolute;
    bottom: 140px;
    left: 60px;
    z-index: 1;
}

.hero__button--prev,
.hero__button--next {
    background: rgba(183, 202, 219, 0.3);
    border-radius: 100px;
    align-items: center;
    cursor: pointer;
    display: flex;
    height: 60px;
    justify-content: center;
    pointer-events: auto;
    width: 60px;
}
.hero__button--prev:hover,
.hero__button--next:hover {
    background: var(--brand-color-orange);
}

.hero__button--prev svg,
.hero__button--next svg {
    height: 16px;
    position: relative;
    width: 16px;
}

.hero__button--prev svg {
    transform: rotate(180deg);
}

.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-video,
.hero-slide {
    display: grid;
    color: inherit;
}

.hero:not(.hero--smaller) .hero-slide__background,
.hero:not(.hero--smaller) .hero-slide-video__background {
    position: relative;
    background: linear-gradient(0deg, rgba(0, 0, 0, 1) 30%, rgba(0, 0, 0, 0.3) 45%, transparent 50%), linear-gradient(90deg, transparent 40%, rgba(0, 0, 0, 0.4) 80%);
    height: 650px;
}

.hero--smaller .hero-slide__background,
.hero--smaller .hero-slide-video__background {
    position: relative;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.3) 30%, transparent 40%);
}

.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::before,
.hero-slide-video__background picture::before {
    background: linear-gradient(180deg, rgba(13, 18, 27, 0.70) 0%, rgba(13, 18, 27, 0) 100%);
    content: " ";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 15rem;
    z-index: 1;
}

.hero-slide__background picture::after,
.hero-slide-video__background picture::after {
    background: linear-gradient(180deg, rgba(13, 18, 27, 0) 0%, rgba(13, 18, 27, 0.70) 100%);
    content: " ";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 15rem;
    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:not(.hero--smaller) .hero-slide__background img,
.hero:not(.hero--smaller) .hero-slide-video__background img {
    height: 70%;
}

.hero-slide-video__container-iframe {
    position: absolute;
    top: 0;
    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: 60px;
    }
    .hero:not(.no-slider) .hero__buttons {
        display: flex;
    }

    /*Smaller variant*/
    .hero--smaller .hero-slide .hero-slide__content {
        padding: 0 93px 94px;
    }

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

    .hero:not(.hero--smaller) .hero-slide__background,
    .hero:not(.hero--smaller) .hero-slide-video__background {
        background: linear-gradient(0deg,rgba(0,0,0,0.3) 25% ,transparent 50%), linear-gradient(90deg, transparent 40%, rgba(0, 0, 0, 0.4) 80%);
        height: fit-content;
    }
    .hero--smaller .hero-slide__background,
    .hero--smaller .hero-slide-video__background {
        background: linear-gradient(0deg,rgba(0,0,0,0.3) 25% ,transparent 50%), linear-gradient(90deg, transparent 40%, rgba(0, 0, 0, 0.4) 80%);
    }

    .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__align--center::after {
        position: absolute;
        left: 25px;
        bottom: 23px;
        background: url(../../images/parallelogram-G.svg) center no-repeat;
        background-size: contain;
        content: " ";
        display: inline-block;
        height: 40px;
        width: 49px;
    }
    .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-orange);
        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:not(.hero--smaller) .hero-slide__background img,
    .hero:not(.hero--smaller) .hero-slide-video__background img {
        height: 930px;
    }

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

@media only screen and (min-width: 1024px) {
    /* .hero:not(.no-slider) {
        cursor: none;
    } */

    /* .hero:not(.no-slider) #cursor {
        background-image: url(../../images/hero-slider-cursor-purple.svg);
        background-size: cover;
        height: 100px;
        width: 100px;
        position: absolute;
        display: block;
        pointer-events: none;
        z-index: 1;
        cursor: none;
        transform: rotate(0deg);
        transition: transform 350ms cubic-bezier(0.4,0,0.2,1);
    }

    .hero:not(.no-slider) #cursor.cursor--left {
        transform: rotate(-180deg);
    } */

    /* .hero:not(.no-slider) .hero-slide,
    .hero:not(.no-slider) .hero-slide-video {
        cursor: initial;
    } */
    .hero:not(.no-slider) .hero-slide__background, .hero:not(.no-slider) .hero-slide-video__background {
        overflow: hidden;
        transform: skew(-3deg);
        height: 100vh;
        width: 96.8vw;
    }

    .hero .flickity-page-dots {
        bottom: 62px;
    }
    .hero__buttons {
        bottom: 62px;
        left: 82px;
    }

    /* .hero .flickity-button {
        background: var(---brand-color-orange);
        color: var(--light-color);
        display: block;
        height: 75px;
        padding: 25px;
    }

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

    .hero .flickity-button::after {
        align-items: center;
        background: var(---brand-color-orange);
        color: var(--light-color);
        display: flex;
        font-family: "Font Awesome\ 5 Free";
        font-size: 25px;
        font-weight: 600;
        height: 100%;
    }

    .hero button.previous::after {
        content: "\f104";
        justify-content: flex-end;
    }

    .hero button.next::after {
        content: "\f105";
        justify-content: flex-start;
    }

    .hero button.previous {
        border-radius: 50% 0 0 50%;
        left: auto;
        right: 25%;
        top: 30%;
    }

    .hero button.next {
        border-radius: 0 50% 50% 0;
        right: 22%;
        top: 30%;
    } */

    /*Smaller variant*/
    .hero--smaller .hero-slide .hero-slide__content {
        padding: 0 107px 62px;
    }

    .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:not(.hero--smaller) .hero-slide__background img,
    .hero:not(.hero--smaller) .hero-slide-video__background img {
        height: 100vh;
    }
    .hero:not(.no-slider) .hero-slide__background picture,
    .hero:not(.no-slider) .hero-slide-video__background picture {
        position: absolute;
        left: -2vw;
    }
    .hero:not(.no-slider) .hero-slide__background img,
    .hero:not(.no-slider) .hero-slide-video__background img {
        height: 100vh;
        transform: skew(3deg);
    }
    .hero-slide-video__externo {
        width: 1610px;
        transform: translate(-50%, -50%) skew(3deg);
    }
    .hero-slide-video__background video {
        transform: skew(3deg);
        left: -2vw;
        width: 102vw;
    }
}

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

    /* .hero:not(.no-slider) #cursor {
        height: 120px;
        width: 120px;
    } */
    .hero__align--center::after {
        height: 50px;
        width: 59px;
    }

    .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: 135px;
    }

    /*Smaller variant*/
    .hero--smaller .hero-slide .hero-slide__content {
        padding: 0 137px 86px;
    }

    .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;
    }
    .hero:not(.no-slider) .hero-slide__background img, .hero:not(.no-slider) .hero-slide-video__background img {
        width: 101vw;
    }
}

@media only screen and (min-width: 1920px) {
    .hero:not(.no-slider) .hero-slide__background, .hero:not(.no-slider) .hero-slide-video__background {
        width: 94vw;
    }
    .hero-slide__background img,
    .hero-slide-video__background img {
        height: 100vh;
    }
    /*Smaller variant*/
    .hero--smaller .hero-slide .hero-slide__content {
        padding: 0 180px 90px;
    }

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

    .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%;
    }
    .hero .flickity-page-dots {
        bottom: 58px;
    }
    .hero__buttons {
        bottom: 58px;
        left: 156px;
    }
}
