@charset "UTF-8";

@font-face {
  font-family: 'SuisseBPIntl-Bold';
src: url(./../fonts/SuisseBPIntl-Bold.ttf) ;
}

@font-face {
  font-family: 'SuisseBPIntl-Medium';
src: url(./../fonts/SuisseBPIntl-Medium.otf) ;
}

@font-face {
  font-family: 'SuisseBPIntl-Regular';
src: url(./../fonts/SuisseBPIntl-Regular.otf) ;
}

body.is-red {
  background-color: rgb(0, 13, 255);
}

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

h1 {
  transition: color 0.3s;
  font-size: 15vw;
  text-align: center;
  position: relative;
  font-family: "SuisseBPIntl-Bold";
  line-height: 0.8;
  padding-top: 120px;
}

h1 {
  animation: fadeIn 1s forwards;
}

.is-red h1 {
  color: rgb(0, 255, 204);
}

.is-blue {
  color: rgb(0, 13, 255);
}

h2 {
  color: rgb(0, 255, 204);
  font-size: 50px;
}

footer {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.fixed-bottom-center {
  position: fixed; /* Fixe l'élément par rapport à la fenêtre de visualisation */
  bottom: 0; /* Place l'élément en bas de la fenêtre */
  left: 50%; /* Centre l'élément horizontalement */
  transform: translateX(-50%);
  text-align: center;
  color: rgb(0, 255, 204);
  font-family: "SuisseBPIntl-Medium", sans-serif;
  font-size: 20px;
  padding: 10px; /* Ajoute du padding pour le confort visuel */
  text-decoration: none; /* Enlève le soulignement par défaut des liens */
  width: 100%; /* Assurez-vous que le lien est centré */
  box-sizing: border-box; /* Inclut le padding et la bordure dans la largeur totale */
  z-index: 1000;
}

.is-blue .fixed-bottom-center {
  color: rgb(0, 13, 255);
}

.fixed-bottom-center:hover {
  text-decoration: underline; /* Ajout d'un effet visuel au survol */
}

@keyframes sparkle {
  0%,
  100% {
    text-shadow: 0 0 5px rgba(255, 255, 255, 0.5),
      0 0 10px rgba(255, 255, 255, 0.5), 0 0 20px rgba(255, 255, 255, 0.5),
      0 0 40px rgba(255, 255, 255, 0.5), 0 0 80px rgba(255, 255, 255, 0.5);
  }
  50% {
    text-shadow: 0 0 10px rgba(255, 255, 255, 1),
      0 0 20px rgba(255, 255, 255, 1), 0 0 40px rgba(255, 255, 255, 1),
      0 0 80px rgba(255, 255, 255, 1), 0 0 160px rgba(255, 255, 255, 1);
  }
}

@keyframes boxSparkle {
  0%,
  100% {
    box-shadow: 0 0 5px rgba(255, 255, 255, 0.5),
      0 0 10px rgba(255, 255, 255, 0.5), 0 0 20px rgba(255, 255, 255, 0.5),
      0 0 40px rgba(255, 255, 255, 0.5), 0 0 80px rgba(255, 255, 255, 0.5);
  }
  50% {
    box-shadow: 0 0 10px rgba(255, 255, 255, 1), 0 0 20px rgba(255, 255, 255, 1),
      0 0 40px rgba(255, 255, 255, 1), 0 0 80px rgba(255, 255, 255, 1),
      0 0 160px rgba(255, 255, 255, 1);
  }
}

#cablage {
  animation: sparkle 2s infinite;
}

.button-container {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: center;
  z-index: 20;
}

.button {
  all: unset;
  font-family: "SuisseBPIntl-Medium", sans-serif;
  font-size: 30px;
  color: rgb(235, 235, 235);
  width: 130px;
  height: 130px;
  border-radius: 100%;
  background-color: (0, 255, 204);
  animation: boxSparkle 2s infinite;
}

.button:hover {
  animation: unset; /* Désactive l'animation au survol */
  background-color: white
}

.button.stop:hover {
  background-color: rgb(0, 255, 204)
}

.is-blue .button {
  background-color: blue;
}
