/* ------- General Settings ------- */

.hero {
    position: relative;
    width: calc(100% + var(--block-list-padding) * 2);
    height: 100vh;
    justify-content: center;
    display: flex;
}

/* ------- Text Block ------- */

.hero__text-container {
    position: absolute;
    bottom: 100px;
    text-align: center;
    color: var(--white);
    z-index: 6;
    line-height: 32px;
    width: 80%;
}

.hero__heading {
    font-size: var(--font-size-jumbo);
    line-height: var(--heading-line-height);
    margin: 0;
    font-weight: normal;
}
.hero__heading-hide {
    display: none;
}

.hero__pre-heading {
    text-transform: uppercase;
    font-weight: normal;
    font-size: var(--font-size-pre-heading);
    letter-spacing: 0.3em;
    line-height: 1;
    opacity: 0.8;
    color: white;
    margin-top: 0;
    display: block;
}

.hero__text {
    max-width: var(--text-column-max-width);
    margin: 0 auto;
}

.hero__text p {
    font-size: 1.25rem;
}

.typed-wrap {
    font-weight: bold
}


@media screen and (max-width: 1300px) {
    .hero__heading {
        font-size: var(--font-size-mobile-jumbo);
    }
    .typed-wrap {
        display: block;
    }
    .hero__pre-heading {
        margin-bottom: 1rem;
    }
    .hero__text p {
        line-height: 1.4rem;
        font-size: 1rem;
    }
}

.typed-cursor {
    color: rgba(255,255,255,0.5);
    font-weight: lighter;
}

.hero__button-wrap {
    margin-top: 30px
}

.hero__button-wrap .button--transparent {
    color: inherit;
    border-color: inherit;
}

/* ------- Media Block ------- */

.hero__media-container,
.hero__figure {
    height: 100%;
    width: 100%;
}
.hero__figure-image {
    object-fit: cover;
    height: 100%;
    width: 100%;
}

/* ------- Overlay ------- */

.hero__media-container::after {
    content: "";
    opacity: 0.5;
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    z-index: 5;
    background: black;
    transition: opacity 0.4s ease;
}

/* ------- Scroll Icon ------- */

.icon-scroll {
    position: absolute;
    bottom: 30px;
    z-index: 9;
    left: 50%;
    animation-duration: 2.2s;
    animation-iteration-count: infinite;
    animation-name: scroll;
    color: white;
}
@keyframes scroll {
    from {
        opacity:0;
        bottom: 35px;
        margin-left: -11px;
    }
    30%, 35% {
        opacity:1;
        bottom: 25px;
        font-size: 1.1rem;
        margin-left: -11px;
    }
    to {
        opacity: 0;
        bottom: 0;
        font-size: 0.5rem;
        margin-left: -5px;
    }
}