p,
span,
legend,
fieldset {
  font-size: larger;
}

body {
  background-color: rgb(198, 198, 198);
  word-wrap: break-word;
}
.active {
  color: rgb(0, 13, 255);
}

/* ---------------NAVIGATION------------ */
header nav {
  background-color: rgba(0, 0, 0, 0.83);
  position: fixed;
  top: 0;
  width: 100%;
  font-weight: 700;
}
header nav ul {
  display: flex;
  list-style-type: none;
  justify-content: space-evenly;
  align-items: center;
}
header nav ul a {
  font-size: larger;
  text-decoration: none;
  color: white;
}
header nav img {
  margin: 0;
  margin: auto;
  width: 3.5em;
}
/* -----------MAIN----------- */
main.mise_en_page {
  display: flex;
  flex-direction: column;
}
main.mise_en_page figure {
  align-self: center;
  width: 40%;
}
main.mise_en_page img {
  width: 100%;
  height: auto;
}
main.mise_en_page p.presentation {
  text-align: center;
  margin: auto;
  width: 60%;
  margin-bottom: 1em;
  line-height: 1.2em;
}
main {
  margin-top: 6em;
}
h1 {
  text-align: center;
  font-size: 2.2em;
  margin-bottom: 1em;
}
.confirmations_envoie {
  color: rgb(15, 166, 4);
  text-align: center;
  font-size: larger;
  font-weight: 900;
}
/* -----------FORM----------- */
input {
  margin: 0.5em;
}
.erreur {
  color: red;
  font-weight: 600;
}

form:not(form#deconnexion) {
  display: flex;
  flex-direction: column;
  width: 20em;
  margin: auto;
  border: solid rgb(0, 255, 251) 6px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 0 15px cornflowerblue;
  padding: 1.5em;
}
form:not(form#deconnexion):nth-of-type(n + 2) {
  margin-top: 1em;
}
form input {
  width: 18em;
  margin-top: 1em;
}
form:nth-of-type(2) {
  margin-top: 1em;
}
input[type="submit"] {
  width: 10em;
  background-color: rgb(0, 255, 251);
  border-radius: 10px;
  margin-bottom: 1em;
}
form input,
form label,
form p {
  margin: auto;
  margin-top: 0.5em;
  margin-bottom: 0.5em;
}

textarea {
  width: 18em;
  resize: none;
  margin: auto;
}

.lieninscrit,
.lieninscrit a {
  text-align: center;
  color: rgb(0, 0, 0);
  text-decoration: none;
  font-weight: bold;
}
.lieninscrit a:hover {
  color: rgb(0, 76, 255);
}
.pasinscrit,
.pasinscrit a {
  text-align: center;
  color: rgb(0, 0, 0);
  text-decoration: none;
  font-weight: bold;
  font-size: 1.2em;
  margin: 2.5em 0;
}
.pasinscrit a:hover {
  color: rgb(0, 76, 255);
}
/* ---------------FOOTER--------------  */
footer {
  margin-top: 2.5em;
  text-align: center;
  background-color: black;
  padding: 1.3em;
}
footer a,
footer a:hover,
footer p {
  color: white;
  text-decoration: none;
}
