/* **********header********* */
@media screen and (max-width: 1250px) {
    #main_info {
        height: 45vw;
    }

    #right_home {
        height: 45vw;
    }
}

@media screen and (max-width: 1050px) {
    #header_home .container {
        padding: 2vw 0;
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        align-items: start;
        height: 100%;
    }

    #main_info {
        height: fit-content;
        width: 100%;
        margin: 20px 0;
        justify-content: space-around;
        flex-direction: row;
        flex-wrap: wrap;
    }

    #read_more,
    #send_feedback {
        min-width: 30%;
        margin-left: 5%;

    }

    #right_home {
        height: fit-content;
        width: 100%;
        flex-direction: row-reverse;
        align-items: center;
    }

    #interested_more {
        display: flex;
        width: 60%;
        margin-right: 30px;
        flex-direction: row;
        justify-content: space-between;
    }

    #interested_more p {
        height: fit-content;
    }

    #ask {
        width: fit-content;
        margin-top: 0px;
    }

}

@media screen and (max-width: 800px) {
    #interested_more {
        width: 80%;
        margin-right: 20px;
    }

    #main_info {
        padding: 20px;
        margin: 10px 0;
    }

    #main_info p {
        padding: 10px;
    }
}

@media screen and (max-width: 530px) {

    #header_home {
        height: 90vh;
    }

    .button_header {
        margin-top: 12px;
        width: fit-content;
        padding: 7px 12px;
    }

    #read_more,
    #send_feedback {
        height: fit-content;
        min-width: 21%;
        max-width: 40%;
        margin-left: 3%;
    }
}

@media screen and (max-width:470px) {
    #main_info hr {
        margin: 10px auto;
    }

    #title_main_info h2 {
        font-size: 1.2rem;
    }

}

@media screen and (max-width: 450px) {
    

    #header_home {
        height: 91vh;
    }
}

@media screen and (max-width: 360px) {
    #title_main_info h2 {
        font-size: 1.1rem;
    }

    #interested_more {
        padding: 10px;
        width: 100%;
        margin-right: 10px;
    }

}


/* *******news******* */
@media screen and (max-width: 1320px) {
    #news_statut_wrap {
        max-height: 40vw;
    }
}

@media screen and (max-width: 1300px) {
    #news_statut_wrap {
        max-height: 45vw;
    }
}

@media screen and (max-width: 1140px) {
    #news_statut_wrap {
        max-height: 55vw;
    }
}

@media screen and (max-width: 1070px) {
    #news_statut_wrap {
        max-height: 60vw;
    }
}

@media screen and (max-width: 1000px) {
    #news_statut_wrap {
        margin-top: 6vw;
        display: block;
        max-height: fit-content;
    }

    #news_home {
        width: 100%;
    }

    .new_home:nth-child(2) {
        margin-top: -3%;
    }

    .new_home:nth-child(3) {
        margin-top: -3%;
    }

    #statut_home {
        width: 100%;
        max-height: 100vh;
        margin-top: 40px;
    }
}

@media screen and (max-width: 720px) {
    .new-home{
        max-height: 50vh;
    }
    .new_home:nth-child(2) {
        margin-top: -6%;
    }

    .new_home:nth-child(3) {
        margin-top: -6%;
    }
}

@media screen and (max-width: 600px) {
    .new_home {
        width: 80%;
    }

    .new_home:nth-child(2) {
        margin-top: -10%;
    }

    .new_home:nth-child(3) {
        margin-top: -10%;
    }
}

@media screen and (max-width: 420px) {

    .new_home {
        padding: 15px;
    }

}

/* *******expertise******* */
@media screen and (max-width: 1200px) {
    .expertise_home_item {
        padding: 30px 15px;
    }

    .expertise_home_item:hover {
        padding: 25px;
    }
}

@media screen and (max-width: 1400px) {
    .expertise_home_item {
        min-width: 34vw;
        max-width: 34vw;
        width: 34vw;
        max-height: 30vw;
        height: 30vw;
        margin: 0 3.5vw;

        padding: 40px 20px;

    }

    .expertise_home_item:hover {
        padding: 40px;
    }
}
@media screen and (max-width: 1200px) {
    .expertise_home_item {
        min-width: 40vw;
        max-width: 40vw;
        width: 40vw;
        max-height: 35vw;
        height: 35vw;
        margin: 0 3.5vw;

        padding: 40px 20px;

    }}
    @media screen and (max-width: 1000px) {
        .expertise_home_item {
        min-width: 44vw;
        max-width: 44vw;
        width: 44vw;

    }
    .expertise_home_item:hover {
        padding: 25px;
    }
}

@media screen and (max-width: 800px) {
    #expertise_home {
        margin-top: 12vw;
    }

    .expertise_home_item {
        padding: 30px 15px;
    }
    .expertise_home_item {
        min-width: 60vw;
        max-width: 60vw;
        width: 60vw;
        max-height: 50vw;
        height: 50vw;


    }
}

@media screen and (max-width: 720px) {
    .expertise_home_item p {
        font-size: 1.1rem;
    }
}

@media screen and (max-width: 640px) {
    .expertise_home_item p {
        font-size: 1rem;
    }

    .expertise_home_item:hover {
        padding: 5px;
    }
}
@media screen and (max-width: 600px) {
    .expertise_home_item {
        min-width: 80vw;
        max-width: 80vw;
        width: 80vw;
        max-height: 70vw;
        height: 70vw;

    }
    .expertise_home_item:hover {
        padding: 30px;
    }
}

@media screen and (max-width: 500px) {
    .expertise_home_item {

        margin: 0 2.75vw;
        margin-top: 5vw;
        padding: 10px 10px;

    }

    .expertise_home_item:hover {
        padding: 30px;
    }
}

@media screen and (max-width: 440px) {
    .expertise_home_item:hover {
        padding: 10px;
    }
    .expertise_home_item {
        min-width: 90vw;
        max-width: 90vw;
        width: 90vw;
        max-height: 80vw;
        height: 80vw;

    }
}

@media screen and (max-width: 380px) {
    #expertise_home {
        margin-top: 15vw;
    }

    .expertise_home_item {
        margin: 0 2.75vw;
        margin-top: 5vw;

    }

}
@media screen and (max-width: 350px) {
    .expertise_home_item {
        min-width: 98vw;
        max-width: 98vw;
        width: 98vw;
        max-height: 98vw;
        height: 98vw;

    }

}

/* ********imaged div*********** */
@media screen and (max-width: 1050px) {
    #imaged_div_home {
        min-height: 40vw;
    }
}

@media screen and (max-width: 720px) {
    #imaged_div_home {
        padding: 7vw 3vw;
        margin: 15vw 0;
    }
}

@media screen and (max-width: 1050px) {
    #imaged_div_home {
        min-height: 60vw;
    }
}

@media screen and (max-width: 460px) {
    #imaged_div_home {
        padding: 12vw 3vw;

    }
}


