@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-size: 38px;
    font-weight: 300;
    letter-spacing: -1.14px;
    line-height: 40px;
}
.hero--smaller .hero-slide .hero-slide__title strong {
    font-weight: 900;
}

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

.hero__buttons {
    align-items: center;
    background: var(--brand-color-pink);
    border-radius: 50%;
    display: none;
    height: 100px;
    justify-content: center;
    position: absolute;
    right: 20%;
    top: 20%;
    width: 100px;
}

.hero__button {
    background: none;
    border: 0;
    color: #fff;
    height: 100%;
    padding: 0;
    width: 100%;
    cursor: pointer;
}

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

.hero__button--prev::after {
    content: "\f104";
    justify-content: flex-end;
}

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

.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::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-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: 50px;
        display: block;
    }

    .hero .flickity-page-dots .dot {
        background: rgba(255, 255, 255, 0.3);
        border-radius: 0;
        height: 5px;
        opacity: 1;
        width: 30px;
    }

    .hero .dot.is-selected {
        background: var(--brand-color-blue);
        height: 7px;
    } */

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

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

    .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-pink);
        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:not(.no-slider) {
        cursor: none;
    }

    .hero:not(.no-slider) #cursor {
        background: var(--brand-color-blue) url(../../images/cursor-arrow.svg) no-repeat center;
        background-size: 20px;
        border-radius: 50%;
        height: 80px;
        width: 80px;
        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: none;
    }

    .hero .flickity-button {
        background: var(--brand-color-pink);
        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-pink);
        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-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:not(.no-slider) #cursor {
        height: 120px;
        width: 120px;
    }

    .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 {
        top: 15%;
    }

    /*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;
    }
}

@media only screen and (min-width: 1920px) {
    .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%;
    }
}
