/*--------------------------------   Body   ---------------------------------*/

html
{
    width: 100%;
}

body
{
    background-color: rgb(245, 242, 235);
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-content: center;
    align-self: center;
    margin: 0;
    padding: 0;
    width: 100%;
}


span
{
    font-weight: bold;
    color: rgb(25, 118, 210);
}

.spam
{
    background-color: rgb(255, 243, 179); /* jaune pâle chaud */
    color: rgb(60, 60, 60); /* ton bleu principal, déjà défini */
    padding: 0 0.2em;
    border-radius: 0.3em;
    font-weight: bold;
}

strong
{
    font-weight: bold;
}

/*--------------------------------   Header   ---------------------------------*/

header
{ 
    margin: auto;
    width: 100%;
    background-image: url(../../Images_Communes/header-rendez-vous.jpg);
    background-repeat: no-repeat;
    background-size:cover;
}

.accueil-presentation
{
    display: block;
    margin: auto;
    text-align: center;
    padding-top: 4%;
    padding-bottom: 4%;
}

.accueil-presentation h1
{
    font-family: Georgia, 'Times New Roman', Times, serif;
    font-size: 4vh;
    text-shadow: rgb(60,60,60) 0.5rem 0.5rem 1rem;
    color:whitesmoke;
    margin-bottom: 0;
    padding-bottom: 0;
}

.accueil-presentation h2
{
    margin-top: 0;
    padding-top: 0;
    font-family: Georgia, 'Times New Roman', Times, serif;
    font-size: 2vh;
    text-shadow: rgb(60,60,60) 0.5rem 0.5rem 1rem;
    color:whitesmoke;
    text-transform: uppercase;
    
}

/*--------------------------------   Main   ---------------------------------*/

main
{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 90%;
    margin: auto;
}

main form
{
    width: 90%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: whitesmoke;
    border-radius: 5rem;
    margin-bottom: 14%;
    padding-bottom: 4%;
    padding-top: 4%;
}

form p
{
    font-family: Georgia, 'Times New Roman', Times, serif;
    color: rgb(60, 60, 60);
    text-align: center;
    font-size: 1.5vh;
    width: 80%;
}


label
{
    font-family: Georgia, 'Times New Roman', Times, serif;
    color: rgb(60, 60, 60);
    font-size: 1.5vh;
    width: 80%;
}

main h1
{
    font-family: Georgia, 'Times New Roman', Times, serif;
    font-size: 2.5vh;
    color:rgb(60,60,60);
    text-align: center;
    margin-top: 6%;
}

input[type=text], input[type=email]
{
    padding: 1rem;
    margin: 0.9rem 0;
    border: 0.2rem solid rgb(150, 150, 150);
    border-radius: 0.8rem;
    font-size: 1.5vh;
    width: 80%;
}

textarea:focus 
{
    outline: none;
    border: 0.2rem solid rgb(60, 60, 60);
}

input[type=text]:focus, input[type=email]:focus 
{
    outline: none;
    border: 0.2rem solid rgb(60, 60, 60);
}


textarea 
{
    width: 84.5%;
    height: 20vh;
    box-sizing: border-box;
    border: 0.2rem solid rgb(150, 150, 150);;
    border-radius: 0.8rem;
    resize: none;
    font-size: 1.5vh;
    margin-top: 1%;
}

 input[type=submit]
 {
    background-color: rgb(100, 181, 246);
    border: none;
    color: white;
    padding: 1rem 2rem;
    text-decoration: none;
    cursor: pointer;
    font-family: Georgia, 'Times New Roman', Times, serif;
    margin-top: 4%;
    margin-bottom: 2%;
    font-size: 1.5vh;
    border-radius: 0.8rem;
}

input[type=submit]:hover
{
    background-color: rgb(25, 118, 210);
}

/*--------------------------------   Erreur   ---------------------------------*/
.erreur
{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 89%;
    background-color: whitesmoke;
    border-radius: 4vw;
    padding-top: 3%;
    padding-bottom: 3%;
    margin-bottom: 4%;
    border: solid 0.5vw rgb(25, 118, 210);
    
}

.erreur p:not(.erreur-texte)
{
    font-family: Georgia, 'Times New Roman', Times, serif;
    color: rgb(60, 60, 60);
    text-align: justify;
    font-size: 1.5vh;
    width: 82%;
    margin: 0 0;
}

.erreur-texte
{
    font-family: Georgia, 'Times New Roman', Times, serif;
    text-align: justify;
    color: rgb(25, 118, 210);
    font-size: 1.5vh;
    width: 80%;
    margin: 1.2vh 0;
}

.confirmation
{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 89%;
    background-color: whitesmoke;
    border-radius: 2vh;
    padding-top: 1%;
    padding-bottom: 1%;
    margin-bottom: 4%;
    border: solid 0.5vw rgb(25, 118, 210);
}

.confirmation p:nth-child(1)
{
    font-family: Georgia, 'Times New Roman', Times, serif;
    text-align: justify;
    color: rgb(60,60,60);
    font-size: 1.5vh;
    width: 80%;
    margin-top: 2%;
    margin-bottom: 0;
}

.confirmation p:nth-child(2)
{
    font-family: Georgia, 'Times New Roman', Times, serif;
    text-align: justify;
    color: rgb(60,60,60);
    font-size: 1.5vh;
    width: 80%;
    margin-top: 2%;
    margin-bottom: 2%;
}