.hero {
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
    justify-content: center;
    align-items: center;

    background-color: var(--gray);
    color: var(--primaryColor);

    text-align: start;
    padding-bottom: var(--space-lg);
}

.hero-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: var(--space-lg);
    align-items: start;
}

.hero-text,
.hero-image {
    color: var(--primaryColor);
}

.hero-text {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
    align-items: start;
    justify-content: center;
}

.hero-text h3,
.hero-text h4,
.hero-text ul,
.hero-text p {
    /* width: 50%; */
    margin: 0 auto;
    text-align: start;
    color: var(--middleColor);
}

.hero-text ul li {
    text-align: start;
    font-size: 1.1em;
}


/* @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ */
@media (max-width: 1024px) {

    .hero-container {

        padding-inline: var(--space-lg);
    }
}

/* @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ */

@media (max-width: 768px) {

    .hero-container {
        padding-inline: var(--space-lg);
    }

    .hero-text {
        width: 100%;
    }

    .hero-image {
        width: 100%;
    }

    .hero-image img {
        width: 90%;
        aspect-ratio: 1/1;
        margin: 0 auto;
    }
}

/* @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ */
@media (max-width: 425px) {
    .hero {
        padding-block: var(--space-md);
    }

    .hero h2 {
        width: 95%;
    }

    .hero a {
        font-weight: 300;
        font-size: medium;
    }

    .hero-container {
        flex-direction: column;
        gap: var(--space-lg);
        padding-inline: var(--space-lg);
    }

    .hero-text {
        width: 100%;
    }

    .hero-image {
        width: 100%;
    }

    .hero-image img {
        width: 80%;
        aspect-ratio: 1/0.5;
        margin: 0 auto;
    }
}