@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(255, 0, 179);
}

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

h1 {
  color: rgb(255, 136, 0);
  transition: color 0.3s;
  font-size: 20vw;
  text-align: center;
  position: relative;
  font-family: "SuisseBPIntl-Bold";
  line-height: 0.8;
  padding-top: 120px;
}

h1 {
  animation: fadeIn 1s forwards;
}

h1 span {
  display: inline-block;
  position: relative;
  width: 100%;
}

h1 span::before,
.button-container::before {
  content: "";
  width: 16vw;
  height: 16vw;
  border-radius: 100%;
  display: inline-block;
  position: absolute;
  animation-duration: 2s;
  animation-name: animate-circle;
  animation-iteration-count: infinite;
  animation-direction: alternate;
}

.is-red span::before,
.button-container::before {
  background-color: rgb(255, 0, 179);
}

.is-blue span::before,
.button-container::before {
  background-color:  rgb(255, 136, 0);
}

.middle::before,
.button-container::before {
  animation-name: animate-circle-reverse;
}

.is-blue .middle::before,
.button-container::before {
  animation-name: animate-circle-reverse;
  background-color: rgb(255, 136, 0);
}



.is-blue .middle::before,
.button-container::after {
  animation-name: animate-circle-reverse;
  background-color: rgb(255, 136, 0);
}

.is-red .middle::before,
.button-container::after {
  animation-name: animate-circle-reverse;
  background-color: rgb(255, 0, 179);
}

@keyframes animate-circle {
  from {
    left: -10vw;
  }
  to {
    left: calc(100% - 0vw);
  }
}

@keyframes animate-circle-reverse {
  from {
    right: -10vw;
  }
  to {
    right: calc(100% - 0vw);
  }
}

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

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

h2 {
  color: rgb(235, 235, 235);
  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(255, 136, 0);
  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(255, 0, 179);
}

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

.button-container {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-evenly;
}

.button {
  all: unset;
  font-family: "SuisseBPIntl-Medium", sans-serif;
  font-size: 30px;
  color: rgb(235, 235, 235);
  width: 16vw;
  height: 16vw;
  border-radius: 100%;
  background-color: rgb(54, 202, 74);
  cursor: pointer;
}

.is-red #button-1 {
  background-color: rgb(255, 0, 179);
}

.is-blue #button-1 {
  background-color: rgb(255, 0, 179);
}

.is-red #button-2 {
  background-color: rgb(255, 136, 0);
}

.is-blue #button-2 {
  background-color: rgb(255, 136, 0);
}

.is-red #button-3 {
  background-color: rgb(255, 0, 179);
}

.is-blue #button-3 {
  background-color: rgb(255, 0, 179);
}
