:root {
  --main-color: #ff0a0a;
}

* {
  font-family: "Montserrat", Arial, Helvetica, sans-serif;
  margin: 0;
  padding: 0;
}

/* HEADER */

header {
  margin-right: 0;
}

#icons {
  cursor: pointer;
  display: none;
}

@media (max-width: 768px) {
  #icons {
    display: flex;
    align-items: center;
    font-size: 3em;
  }
  #icons:before {
    content: "\2630";
  }
  .active #icons:before {
    content: "\2715";
  }
  nav ul {
    position: fixed;
    left: -100%;
    top: 5.3rem;
    flex-direction: column;
    background: #ff0a0a;
    width: 100%;
    text-align: center;
    transition: 0.25s;
  }
  nav li {
    padding: 3px 0;
  }
  nav li:hover {
    background: #f53030;
  }
  nav.active ul {
    left: 0;
  }
  header {
    margin-right: 0;
  }
  nav li {
    font-size: 20px;
    margin: 20px;
  }
}

nav ul {
  display: flex;
  justify-content: space-evenly;
  width: 100%;
  align-items: center;
}

li {
  list-style: none;
}

a,
a:hover {
  color: #0a0903;
  text-decoration: none;
  text-transform: uppercase;
}

a:hover {
  color: white;
}

header {
  display: flex;
}

nav {
  display: flex;
  justify-content: space-between;
  align-content: center;
  background: #ff0a0a;
  padding: 10px;
  width: 100%;
  font-size: calc(0.4rem + 0.7vw);
  font-weight: 500;

  img {
    width: 65px;
  }
}

/* MAIN */

body {
  background-image: url(./assets/altere.jpg);
}

h1 {
  text-align: center;
  color: whitesmoke;
  margin: 1.5rem;
  font-size: xxx-large;
  text-shadow: 1px 1px 2px black;
}

p {
  text-align: center;
  color: whitesmoke;
  margin: 1rem;
}

ul {
  list-style-type: none;
  padding: 0;
}

li {
  margin-bottom: 10px;
  display: inline-block;
}

label.question {
  display: inline-block;
  text-align: center;
  width: 400px;
  font-weight: bold;
  margin-top: 10px;
  margin-bottom: 20px;

  @media screen and (max-width: 480px) {
    width: 100%;
  }

  @media screen and (max-width: 320px) {
    width: 100%;
  }
}

form {
  /* On centre le formulaire */
  margin: auto auto 10px auto;
  width: 400px;
  background-color: whitesmoke;
  /* Le contour du formulaire */
  padding: 1.5em;
  border: 2px solid var(--main-color);
  border-radius: 1em;

  @media screen and (max-width: 480px) {
    width: 300px;
  }

  @media screen and (max-width: 320px) {
    width: 220px;
  }
}

.bouton {
  text-align: center;
  padding: 15px;
  margin: 10px;
}

button:hover {
  background-color: var(--main-color);
}

.submit {
  border: #ff0a0a 1px solid;
  border-radius: 1em;
  padding: 0.2rem;
}

/* MON POP UP*/

h3 {
  font-size: medium;
  margin: 1rem;
}

/* POPUP MAEVA*/

#popup-maeva {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: whitesmoke;
  border: 2px solid var(--main-color);
  padding: 20px;
  border-radius: 1em;
}

#popup-maeva img {
  width: 100%;
  max-width: 130px;
}

/* POPUP SEBASTIEN*/
#popup-sebastien {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: whitesmoke;
  border: 2px solid var(--main-color);
  padding: 20px;
  border-radius: 1em;
}

#popup-sebastien img {
  width: 100%;
  max-width: 130px;
}

/* POPUP NICOLAS */
#popup-nicolas {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: whitesmoke;
  border: 2px solid var(--main-color);
  padding: 20px;
  border-radius: 1em;
}

#popup-nicolas img {
  width: 100%;
  max-width: 130px;
}

/*POPUP ANGELINA*/
#popup-angelina {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: whitesmoke;
  border: 2px solid var(--main-color);
  padding: 20px;
  border-radius: 1em;
}

#popup-angelina img {
  width: 100%;
  max-width: 130px;
}

/*POPUP AUTRE*/
#popup-autre {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: whitesmoke;
  border: 2px solid var(--main-color);
  padding: 20px;
  border-radius: 1em;
}

#popup-bouton p {
  color: black;
  font-size: small;
}

p a:hover {
  color: var(--main-color);
}

/* FOOTER */

footer {
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  background-color: #ff0a0a;
  width: 100%;
  position: absolute;

  img {
    width: 73px;
  }
}

.copyright {
  font-size: 1em;
  margin: 0;
  padding: 0;
  color: #0a0903;
}

@media (min-width: 768px) {
  .copyright {
    font-size: 1.3em;
  }
}
