/*Header et menu*/
/*formattage du menu trouvé sur https://www.w3schools.com/css/css_navbar_horizontal.asp*/
.logo {
    display: flex;
    width: 25%;
    height: auto;
    float: left;
    min-width: 200px;
}
.navigation /*menu*/ {
    display: flex;
    flex-direction: row;
}
.pageactive /*page active du menu*/ {
    color: black;
    border-bottom: 2px solid rgb(199, 0, 40);
}
header ol {
    list-style-position: none;
    list-style: none;
    float: left;
    padding: 0;
    overflow: hidden;
    background-color: transparent;
    position: sticky;
    padding-top: 5%;
    width: 70%;
    justify-content: center;
    display: flex;
    align-items: stretch;
    flex-wrap: wrap;
}
header li {
    float: left;
    border-right: 2px solid rgb(41, 41, 41);
    display: flex;
    align-items: stretch;
    font-family:'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    font-size: 15px;
}
li a {
    display: block;
    color: black;
    text-align: center;
    padding: 14px 16px;
    text-decoration: none;
    align-items: stretch;
}
li a:hover {
    color: rgb(199, 0, 40);
}

/*texte général*/
.texte1 {
    padding-left: 15%;
    padding-right: 15%;
    text-align: justify;
    line-height: 1.5;
    font-size: 16px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/*formattage page Harry Potter*/
.contenant3 {
    background-color: white;
    display: flex;
    flex-direction: column;
    margin-left: 25%;
    margin-right: 25%;
}

/*formattage pour les images avec une transition dans la page gastronomie*/
/*style trouvé sur W3Schools : https://www.w3schools.com/howto/howto_css_image_overlay.asp*/
.contenant4 {
    position: relative;
    width: 100%;
    display: flex;
}
.image {
    opacity: 1;
    display: block;
    width: 100%;
    height: auto;
    transition: .5s ease;
    backface-visibility: hidden;
}
.milieu {
    transition: .5s ease;
    opacity: 0;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%)
}
.contenant4:hover .image {
    opacity: 0.3;
}
.contenant4:hover .milieu {
    opacity: 1;
}
.texte3 {
    color: black;
    font-size: 16px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/*formattage titres de sections*/
h3, h4, h5 {
    display: flex;
    justify-content: center;
    font-family:'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/*contenant pour le haut de la page*/
.contenant2 {
    background-color: white;
    display: flex;
    flex-direction: row;
}

/*formattage pour ne pas utilisé le CSS*/
.neutre {
    all: unset;
}

/*tableau page Harry Potter*/
table {
    margin-left: 25%;
    margin-right: 25%;
}
tr td {
    border-bottom: 2px solid rgb(199, 0, 40);
    border-top: 2px solid rgb(199, 0, 40);
}

/*formattage pour le formulaire*/
/*certaines informations ont été trouvées sur https://www.w3schools.com/css/css_form.asp*/
main {
    display: flex;
    align-items: center;
    margin-left: 15%;
    margin-right: 15%;
    background-color: white;
    text-align: center;
    border-radius: 4px;
    flex-direction: row;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}
input[type=text], input[type=time], input[type=date], select {
    width: 100%;
    padding: 12px;
    border: 2px solid rgb(199, 199, 199);
    border-radius: 4px;
}
input[type=number] {
    border: 2px solid rgb(199, 199, 199);
    border-radius: 4px;
}
textarea {
    width: 95%;
    border: 2px solid rgb(199, 199, 199);
    border-radius: 4px;
}
input[type=submit] {
    background-color: rgb(199, 0, 40);
    color: white;
    padding: 12px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    float: right;
}
input[type=submit]:hover {
    background-color: rgb(141, 0, 28);
}
label {
    padding: 12px 12px 12px 0;
    display: inline-block;
}
form {
    display:flex; 
    flex-direction: row; 
    align-items: center;
    flex-wrap: wrap;
}
.colonne {
    width: 100%;
    align-items: center;
    flex-direction: row;            
}
.nom {
    float: left;
    margin-top: 2%;
    margin-left: 5%;
    margin-right: 5%;
}
.boite {
    float: left;
    width: 70%;
    max-width: 100%;
    margin-top: 3%;
    margin-bottom: 3%;
    margin-left: 5%;
}

/*formattge bibliographie*/
.fond {
    background-image: url(../Images/FondBibliographie2.jpg);
    background-size: 50%;
    background-repeat: repeat;
}
.texte2 {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 12px;
}
.bibliographie li {
    color: rgb(199, 0, 40);
    background-color: white;
    width: fit-content;
    /*comment centrer une image trouvé sur https://www.w3schools.com/howto/howto_css_image_center.asp*/
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}
.bibliographie li a {
    display: flex;
    color: black;
    text-align: initial;
    padding: 14px 16px;
    width: fit-content;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: white;
    text-decoration: initial;
    align-items: initial;
}
.bibliographie li a:hover {
    color: rgb(199, 0, 40);
}
.bibliographie li a:visited {
    color: rgb(141, 0, 28);
}

/*formattage footer*/
footer {
    display: table;
    background-color: rgb(199, 199, 199);
    width: 98%;
    padding: 10px 14px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 13px;
    align-items: center;
}