.hero {
    transform: none !important;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    height: var(--safe-height);
    min-height: var(--safe-height);
    padding: 0 1rem;
    background-image: url("../imgs/og/og-image.webp");
    background-size: cover;
    background-position: 18.4%;
    background-repeat: no-repeat;
    position: relative;
    color: white;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.65);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 600px;
    margin: auto;
}

.hero h2 {
    margin-bottom: 3rem;
}

.hero .underline {
    display: block;
    height: 3px;
    width: 80%;
    background-color: var(--accent);
    margin: auto;
    margin-top: -1rem;
    margin-bottom: 2rem;
}

@media (min-width: 768px) {
    .hero {
        background-position: center;
    }

    .hero .underline {
        display: block;
        height: 3px;
        width: 80%;
        background-color: var(--accent);
        margin: 0.5rem auto 0;
        margin-top: -1rem;
        margin-bottom: 3rem;

    }
}