.hero {
    display: flex;
    margin: auto auto 3rem;
    max-width: 1600px;
    position: relative;
}
.hero-card {
    bottom: -3rem;
    left: -4rem;
    max-width: 75%;
    padding: 1rem 2rem 2rem 2rem;
    position: absolute;
}
.hero-card:after {
    content: "";
    height: 100%;
    left: 0;
    position: absolute;
    top: 0;
    width: 100%;
    z-index: -1;
}
.hero-card-text {
    z-index: 2;
}
.hero-image {
    height: 70vh;
    margin: auto;
    max-width: 1440px;
    min-height: 750px;
    object-fit: cover;
    width: 100%;
    z-index: -2;
}
.hero-card h1,
.hero-card p {
    margin-left: auto;
    max-width: 90%;
    text-align: left;
    z-index: 3;
}
.hero-card p {
    font-size: var(--step-2);
}
@media (max-width: 1024px) {
    .hero-image {
        min-height: 550px;
    }
    .hero-card {
        align-items: center;
        bottom: 0;
        display: flex;
        left: 0;
        padding: 1rem;
    }
    .hero-card,
    .hero-card h1,
    .hero-card p {
        max-width: 100%;
    }
}
