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