/* Partie CSS spécifique à la page_contact */

.mainContainer {
 display: inline-block;
 margin-top: 70px;
}

fieldset {
    border-style: solid;
    border-radius: 8px;
    border-color: white;
    padding: 2px 10px;
    width: 50%;
    min-width: 0;
}

.formulaireSection {
    background-image: url('../img/img_contact3.jpg'); 
    display: flex;
    background-size: cover;
    justify-content: center;
    padding: 50px 0 100px 0;
    box-sizing: content-box;
}

.titleContact {
    margin: auto;
    flex-direction: column;
    color: white;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    font-size: 1em;
}

.pTitleContact {
    margin: 0;
    line-height: 2em;
    width: 100%;
    color: white;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    font-size: 1em;
}

.formulaire {
    line-height: 2em;
    width: auto;
    min-width: 0;
    display: flex;
    flex-direction: column;
    margin: 5px 0;
}

input,textarea {
    width: 100%;
    padding: 8px 2px;
    margin: 2px;
    opacity: 0.9;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    font-size: 1em;
}

.sendButton {
    display: flex;
    justify-content: center;
}

.button {
    width: 30%;
    margin: auto;
    border-radius: 6px;
}

.button:hover {
    width: 30%;
    margin: auto;
    background-color: grey;
    border-style: solid;
    border-radius: 6px;
    border-color: grey;
    color: white;
    opacity: 0.8;
}

:placeholder-shown {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    font-size: 1em;
}

form div {
    position: relative;
    width: auto;
}

.textareastyle {
    border-radius: 3px;
    box-shadow: 0 0 0 1px lightgrey;
    border: 1px solid transparent;
}

.quiSommesNousContainer {
    margin-top: 2px;
    display: flex;
    align-items: center;
    background-image: url('../img/img-team-compressed-resized.jpg');
    background-size: cover;
    background-position: center;
}

.quiSommesNous {
    margin: 0 auto 15% auto;
    width: 80%;
    line-height: 2em;
    text-align: justify;
    padding: 5px;
    color: white;
}
.quiSommesNous h1 {
    padding: 20px 0 10px 0;
}

.quiSommesNous p {
    padding-bottom: 50px;
}

/* Redimensionnement des input et textarea quand on passe sur tablette ou portable*/
@media(max-width: 996px)
{ 
    input,textarea {
        width: 100%;
        padding: 8px 2px;
        margin: 2px;
        opacity: 0.9;
        font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
        font-size: 1em;
    }

    .formulaireSection {
        padding-top: 20px;
    }

    fieldset {
        border-style: solid;
        border-radius: 8px;
        border-color: white;
        padding: 2px 10px;
        width: 100%;
        min-width: 0;
    }    
    .textareastyle {
        border-radius: 3px;
        box-shadow: 0 0 0 1px lightgrey;
        border: 1px solid transparent;
        resize: vertical;
        max-height: 200px;
    }
    
}
