/***************************************************************/
/***************Complément mise en forme du aside***************/
/***************************************************************/
.coordonnees{
    text-align: center;
}


/*********************************************************/
/***************Mise en forme du Formulaire***************/
/*********************************************************/

/***************Générique***************/
.formulaire{
    display: flex;
    flex-direction: column;
}

/***************Elements principaux***************/
.contact{
    width: 100%;
    margin-block: auto;
}
form{
    display: grid;
    grid-template: repeat(4, auto) / repeat(2, 1fr);
    grid-template-areas: 
        "form_nom form_societe"
        "form_email form_email"
        "form_message form_message"
        "submit_message submit_message";
    gap: 10px;
}

input, textarea{
    background-color: white;
}

input{
    border-radius: 4px;
    font-size: 1em;
    font-weight: 700;
    height: 40px;
}

textarea{
    border-top: 2px solid black;
    border-left: 2px solid black;
    border-right: 2px solid rgb(100,100,100);
    border-bottom: 2px solid rgb(100,100,100);

    border-radius: 5px;
    font-size: 1em;
    height: 200px;
    width: calc(100% - 10px);

    overflow: auto;
    resize: none;
}

input:hover, textarea:hover{
    box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.6);
}
input:focus, textarea:focus{
    box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.6);
}

/************************Mise en forme par Zone*******************************/
.form_nom{
    grid-area: form_nom;
}

.form_societe{
    grid-area: form_societe;
}

.form_email{
    grid-area: form_email;
}

.form_message{
    grid-area: form_message;

    width: 100%;
}

#submit_message{
    grid-area: submit_message;

    border-radius: 4px;
    border: 2px solid black;
    height: 40px;
    font-size: 1em;
}

#submit_message:hover{
    background: linear-gradient(90deg,var(--color-1), var(--color-2));
    font-weight: bold;
    box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.6);
}


/****************************************************/
/***********Gestion de l'erreur formulaire***********/
/****************************************************/
.form_error{
    font-size: 0.9em;
    font-weight: bold;
    color: red;
}

.error{
    display: block !important;
}

/*******************************************************/
/***********Mise en forme de la fenêtre popup***********/
/*******************************************************/

/***********Elements principaux***********/
.fenetre_popup{
    display: none;
    align-items: center;
    
    position: fixed;
    z-index: 2;

    background-color: rgba(0, 0, 0, 0.6);
    
    height: 100vh;
    width: 100vw;
}

.popup{
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    justify-content: space-between;
    text-align: center;

    background-color: rgb(255, 255, 255);
    border-radius: 10px;
    border: 3px solid var(--color-2);

    height: 150px;
    width: 400px;
    
    padding: 30px 50px 30px 50px;
    margin: auto;
}

/***********Mise en forme par Zone***********/
#btn_retour{
    background-color: var(--color-1);
    border-radius: 5px;

    font-size: 1em;

    height: 35px;
    width: 200px;
}

#btn_retour:hover{
    background: linear-gradient(90deg,var(--color-1), var(--color-2));
    border: 2px solid white;
    box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.6);
    
    color: white;
    font-weight: bold;
}