@font-face {
  font-family: ari;
  src: url(/assets/fonts/ari-w9500.ttf);
}

@font-face {
  font-family: ari-bold;
  src: url(/assets/fonts/ari-w9500-bold.ttf);
}

@font-face {
  font-family: ari-display;
  src: url(/assets/fonts/ari-w9500-display.ttf);
}

* {
  color: white;
  text-align: center;
  font-size: 1.1em;
  font-family: ari;
  transition: all 0.5 ease-in-out;
}

body {
  max-width: 800px;
  margin: 0 auto;
  padding: 20px;
  background-color: black;
}

h1 {
  font-size: 2.1em;
}

h2 {
  font-size: 1.7em;
}

.title {
  display: none;
}

.silhouette {
  width: 20%;
  margin: 15vh 0px;
}

.title-img {
  width: 70%;
}

hr {
  width: 20%;
  color: rgb(78, 78, 78);
}

.horizontal {
  display: flex;
  flex-direction: row;
  justify-content: center;
  gap: 20px;
}

.intro p {
  margin: 45vh auto 55vh;
  text-shadow: white 0px 0px 5px;
}

.main {
  margin: 25vh auto 25vh;
}

.groupe {
  margin: 5vh 0px;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  width: 100%;
  gap: 25px;
}

.membre {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  width: 30%;
  margin-bottom: 26px;
}

.membre div {
  align-self: center;
  width: 100%;
}


.membre .nom {
  font-family: ari-bold;
  margin-bottom: 0px;
}

.membre .role {
  margin-top: 5px;
  opacity: 80%;
  font-size: 0.9em;
}

.membre img {
  width: 200px;
  height: 200px;
  object-fit: cover;
}

@media (max-width: 1000px) {
  * {
    font-size: 1.3em;
  }

  body {
    max-width: 100%;
  }

  p {
    font-size: 1.6em;
  }

  h1 {
    font-size: 5em;
  }

  h2 {
    font-size: 3.5em;
  }

  .silhouette {
    width: 60%;
  }

  .main {
    margin: 45vh auto 45vh;
  }

  .title-img {
    width: 90%;
  }

  .horizontal {
    flex-direction: column;
    gap: 0px;
  }

  .membre {
    gap: 5px;
    width: 100%;
  }

  .membre img {
    width: 50vw;
    height: 50vw;
    object-fit: cover;
  }
}