.hero {
    position: relative;
    background-color: var(--color-secondary);
}

.hero:after,
.hero:before {
    left: 0;
    width: 100%;
    content: '';
    position: absolute;
}

.hero:after {
    bottom: 0;
    z-index: 3;
    height: 220px;
    background: linear-gradient(to bottom, rgba(5, 27, 43, 0) 0%, rgba(5, 27, 43) 40%, rgb(5, 27, 43) 100%);
}

.hero:before {
    top: 0;
    z-index: 1;
    height: 192px;
    background: linear-gradient(to top, rgba(5, 27, 43, 0) 0%, rgba(5, 27, 43, 0.475) 40%, rgba(5, 27, 43, 1) 100%);
}

.hero h1 {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    color: var(--color-white);
    margin-bottom: 0;
    font-size: 2.813rem;
    letter-spacing: 7px;
    line-height: 1;
    font-weight: normal;
    animation-delay: 1s;
}

.hero h1 em {
    color: var(--color-alternate);
}

.hero h1 strong {
    width: 100%;
    display: block;
    font-size: 1.25rem;
    font-family: var(--font-family-heading), sans-serif;
    font-style: italic;
    line-height: 1.5;
    margin-bottom: 12px;
    font-weight: normal;
    text-transform: none;
    letter-spacing: normal;
}

.hero-text {
    z-index: 4;
    width: 100%;
    padding: 30px 0;
    position: relative;
    text-align: center;
    color: var(--color-white);
}

.hero-text p:last-child {
    margin-bottom: 0;
}

.hero-text .button {
    padding: 12px 20px;
    animation-delay: 1.5s;
}

.hero-image {
    position: absolute;
    inset: 0;
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-holder {
    display: flex;
    min-height: 470px;
    position: relative;
    padding-top: 110px;
    flex-direction: column;
    justify-content: flex-end;
}

.hero-person {
    display: flex;
    height: 257px;
    bottom: 105px;
    position: absolute;
    justify-content: center;
    left: -20px;
    right: -20px;
    z-index: 2;
}

.hero-person img {
    display: block;
    height: 100%;
    width: 100%;
    object-fit: contain;
    object-position: center bottom;
}

body.admin-bar .hero {
    margin-top: 46px;
}

@media screen and (min-width: 768px) {
    .hero:after {
        height: 432px;
        background: linear-gradient(to bottom, rgba(5, 27, 43, 0) 0%, rgba(5, 27, 43, 0.475) 28.6%, rgb(5, 27, 43) 100%);
    }

    .hero h1 {
        font-size: 4.5rem;
        line-height: 1.15;
    }

    .hero h1 strong {
        font-size: 2.438rem;
        margin-bottom: 25px;
    }

    .hero-holder {
        min-height: 670px;
        height: calc( 100vh - 172px);
    }

    .hero-person {
        left: 0;
        right: 0;
        bottom: 0;
        height: 556px;
    }

    .hero-text {
        padding: 56px 0;
    }

    .hero-text .button {
        padding: 20px 30px;
    }

    body.admin-bar .hero-holder {
        height: calc( 100vh - 218px);
    }
}

@media screen and (min-width: 782px) {
    body.admin-bar .hero {
        margin-top: 32px;
    }

    body.admin-bar .hero-holder {
        height: calc( 100vh - 204px);
    }
}

@media screen and (min-width: 1280px) {
    .hero h1 {
        letter-spacing: 14px;
    }

    .hero-text {
        padding: 86px 0;
    }
}

@media screen and (min-width: 1920px) {
    .hero-person {
        height: 772px;
    }

    .hero-holder {
        min-height: 900px;
        padding-top: 127px;
    }
}