.hero {
    background-color: var(--color-gray-200);
    overflow: hidden;
    padding: 0;
    position: relative;
}

.hero-inner {
    position: relative;
    background-color: rgb(255,255,255,0.7);
}

.hero-text {
    text-align: center;
    padding-top: 100px;
    max-width:  600px;
    padding-bottom: clamp(80px, 140px, 20%);
}

.hero-subheading {
    font-family: Roboto;
    color: var(--color-secondary-dark);
    margin-top: var(--spacing-sm);
    font-size: clamp(1.2rem, 2vw, 1.6rem);
    line-height: clamp(1.4rem, 1.6rem, 1.6rem);
}

.hero-cta {
    margin-top: var(--spacing-md-lg);
}

.hero-photo {
    position: absolute;
    right: -100px;
    top: 0;
    width: clamp( 500px, 50%, 50%);
}


@media screen and (min-width: 600px) {

    .hero-text {
        text-align: left;
    }

    .hero-photo {
        width: clamp( 600px, 50%, 50%);
    }

}

@media screen and (min-width: 1024px) {

    .hero-inner {
        position: relative;
        background-color: transparent;
    }

}

.hero-photo img {
    right: 0;
    top: 0;
    position: absolute;
    width: 100%;
}

.photo-fade {
    background-image: linear-gradient(rgb(255, 255, 255), rgb(255, 255, 255, 0));
    width: 100%;
    height: 100px;
    position: absolute;
    top: 0;
    right: 0;
}