.about {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.about__content {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.about__title {
    font-size: var(--size-2xl);
    color: var(--clr-light);
}

.about__description {
    max-width: 60ch;
    font-size: var(--clr-sm);
    color: var(--clr-slate600);
}

.about__hr {
    border-color: var(--clr-slate800);
}

.about__subtitle {
    font-size: var(--size-lg);
    color: var(--clr-slate400);
}

.about__ul {
    display: flex;
    /* we are giving it display flex only to use the gap property */
    flex-direction: column;
    gap: 1em;
    list-style-type: '\1F44D';
    /* enter unicode of emoji in list-style-type */
    padding-left: 1em;
    /* border: 1px solid red; */

    /* after making .about_ul-container flex */
    flex: 1;
}

.about__list {
    font-size: var(--size-sm);
    color: var(--clr-slate600);
    /* giving space between thumbs up and text is tricky due to working of ul */
}

.about__list::before {
    /* content: "HI "; */
    content: "";

    /* for margin to work we must have content property defined */
    margin-left: 0.5em;
    /* border: 1px solid red; */
}

.about__ul-container {
    display: flex;
    /* we cud use gap to separate two lists but its better to use flex:1 */
}

/*  xs  */
@media (min-width : 475px) {
    .about {
        gap: 1.5rem;
    }

    .about__content {
        gap: 1.5rem;
    }

    .about__title {
        font-size: var(--size-3xl);
    }

    .about__description {
        font-size: var(--clr-base);
    }

    .about__subtitle {
        font-size: var(--size-2xl);
    }


    .about__list {
        font-size: var(--size-base);
    }
}

/*  sm  */
@media (min-width : 640px) {
    .about__img {
        /* by default image takes the size of container */
        /* but when above 640 px we want image to have size it had when it was less than 640 */
        /* using dev tools we find that its width was 457px , now convert it into rem by dividing it by 16 */
        width: 28.56rem;
    }

    .about__img-wrapper {
        margin: 0 auto;
    }
}

/*  md  */
/* @media (min-width : 768px) {} */

/*  lg  */
@media (min-width : 1024px) {
    .about {
        flex-direction: row;
        gap: 1em;
        align-items: center;
        
    }

    .about__title {
        font-size: var(--size-4xl);
    }

    .about__description {
        font-size: var(--clr-lg);
    }

    .about__subtitle {
        font-size: var(--size-lg);
    }


    .about__list {
        font-size: var(--size-lg);
    }
}

/*  xl  */
@media (min-width : 1280px) {
    .about__content {
        gap: 2rem;
        /* IN hero.css too , we put gap in same order 1 -> 1.5 -> 2 .. so consistency is must */
    }
    .about__img{
        width: 30.75rem;
        /* 492/16 */
    }

    .about__title {
        font-size: var(--size-5xl);
    }

    .about__description {
        font-size: var(--clr-xl);
    }

    .about__subtitle {
        font-size: var(--size-xl);
    }


    .about__list {
        font-size: var(--size-xl);
    }
}

/*  2xl  */
@media (min-width : 1536px) {
    .about__content {
        gap: 2.5rem;

    }
    .about__title {
        font-size: var(--size-6xl);
    }

    .about__description {
        font-size: var(--clr-2xl);
    }

    .about__subtitle {
        font-size: var(--size-2xl);
    }


    .about__list {
        font-size: var(--size-2xl);
    }
}