:root {
    --hero-bg-left: url("/assets/img/header-left.png");
    --hero-bg-right: url("/assets/img/header-right.png");
    --header-content-bg: url("/assets/img/education-header-2.png");
    --hero-height: 30rem;
    --header-width: 100%;
    --header-height: 445px;
    --hero-dark-bg: none;
    --hero-gradient-light: linear-gradient(to bottom, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.5) 95%);
    --hero-gradient-dark: linear-gradient(to bottom, rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0.5) 95%);
}

:root[dark] {
    --hero-bg-left: transparent;
    --hero-bg-right: transparent;
    --hero-dark-bg: var(--background-alt-color);
}

.hero {
    background-image: var(--hero-bg-left);
    background-color: var(--hero-dark-bg);
    background-repeat: no-repeat;
    background-size: auto 100%;
    background-position: left center;
    width: 100%;
    margin: 0 auto;
}

.hero .hero-inner {
    background-image: var(--hero-bg-right);
    background-color: var(--hero-dark-bg);
    background-repeat: no-repeat;
    background-size: auto 100%;
    background-position: right center;
    display: flex;
    justify-content: center;
    height: var(--hero-height);
    width: 100%;
}

@media (min-width: 576px) {
    .hero .hero-inner {
        height: 35rem;
    }
}

.hero .hero-inner .header-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    background: var(--hero-gradient-light), var(--header-content-bg);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: auto 100%;
    width: var(--header-width);
    min-height: var(--header-height);
    text-align: center;
    position: relative;
    padding: 10px 0;
}

:root[dark] .hero .hero-inner .header-content {
    background: var(--hero-gradient-dark), var(--header-content-bg);
}

.hero .hero-inner .header-content > div {
    display: flex;
    text-align: center;
    align-items: center;
    width: max-content;
    gap: 20px 5px;
}

.hero .hero-inner .header-content .hero_description {
    font-size: 21px;
    color: var(--link-color);
    font-weight: 600;
    text-align: center;
    max-width: 82vw;
}

.hero .hero-inner .header-content .hero_subscribe {
    width: 450px;
}

@media only screen and (max-width: 1140px) {

    .hero .hero-inner .header-content > div {
        flex-direction: column;
    }
    .hero .hero-inner .header-content .hero_subscribe {
        max-width: 440px;
    }

    @media only screen and (max-width: 1024px) {
        .hero .hero-inner .header-content .hero_subscribe {
            max-width: 82vw;
            margin-top: 24px;
            flex-direction: column;
        }

        .hero .hero-inner .header-content .hero_description {
            font-size: inherit;
        }
    }
}

.hero_subscribe .subscribe-form {
    position: relative;
    border-radius: 2px;
    background-color: var(--background-color);
}

.screen-reader-text {
    clip: rect(1px, 1px, 1px, 1px);
    height: 1px;
    overflow: hidden;
    position: absolute !important;
    width: 1px;
    word-wrap: normal !important;
}

.hero_subscribe .subscribe-email {
    width: 100%;
    height: 70px;
    padding: 20px;
    font-size: 16px;
    line-height: 21px;
    border: 2px solid rgba(0, 0, 0, 0);
    border-radius: 2px;
    outline: 0;
    color: var(--heading-font-color);
    background-color: rgba(0, 0, 0, 0);
    transition: all .25s ease;
}

.hero_subscribe .subscribe-email::placeholder {
    opacity: .6;
    color: var(--text-alt-color)
}

.hero_subscribe .subscribe-email:focus {
    border-color: var(--brand-color)
}

.hero_subscribe button,
.hero_subscribe input {
    overflow: visible;
}

.hero_subscribe .subscribe-button {
    display: inline-block;
    padding: 18px 26px;
    font-size: 16px;
    font-weight: 700;
    text-decoration: none;
    border-radius: 2px;
    border: none;
    outline: none;
    cursor: pointer;
    transition: all .25s;
    color: var(--white);
    background-color: var(--button-background-color);
    position: absolute;
    top: 6px;
    right: 6px;
    overflow: visible;
    text-transform: none;
}

.hero_subscribe .subscribe-button:hover{
    background-color: var(--button-background-hover);
}

@media only screen and (max-width: 1024px) {
    .hero_subscribe {
        margin-top: 24px
    }
}

@media only screen and (max-width: 576px) {
    .hero_subscribe {
        margin-top: 20px
    }

    .hero_subscribe .subscribe-form {
        display: flex;
        flex-direction: column;
        padding: 6px
    }

    .hero_subscribe .subscribe-email {
        height: 56px;
        margin-bottom: 4px
    }

    .hero_subscribe .subscribe-button {
        position: relative;
        top: 0;
        right: 0
    }
}