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

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

h1,
h2,
h3,
h4,
ul {
  opacity: 0; /* Les textes seront initialement cachés */
}

h1 {
  color: rgb(0, 255, 0);
  transition: color 0.3s;
  font-size: 21vw;
  text-align: center;
  position: relative;
  font-family: "SuisseBPIntl-Bold";
  line-height: 0.9; /* Réduit l'interlignage du h1 */
  padding-top: 120px;
}

h1 {
  animation: fadeIn 1s forwards;
}

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

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

h2 {
  color: white;
  transition: color 0.3s;
  font-size: 80px;
  text-align: center;
  position: relative;
  font-family: "SuisseBPIntl-Medium", sans-serif;
}

.is-blue h2 {
  display: none
  }

h2 {
  animation: fadeIn 1s forwards 0.5s;
}

h3 {
  color: white;
  transition: color 0.3s;
  font-size: 80px;
  text-align: center;
  position: relative;
  font-family: "SuisseBPIntl-Medium", sans-serif;
  margin-bottom: 20px; /* Ajoute une marge basse de 20px */
}

.is-blue h3 {
  display: none;
}

h3 {
  animation: fadeIn 1s forwards 0.5s; 
}


h4 {
  color: white;
  transition: color 0.3s;
  font-size: 30px;
  text-align: center;
  position: relative;
  font-family: "SuisseBPIntl-Medium", sans-serif;
  margin-bottom: 50px; /* Ajoute une marge basse de 20px */
}



.is-blue h4 {
  display: none
  }

h4 {
  animation: fadeIn 1s forwards 2.5s; /* Début de l'animation après 0.5 seconde */
}
h5 {
  color: white;
  transition: color 0.3s;
  font-size: 80px;
  text-align: center;
  position: relative;
  font-family: "SuisseBPIntl-Medium", sans-serif;
  margin-bottom: 20px; /* Ajoute une marge basse de 20px */
}

.is-blue h5 {
  color: white;
}

.is-red h5 {
  display: none
  }



h6 {
  color: white;
  transition: color 0.3s;
  font-size: 17px;
  text-align: center;
  position: relative;
  font-family: "SuisseBPIntl-Medium", sans-serif;
}

.is-blue h6 {
  color: blue;
}

.is-red h6 {
  display: none
  }







/*h2:hover {
  color: white; /* Changemenr de couleur qaund la souris passe dessus */

.bio-grace-hopper {
  color: blue;
  text-decoration: none;
  transition: color 0.3s;
}

.bio-grace-hopper:hover {
  color: rgb(0, 255, 0);
  text-decoration: none;
}

/* Animation pour chaque titre */
@keyframes fadeIn {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}


.is-red.bio-grace-hopper:hover {
  color: blue;
}



.button-container {
  width: 100%;
  display: flex;
  justify-content: center;
  position: relative;
}

.button-info-container {
  display: flex;
  gap: 2rem;
}

.button {
  all: unset;
  font-family: "SuisseBPIntl-Medium", sans-serif;
  font-size: 30px;
  color: rgb(235, 235, 235);
  padding: 50px 100px;
  border-radius: 200px;
  cursor: pointer;
}

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

.button:hover {
  color: blue;
}

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

.is-blue #button-1 {
  background-color: white;
}
