.hero-about{
    display: flex;
    justify-content: space-around;
    align-items: center;
    width: 100%;
    height: 700px;
    background-color: #e1dfdf;
    overflow: hidden;
}
.text-hero{
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.text-hero h1{
    font-size: 42px;
    color: var(--maincolor);
}
.text-hero span{
    background-color: var(--maincolor);
    color: #fff;
    padding: 10px 15px;
    border-radius: 5px;
    width: fit-content;
    cursor: pointer;
    transition: all 0.3s ease-in-out;
}
.text-hero span:hover{
    background-color: var(--mainhover);
}
.image-hero{
    position: relative;
    width: 500px;
    height: 100%;
}
.image-hero img{
    position: absolute;
    width: 100%;
    bottom: -135px;
    left: 0;
}
.container{
    max-width: 1200px;
    margin: auto;
}
.sommes-nous{
    text-align: center;
    margin-top: 100px;
}
.sommes-nous h2{
    font-size: 32px;
    color: var(--maincolor);
    margin-bottom: 20px;
}
.sommes-nous{

}

.info-section{
    display: flex;
    justify-content: space-around;
    align-items: center;
    gap: 100px;
    margin-top: 150px;
}
.info-text{

}
.info-text h3{
    font-size: 27px;
    margin-bottom: 10px;
    color: var(--maincolor);
}
.info-image{
    min-width: 300px;
    width: 600px;
    height: auto;
}
.info-image img{
    width: 100%;
}
.info-image:nth-child(1){
    min-width: 500px;
}

.contact-nous{
    text-align: center;
    margin-top: 100px;
}
.contact-nous h3{
    font-size: 32px;
    color: var(--maincolor);
    margin-bottom: 20px;
}

@media (max-width:1400px){
    .container{
        margin: auto 50px;
    }
    .hero-about{
        padding: 50px 20px;
    }
}
@media (max-width:900px){
    .info-section{
        flex-direction: column;
    }
    .info-text{
        text-align: center;
    }
    .info-image:nth-child(1){
        order: 1;
    }
    .info-image{
        min-width: 100px;
        max-width: 300px;
    }
    .text-hero{
        justify-content: center;
        align-items: center;
        width: 90%;
    }
    .hero-about{
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 50px 0px 0px 0px;
    }
    .image-hero{
        width: 80%;
        max-width: 500px;
    }
}
@media (max-width:600px){
    .container{
        margin: auto 20px;
    }
    .sommes-nous h2{
        font-size: 21px;
    }
    .hero-about{
        height: 500px;
    }
    .text-hero h1{
        font-size: 32px;
    }
    .info-image:nth-child(1){
        width: auto;
        min-width: 100%;
    }
    .contact-nous h3{
        font-size: 21px;
    }
}