.hero {
    /* text-align: center; */
    /* works on paragraphs heading etc */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    align-content: center;
    gap: 1rem;
    margin-top: 1rem;
}

.hero__img {
    /* display: inline-block; */
    /* in styles.css we gave img display of block , which is good in general but 
    text-align works only on inline elements so we change this display to inline */
    /* we can do it by using flex also , its better as we get access to gap property of flex too */
    border-radius: 50%;
    width: 6rem;
    height: 6rem;
}

.hero__subtitle {
    color: var(--clr-slate800);
    font-size: var(--size-base);
    line-height: 0.9;

}

.hero__title {
    text-align: center;
    color: var(--clr-slate600);
    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-slate600);
}

.hero__btn {
    font-size: var(--size-sm);
}

/* We can select by experimenting at which break points should the text/image size should increase or stay the same */

/*  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-5xl);
    }

    .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 {
        gap: 1.5rem;
    }

    .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 {
        gap: 2rem;
    }

    .hero__img {
        width: 10rem;
        height: 10rem;
    }

    .hero__subtitle {
        font-size: var(--size-4xl);

    }

    .hero__title {
        font-size: var(--size-9xl);
    }

    .hero__description {
        font-size: var(--size-xl);
    }

    .hero__btn {
        font-size: var(--size-xl);
    }
}

/*  2xl  */
/* @media (min-width : 1536px) {} */