@font-face {
  font-family: "Ruder PLakat";
  src: url("FONT/RuderPlakatLLVIP.ttf") format("woff2");
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Ruder PLakat";
  background-color: white;
}

.mainpage {
  height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.titre {
  font-size: 6rem;
  letter-spacing: 10px;
  margin-top: 20rem;
}

.scroll {
  font-size: 5rem;
  letter-spacing: 3px;
  margin-top: 15rem;
}

.qui {
  height: 100vh;
  font-size: 6rem;
  letter-spacing: 2px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding-left: 4rem;
  padding-right: 4rem;
  padding-top: 1rem;

  color: white;
  background: black;
}

.qui .phrases {
  display: flex;
  text-align: justify;
}

.mots {
  margin-top: 1rem;
  margin-bottom: 1rem;
}

.qui .phrase-suite {
  display: flex;
  text-align: justify;
}

#affiches-content {
  background-color: black;
  color: white;
  height: 100vh;
  width: 100vw;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column; /* Organise les éléments en colonne */
  align-items: center; /* Centre le contenu horizontalement */
  justify-content: center; /* Centre le contenu verticalement */
}

.titre-affiches {
  font-family: "Ruder PLakat";
  font-size: 5rem;
  letter-spacing: 10px;
  display: flex;
  margin-bottom: 2rem;
  display: flex;
  flex-direction: column;
}

.affiches {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  text-align: justify;
}

.affiches img {
  justify-content: space-between;
  width: 100%;
  padding: 3rem;
}

.affiches .aff1 img,
.affiches .aff2 img,
.affiches .aff3 img,
.affiches .aff4 img,
.affiches .aff5 img {
  transition: transform 0.3s ease, filter 0.3s ease, opacity 0.3s ease;
}

/* Effet au hover */
.affiches .aff1:hover img,
.affiches .aff2:hover img,
.affiches .aff3:hover img,
.affiches .aff4:hover img,
.affiches .aff5:hover img {
  transform: scale(1.1); /* Agrandit légèrement l'image */
  filter: grayscale(100%); /* Rend l'image légèrement grise */
  opacity: 0.4; /* Rend l'image un peu plus transparente */
}

.affiches div {
  position: relative;
}

/* Ajout du chiffre au survol */
.affiches div::after {
  content: attr(data-number); /* Récupère le numéro depuis l'attribut HTML */
  position: absolute;
  top: 50%;
  left: 50%;
  font-size: 15rem;
  transform: translate(-50%, -50%);
  font-weight: bold;
  color: white;
  opacity: 0;
  transition: opacity 0.3s ease;
  text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.7);
}

.affiches div:hover::after {
  opacity: 1;
}

video {
  width: 25%;
}

.titre-explicatif {
  font-family: "Ruder PLakat";
  font-size: 5rem;
  letter-spacing: 10px;
  margin-top: 4rem;
  margin-bottom: 4rem;
}

.explicatif {
  background-color: rgb(0, 0, 0);
  color: rgb(255, 255, 255);
  height: 100vh;
  width: 100vw;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  padding-left: 5rem;
  padding-right: 5rem;
  align-items: center;
}

.video-texte {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  position: block;
}

.video-texte p {
  font-size: 6rem;
  letter-spacing: 2px;
  display: flex;
  align-items: center;
  text-align: justify;
  margin-left: 4rem;
  margin-right: 4rem;
}

.Affiche img {
  width: 100%;
  height: 100%;
}

button {
  background-color: black;
  color: white;
  font-family: "Ruder PLakat";
  font-size: 3rem;
  letter-spacing: 3px;
  margin-top: 3rem;
  border: none;
}

a {
  text-decoration: none;
}

button:hover {
  background-color: white;
  color: black;
}
