main
{
    margin-top: 25px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

}


.container_haut
{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}

.haut_gauche
{
    background-color: white;
    box-shadow: 0 16px 70px -8px rgba(0, 0, 0, 0.25);
    padding-top: 10px;
    margin-right: 10px;
    border: 2px solid blue;
}

.haut_gauche p
{
    padding: 10px;
}

.haut_gauche h4
{
    font-size: 0.9rem;
    text-align: center;
    
}

.haut_droite
{
    border: 2px solid transparent;
}

.localisation
{
    margin-bottom: 20px;
}

.localisation h3
{
    margin-bottom: 5px;
}

.localisation, .formulaire
{
    background-color: white;
    box-shadow: 0 16px 70px -8px rgba(0, 0, 0, 0.25);
    width: 100%;
    border: 2px solid black;
    border-radius: 10px;
    padding: 15px 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
}



.haut_gauche, .haut_droite
{
    width: 40%;
    background-color: white;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    
}

.haut_gauche p, .haut_droite p
{
    margin-bottom: 15px;
    text-align: center;
}

.haut_gauche ul
{
    display: flex;
    padding: 0;
}

.haut_gauche li
{
    list-style: none;
    margin-right: 10px;
}

.form_contact
{
    margin: 50px 0px;
    padding: 40px 0;
    width: 80vw;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    background-color: rgb(255, 255, 255);
    background-color: white;
    box-shadow: 0 16px 70px -8px rgba(0, 0, 0, 0.25);
    border-radius: 20px;
    border: 2px solid black;
}

.form_gauche
{
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    border-radius: 20px;
    width: 40vw;
}

.form_droite
{
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 40vw;
    align-content: center;
    align-items: center;
}

.lien_besoin
{
    margin-top: 100px;
}

form .groupe_info_contact
{
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    position: relative;
}

form .groupe_info_contact input, select
{
    width: 30vw;
    margin-top: 5px;
    padding: 17px 5px 10px 30px;
}

.class_erreur_span
{
    font-size: 10px;
    margin-bottom: 15px;
}

form .groupe_info_contact textarea 
{
    width: 30vw;
    height: 20vh;
    margin-top: 5px;
    padding: 10px 5px 10px 30px;
    resize: none;
}

form .groupe_info_contact .material-symbols-outlined
{
    position: absolute;
    top: 28px;
    padding: 9px 5px;
}

/**/.class_bouton_contact button
{
    margin-top: 10px;
    padding: 5px 10px;
    cursor: pointer;
    border-radius: 5px;
    background-color: black;
    color: white;
    transition: transform 0.5s;
}

.class_bouton_contact:hover
{
    transform: scale(1.05);
}

.requete_container
{
    position: fixed;
    top: 0;
    left: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 200;
    width: 100vw;
    height: 100%;
    background-color: rgb(0, 0, 0, 0.4);
    opacity: 0;
    pointer-events: none;
}

main.showrequete .requete_container
{
    opacity: 1;
    pointer-events: auto;
}

.overlay_requete
{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vw;
    z-index: 198;
}

.modal_requete
{
    position: relative;
    width: 350px;
    height: 275px;
    border-radius: 10px;
    background-color: white;
    z-index: 199;
}

.modal_requete .icone_requete
{
    position: absolute;
    top: -20%;
    left: 50%;
    width: 30%;
    transform: translateX(-50%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: white;
}

.modal_requete .img_requete
{
    width: 100%;
}

.modal_requete .contenu_requete
{
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 55px 10px 10px;
    font-size: 0.85rem;
}


.modal_requete .bouton_requete
{
    width: 100%;
    display: flex;
    justify-content: center;

}


.modal_requete button
{
    width: 50px;
    cursor: pointer;
    border-radius: 5px;
    background-color: black;
    color: white;
    width: 30%;
}


@media screen and (max-width: 850px)
{
    .haut_gauche a,.haut_gauche h4,.haut_gauche p,.haut_gauche a,.haut_gauche a
    {
        font-size: 0.8rem;
    }

    .haut_droite a,.haut_droite h4,.haut_droite h3,.haut_droite h2,.haut_droite h1
    {
        font-size: 0.8rem;
    }

    .haut_gauche h4 a:hover
    {
        padding: 1px 5px;;
    }
} 


@media screen and (max-width: 768px)  
{
    .container_haut
    {
        display: flex;
    }


    h2,p
    {
        font-size: 0.75 rem;
    }


    .haut_gauche ul
    {
        display: flex;
        flex-direction: column;
    }

  

    form
    {
        min-width: 315px;

    }

    .form_contact
    {

        display: flex;
        flex-direction: column;

    }

    .form_gauche
    {
        width: 95%;
    }

    .form_droite
    {
        width: 95%;
    }

    form .groupe_info_contact input, select
    {
        width: 95%;
        min-width: 300px;
        margin-top: 5px;
        padding: 10px 5px 10px 30px;
    }

    .form_droite textarea
    {
        min-width: 300px;
    }
}


@media screen and (max-width: 450px)  
{
    .container_haut
    {
        display: flex;
        flex-direction: column;
        width: 95%;
        min-width: 315;
    }

    .haut_gauche
    {
        width: 100%;
        margin-bottom: 15px;
        padding: 15px 0;
    }

    .haut_droite
    {
        width: 100%;
        padding: 15px 0;
    }

    .container_haut p,.container_haut h2, .container_haut li
    {
        font-size: 0.6rem;
    }

    .haut_gauche ul
    {
        display: flex;
        flex-direction: row;
    }


    .container_form
    {
        width: 95%;
        min-width: 315px;
        display: flex;
        flex-direction: column;
        align-items: center;

    }

    .form_contact
    {
        width: 100%;
    }

    .form_gauche
    {
        width: 100%;
    }

    .form_droite
    {
        width: 100%;
    }

    form label
    {
        font-size: 0.65rem;
    }

    form .groupe_info_contact input, select
    {
        width: 85%;
        min-width: 300px;
        margin-top: 5px;
        padding: 10px 5px 10px 30px;
        font-size: 0.65rem;
    }

    .haut_gauche h4
    {
        font-size: 0.65rem;
    }

    form textarea
    {
        font-size: 0.65rem;
    }

    form .groupe_info_contact .material-symbols-outlined
    {
        position: absolute;
        top: 15px;
        padding: 10px 5px;
    }

    form .class_bouton_contact button
    {
        font-size: 0.65rem;
    }

    .modal_requete
    {
        width: 350px;
        height: 275px;
    }

  
}