@import "style.css";

.about{
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
    align-items: center;
}


.about-img img{
    width: 100%;
    border-radius: 200px;
    border-left: solid 0.6rem var(--main-color);   
}

.about-content h1{
    font-weight: 700;
    line-height: 1.3;
    font-size: 2.6rem;
}

.about-content h3{
    font-weight: 700;
    font-size: 1.6rem;
}

.about-content p{
    margin-top: 1.2rem;
    text-align: justify;
}

/* -- Media queries (Mobile)-- */
@media (min-width: 0px){
    .about{
        flex-direction: column;
        gap: 1.2rem;
    }

    .about-content h1{
        font-size: 2.2rem;
        font-weight: 700;
        line-height: 1.3;
    }
    
    
}

@media (min-width: 576px){
    .about-img{
        width: 65%;
        max-width: 65%;
    }
}

@media (min-width: 768px){
    .about{
        flex-direction: row;
        justify-content: space-evenly;
    }
    
    .about-img{
        max-width: 35%;
    }

    .about-content{
        width: 50%;
    }

}