:root {
  --couleur-1: #1a1c20;
  --couleur-2: #f4b528;
  --couleur-3: #258c89;
  --couleur-4: #f3efe6;
  --couleur-5: #3d2b1f;
  --couleur-6: #b0b5b9;
}

body {
  font-family: "Oxygen Mono", monospace;
}

hr {
  width: 90%;
}

/*mobile first*/

/*HEADER*/
header {
  background-color: var(--couleur-5);
  color: var(--couleur-4);
  width: 100%;
}
header img {
  width: 10%;
  border-radius: 50%;
  border: 2px solid var(--couleur-4);
  -webkit-border-radius: 50%;
  -moz-border-radius: 50%;
  -ms-border-radius: 50%;
  -o-border-radius: 50%;
}
#logo {
  width: 100%;
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: space-around;
  align-items: center;
  text-align: center;
}

#logo h1 {
  font-size: 1.5rem;
}
nav {
  background-color: var(--couleur-1);
  width: 100%;
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: space-around;
}

nav a {
  color: var(--couleur-4);
  padding: 0.5rem;
  transition: transform 200ms ease-in-out;
}

nav a:hover {
  transform: scale(1.3);
}

/*MAIN*/

#conteneur {
  background-color: var(--couleur-2);
}

.titre-section {
  color: var(--couleur-4);
  font-size: 2rem;
  text-align: center;
  background-color: var(--couleur-3);
  padding: 1rem 0;
}

#hero-banner {
  padding: 0 0.5rem;
}
#hero-banner img {
  width: 100%;
}

#hero-banner h3 {
  text-align: center;
  font-size: 2rem;
}

#umamusume {
  padding: 0 0.5rem;
}

#umamusume p {
  font-size: 1.2rem;
  background-color: var(--couleur-6);
  padding: 1rem;
  border: 2.5px var(--couleur-1) solid;
}

#umamusume .image-texte p {
  font-size: 1.2rem;
  background-color: var(--couleur-6);
  padding: 1rem;
  border: 2.5px var(--couleur-1) solid;
}

#umamusume img {
  width: 100%;
}

#umamusume .image-texte:nth-of-type(2) img {
  background-image: url(images/tracen.jpg);
}

#pourquoi {
  padding: 0 0.5rem;
}

#pourquoi #liste-raisons {
  background-color: var(--couleur-4);
  padding: 2rem;
}

#pourquoi #liste-raisons h3 {
  font-size: 1rem;
  font-weight: bold;
}

#pourquoi #liste-raisons ol li {
  width: 90%;
  padding: 0 0.5rem;
  margin: 1rem;
  background-color: var(--couleur-6);
  border: var(--couleur-1) 3px solid;
  border-radius: 2rem;
}

#gallerie {
  padding: 0 0.5rem 0.5rem;
  display: flex;
  flex-direction: column;
}

#gallerie img {
  width: 90%;
}

#gallerie #gallerie-image {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: space-evenly;
  align-items: center;

  width: 100%;
  flex-grow: 1;
}

#gallerie #gallerie-image #retour {
  background-color: var(--couleur-3);
  border-radius: 100%;

  flex-shrink: 0;
}

#gallerie-conteneur {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-grow: 1;
}

#gallerie #gallerie-image .gallerie-img {
  width: 80%;
  background-image: url(images/tracen.jpg);
}

#gallerie #gallerie-image #avancer {
  background-color: var(--couleur-3);
  border-radius: 100%;

  flex-shrink: 0;
}

/*FOOTER*/
footer {
  background-color: var(--couleur-5);
  color: var(--couleur-4);
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  padding-bottom: 1rem;
}

footer h3 {
  padding-top: 0.5rem;
}
#reseaux {
  background-color: var(--couleur-5);
  width: 50%;
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: space-around;
  align-items: center;
}

#reseaux button {
  font-size: 32px;
}

/*desktop*/
@media (width>500px) {
  p {
    font-size: 1.5rem;
  }

  /* HEADER */
  #logo {
    display: flex;
    justify-content: center;
    align-items: center;
  }

  #logo h1 {
    padding: 0 4rem;
    font-size: 4rem;
  }

  nav a {
    padding: 2rem;
    font-size: 2rem;
  }

  /* BODY */
  #hero-banner {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: space-around;
    padding-bottom: 2rem;
    padding-top: 2rem;
  }
  #hero-banner img {
    width: 70%;
    height: auto;
  }

  #hero-banner .hero-texte {
    width: 30%;
    font-size: 1rem;
    background-color: var(--couleur-6);
    padding: 1rem;
    border: 2.5px var(--couleur-1) solid;
  }

  #umamusume .image-texte {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
  }

  #umamusume .image-texte:nth-of-type(1) img {
    width: 70%;
  }

  #umamusume .image-texte:nth-of-type(1) p {
    width: 30%;
    font-size: 1.5rem;
  }

  #umamusume .image-texte:nth-of-type(2) {
    flex-direction: row-reverse;
    padding: 4rem 0.5rem;
  }

  #umamusume .image-texte:nth-of-type(2) img {
    width: 70%;
    height: 50%;
  }

  #umamusume .image-texte:nth-of-type(2) p {
    width: 30%;
    height: 50%;
    font-size: 1.5rem;
  }

  #umamusume .image-texte:nth-of-type(3) {
    padding: 4rem 0.5rem;
  }
  #umamusume .image-texte:nth-of-type(3) img {
    width: 70%;
  }

  #umamusume .image-texte:nth-of-type(3) p {
    width: 30%;
    height: 30%;
    font-size: 1.5rem;
  }

  #pourquoi #liste-raisons {
    background-color: var(--couleur-4);
    padding: 2rem;
  }

  #pourquoi #liste-raisons h3 {
    font-size: 1.5rem;
    font-weight: bold;
  }

  #pourquoi #liste-raisons ol {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-around;
    font-size: 2rem;
  }

  #pourquoi #liste-raisons ol li {
    width: 25%;
    padding: 0 0.5rem;
    margin: 1rem;
    background-color: var(--couleur-6);
    border: var(--couleur-1) 3px solid;
    line-height: 2.25rem;
  }

  #pourquoi #liste-raisons ol li:nth-of-type(5) {
    height: 30%;
  }
}
