body,
html,
* {
  margin: 0;
  padding: 10;
}

body {
  display: block;
  /* width: 100vw; */
  /* height: 100vh; */
  opacity: 1;
  transition: opacity 0.5s ease-in-out;
}

.body-grey {
  background-color: rgb(177, 177, 177);
}

.body-blue {
  background-color: rgb(0, 0, 255);
}

.grey {
  color: rgb(177, 177, 177);
}
.blue {
  color: blue;
}

.header {
  top: 0px;
  left: 0px;
  width: 100dvw;
  height: auto;
}

@font-face {
  font-family: font-2;
  src: url(../public/SangBleuRepublic-Regular.otf);
}
@font-face {
  font-family: font-1;
  src: url(../public/btp-normal.woff.ttf);
}
@font-face {
  font-family: font-3;
  src: url(../public/Hershey-Noailles-Times-Duplex-Bold.otf);
}

.font-1 {
  font-family: font-1;
  line-height: 0.9;
}

.font-2 {
  font-family: font-2;
  line-height: 1.1;
}
.font-3 {
  font-family: font-3;
  line-height: 0.8;
}
.unselectable {
  -webkit-user-select: none; /* Safari */
  -moz-user-select: none; /* Firefox */
  -ms-user-select: none; /* Internet Explorer/Edge */
  user-select: none; /* Standard syntax */
}

h1 {
  cursor: default;
  text-align: center;
  font-size: 7rem;
  color: white;
}

h3 {
  cursor: default;
  color: white;
  width: 100%;
  color: white;
  opacity: 1;
  transition: 2s ease;
  font-size: calc(0.9rem + 0.6vw);
}

h2 {
  cursor: default;
  text-align: center;
  font-size: 3.2rem;
  color: white;
  display: inline-block;
}
.centered {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100dvh; /* 100% de la hauteur de la vue */
}

.back-button {
  position: fixed;
  width: auto;
  text-decoration: underline;
  z-index: 34;
  top: 10px;
  left: 10px;
  transition: color 0.5s ease-out;
  transition: background-color 0.5s ease-out;
}

.bg-blue {
  background-color: blue;
}
.back-button:hover {
  color: yellow;
  background-color: rgb(0, 0, 255, 0);
}

.span {
  cursor: pointer;
  position: relative;
  animation: colorChange 1s infinite;
}

.span:hover {
  animation: none;
}

@keyframes colorChange {
  0%,
  100% {
    color: inherit; /* Couleur d'origine de l'élément */
  }
  50% {
    color: yellow; /* Couleur jaune */
  }
}

.page1 {
  opacity: 1;
}
.page2 {
  opacity: 1;
}
.page4 {
  opacity: 1;
}
.page5 {
  opacity: 1;
}
.page6 {
  opacity: 1;
}
.page7 {
  opacity: 1;
}

@media only screen and (max-width: 750px) {
  h1 {
    font-size: 4rem; /* Ajustez la taille de la police pour les écrans plus petits */
  }
  h2 {
    font-size: 2.5rem;
  }
}
