/*******************************************************************************************/
/* CONTACT                                                                                 */
/*******************************************************************************************/

body.contact{
    min-height: 100vh;
    background-image: url('../img/fond-Contact-MentionsLegales-Cgv.png'); 
    background-size: cover;
    background-repeat: no-repeat; 
    background-attachment: fixed; 
    background-position: center;
}

main.contact{
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-right: 5rem;
}

main.contact section.infos{
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto auto;
}

main.contact section.telephone{
    grid-column: 1 / span 1;
    grid-row: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    border-right: 1px solid black;
    padding-right: 6rem;
}

main.contact section.mail{
    grid-column: 2 / span 2;
    grid-row: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    border-left: 1px solid black;
    padding-left: 8rem;
}

main.contact h2{
    color: black;
    font-family: "Oswald", sans-serif;
    font-optical-sizing: auto;
    font-weight: 300;
    font-style: normal;
    font-size: 50px;
    margin-top: 4rem;
}   

main.contact h3.telephone{
    color: #37633F;
    font-family: "Oswald", sans-serif;
    font-optical-sizing: auto;
    font-weight: 300;
    font-style: normal;
    font-size: 35px;
    margin-top: 0;
    margin-bottom: 1rem;
    text-align: center;
    padding-right: 6rem;
}

main.contact h3.mail{
    color: #37633F;
    font-family: "Oswald", sans-serif;
    font-optical-sizing: auto;
    font-weight: 300;
    font-style: normal;
    font-size: 35px;
    margin-top: 0;
    margin-bottom: 1rem;
    text-align: center;
    padding-left: 8rem;
}

main.contact p{
    color: #000000;;
    font-family: "Dosis", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
    font-size: 25px;
    margin-top: 1.5rem;
    text-align: center;
}

main.contact p.info{
    margin-bottom: 0;
}

main.contact img.carte {
    width: 250px;
    height: 250px;
    margin-top: 2rem;
    margin-bottom: 2rem;
    border-radius: 200px;
    box-shadow: 5px 2px 30px 10px rgba(0, 0, 0, 0.164);
}

main.contact section.identite{
    display: flex;
    flex-direction: row;
    justify-content: center;
}

main.contact input.nom{
    max-width: 45%;
}

main.contact input.prenom{
    max-width: 45%;
}


main.contact form{
    display: flex;
    flex-direction: column;
    margin-top: 2rem;
    max-width: 90%;
}

main.contact form input,textarea{
    font-size: 20px;
    padding: 10px;
    border-radius: 5px;
    border: 2px solid black;
    margin: 2px;
}


main.contact textarea{
    height: 10rem;
}

main.contact input.envoyer{
    margin:auto;
    margin-top: 3rem;
    border-radius: 30px; 
    padding: 5px 30px; 
    background-color: #487052; 
    color: white; 
    font-family: "Oswald", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
    border: none; 
    text-align: center; 
    font-size: 25px; 
    cursor: pointer;
}

main.contact input.envoyer:hover{
    font-size: 28px; 
}

/***************************************************************************************************************************************/
/***************************************************************************************************************************************/
/* MOBILE                                                                                                                              */
/***************************************************************************************************************************************/
/***************************************************************************************************************************************/

@media (max-width: 750px){

    main.contact section.identite{
        flex-direction: column;
    }
    main.contact input.nom{
        max-width: 100%;
    }
    main.contact input.prenom{
        max-width: 100%;
    }
}

/*****************************************************************************************************************************************/

@media (max-width: 1210px){

    main.contact{
        margin-bottom: 3rem;
        margin-right: 0;
    }

    main.contact section.infos {
        display: flex;
        flex-direction: column;
        justify-content: center;
    }
    
    main.contact section.telephone{
        grid-column: 1 / span 2;
        grid-row: 2;
        border-right: none;
        padding-right: 0;
    }
    
    main.contact section.mail{
        grid-column: 1 / span 2;
        grid-row: 2;
        border-left: none;
        padding: 0;
        padding-top: 1rem;
        margin-left: 3rem;
        margin-right: 3rem;
    }

    main.contact p.info{
        padding-bottom: 4rem;
        border-bottom: 2px solid black;
        width: 80%;
    }

    main.contact h3.telephone{
        padding-right: 0;
    }
    
    main.contact h3.mail{
        padding-left: 0;
        margin-top: 3rem;
    }
}

/***********************************************************************************************************************/

@media (max-device-width: 768px) {
    /*body.contact{
        background-image: url('../img/fond-Mobile.png');
        background-size: cover;
        background-repeat: no-repeat; 
        background-attachment: fixed; 
        background-position: center;
    }*/

    body.contact{
        background-image: none;
    }

    main.contact h2{
        font-size: 65px;
    }

    main.contact h3.telephone{
        font-size: 50px;
    }
    
    main.contact h3.mail{
        font-size: 50px;
    }
    
    main.contact p{
        font-size: 35px;
        margin-top: 2rem;
    }

    main.contact p.tel{
        white-space: nowrap;
        padding-left: 1rem;
        padding-right: 1rem;
    }


    main.contact img.carte {
        width: 350px;
        height: 350px;
        margin-top: 3rem;
        margin-bottom: 3rem;
    }

    main.contact form{
        max-width: 100%;
    }

    main.contact section.identite{
        flex-direction: column;
    }
    main.contact input.nom{
        max-width: 100%;
    }
    main.contact input.prenom{
        max-width: 100%;
    }
    main.contact form input,textarea{
        font-size: 33px;
    }
    main.contact input.envoyer{
        font-size: 37px; 
    }
}		