.hero {
    text-align: center;
    display: flex; /* fix hero image alignment and access to gap property */
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    margin-top: 2rem;
}

.hero__img {
    border-radius: 50%;
    width: 6rem;
    height: 6rem;
    object-fit: cover;
}

.hero__subtitle {
    color: var(--clr-text);
    font-size: var(--size-base);
    line-height: 1;
}

.hero__title {
    color: var(--clr-header);
    text-transform: uppercase;
    font-size: var(--size-4xl);
    letter-spacing: -0.05rem;
    line-height: 0.9;
}

.hero__description {
    max-width: 60ch;
    font-size: var(--size-sm);
    color: var(--clr-text);
}

/* .hero__btn {
    text-transform: capitalize;
    font-size: var(--size-sm);
} */

/* xs */
@media (min-width: 475px) {
    .hero {
        gap: 1.5rem;
    }
    
    .hero__img {
        width: 6.5rem;
        height: 6.5rem;
    }
    
    .hero__subtitle {
        font-size: var(--size-lg);
    }
    
    .hero__title {
        font-size: var(--size-4xl);
    }
    
    .hero__description {
        font-size: var(--size-base);
    }
    
    .hero__btn {
        font-size: var(--size-base);
    }
}

/* sm */
/* @media (min-width: 640px) */

/* md */
/* @media (min-width: 768px)*/

/* lg */
@media (min-width: 1024px) {
    .hero__img {
        width: 8rem;
        height: 8rem;
    }
    
    .hero__subtitle {
        font-size: var(--size-2xl);
    }
    
    .hero__title {
        font-size: var(--size-7xl);
    }
    
    .hero__description {
        font-size: var(--size-lg);
    }
    
    .hero__btn {
        font-size: var(--size-lg);
    }
}

/* xl */
@media (min-width: 1280px) {
    .hero {
        margin-top: 6rem;
    }

    .hero::after {
        content: '';
        display: block;
        margin-bottom: 5rem;
    }

    .hero__img {
        width: 10rem;
        height: 10rem;
    }
    
    .hero__subtitle {
        font-size: var(--size-4xl);
    }
    
    .hero__title {
        font-size: var(--size-8xl);
    }
    
    .hero__description {
        font-size: var(--size-xl);
    }
    
    .hero__btn {
        font-size: var(--size-xl);
    }
}

/* 2xl */
/* @media (min-width: 1536px) */