@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, 13);
}

h1 {
  transition: color 0.3s;
  font-size: 16vw;
  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, 13);
}

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



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, 13);
  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 */
}

#cablage {
  animation: sparkle 2s infinite;
}

.button-container {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: center;
  z-index: 20;
  gap: 20px; /* Espacement entre les boutons */
}

.button {
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "SuisseBPIntl-Medium", sans-serif;
  font-size: 50px; /* Taille du texte pour les chiffres */
  color: white;
  width: 130px;
  height: 130px;
  background-color: rgb(0, 255, 13);
  border-radius: 50%; /* Forme ronde */
  cursor: pointer; /* Change le curseur pour indiquer qu'il s'agit d'un bouton */
  transition: background-color 0.3s;
}

.button span {
  position: relative;
  z-index: 1;
}

.button:hover {
  background-color: white
}

.is-blue .button:hover{
  background-color: rgb(255, 255, 255);
}

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

/* Ajoutez ces styles pour le conteneur de chiffres aléatoires */
#random-numbers {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1; /* Placez-le en arrière-plan */
  pointer-events: none; /* Permet de cliquer sur les éléments en dessous */
}

.random-number {
  position: absolute;
  font-size: 80px;
  font-family: "SuisseBPIntl-Medium", sans-serif;
  color: white; /* Couleur transparente */
  top: 0; /* Position verticale aléatoire */
  left: 0; /* Position horizontale aléatoire */
}
