html, body
{
    margin: 0;
    padding: 0;
    height: 100%;
    width: 100%;
    background-color: rgb(211, 211, 211);
    font-family: Arial, Helvetica, sans-serif;
}

body
{
	display : table;
	width: 100%;
}


/*header*/

header
{
    height: 190px;
    background-color: white;
    margin: 0;
}

header img
{
    height: 50%;
    margin-top: 1%;
    margin-left: 15%;
}

#user
{
    float: right;
    margin-top: 1%;
    margin-right: 15%;
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
}

#user a
{
    color: white;
    text-align: center;
    display: block;
    padding: 18px;
    width: 260px;
    text-decoration: none;
}

#e1
{
    background-color: #0b6ba8;
}

#e2
{
    margin-top: 4px;
    background-color: #a63950;
}
/*nav*/

nav
{
    background-color: white;
    padding-left: 10%;
    padding-right: 10%;
}

nav ul
{  
    margin-top: 0;
    height: 60px;
    display: flex;
    flex-wrap: nowrap;
    justify-content: space-evenly;
}

li
{
    list-style: none;
}

nav ul li a
{
    display: block;
    padding: 10px;
}

nav ul li a, nav ul li a:hover
{
    text-decoration: none;
    color: black;
    font-size: 20px;
    font-weight: bold;
}

nav ul li a:hover
{
    border-bottom: 5px solid black;
}

/*Formulaire*/

.required /*pour les * */
{
	color: red;
}


form 
{

    width: max-content;
    margin-left: auto;
    margin-right: auto;
    background-color: white;
    padding: 1%;
    border-radius: 5px;
    margin-bottom: 30px;
}

legend
{
    font-size: 30px;
    font-weight: bold;
    text-decoration: underline overline;
    text-align: center;
    margin: auto;
    margin-bottom: 10px;
}

.outline /*contour du formulaire (fieldset)*/
{
    width: max-content;
    padding-left: 100px;
    padding-right: 100px;
}

label
{
    width: 114px;
    display: inline-block;
    vertical-align: center;
    text-align: right;
}
    
input
{
    border-radius: 5px;
    margin: 10px;
    width: 300px;
    height: 34px;
}

select
{
    margin: 10px;
    width: 100px;
    height: 34px;
}

input[type=button], input[type=reset]
{
    margin-top: 20px;
    border-radius: 0;
    background-color: #002a40;
    color: white;
    font-size: 20px;
    cursor: pointer;
    width: 200px;
}

input[type=button]:hover, input[type=reset]:hover
{
    background-color: rgb(211, 211, 211);
}

/*Résultat*/

.result
{
    display: none;
}

.good
{
    background-color: rgb(100, 134, 100);
    width: max-content;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 30px;
    padding: 1%;
    border-radius: 10px;
}

.bad
{
    background-color: rgb(192, 120, 120);
    text-align: center;
    width: max-content;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 30px;
    padding: 1%;
    border-radius: 10px;
}

.bad label, .good label
{
    width: 180px;
    display: inline-block;
    vertical-align: center;
    text-align: right;
}
    

/*footer*/

footer
{
    display : table-row;
    background-color: #414856;
    position: relative;
    width: 100%;

}

footer img
{
    display: block;
    margin-left: auto;
    margin-right: auto;
    width: 1300px;
    margin-bottom: 10%;
}

#footfix
{
    position: absolute;
    bottom: 0;
    width: 100%;
}

#f1
{
    background-color: #363c48;
}

#f2
{
    background-color: #272729;
}

#f1, #f2
{
    text-align: center;
    color: white;
    margin: 0;
    padding: 20px;
}