@font-face {
  font-family: 'arcadClassic';
  src: url(./fonts/ARCADECLASSIC.TTF);
}

/* Définition de l'animation de respiration */
@keyframes breathe {
  0% {
    transform: scale(1);
    opacity: 1;
  }

  50% {
    transform: scale(1.05);
    /* Le texte grossit légèrement */
    opacity: 0.9;
  }

  100% {
    transform: scale(1);
    opacity: 1;
  }
}

* {
  margin: 0;
  padding: 0;
}

body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  background-color: rgb(29, 28, 28);

}

.game-container {
  border: 2px solid rgb(11, 176, 11);
  width: 75%;
  height: 500px;
  position: relative;
  background-color: rgb(29, 28, 28);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: end;
  top: 20%;
  align-self: center;
}

.score-container {
  border: 2px solid rgb(11, 176, 11);
  font-family: 'arcadClassic';
  font-size: 2rem;
  color: rgb(11, 176, 11);

  width: fit-content;
  align-self: center;

  padding: 5px;
  margin: 10px;
  display: none;
}

.play-button {
  padding: 15px;
  font-size: 3rem;
  border: 4px solid rgb(11, 176, 11);
  color: rgb(11, 176, 11);
  font-family: 'arcadClassic';
  align-items: center;
  align-self: center;
  margin-top: 25px;
  cursor: pointer;
}

.play-button:hover {
  scale: 1.1;
}

.keyBiding {}

.mainTitle {
  font-family: 'arcadClassic';
  color: rgb(11, 176, 11);
  margin: 20px;
  text-align: center;
  display: block;
}


.main-title-text {
  font-size: 5rem;
  color: rgb(11, 176, 11);
  font-family: 'arcadClassic';
  align-items: center;
  align-self: center;
  display: block;
  margin: 5px;

  /* Paramètres de l'animation */
  animation-name: breathe;
  animation-duration: 4s;
  /* Durée d'un cycle complet */
  animation-timing-function: ease-in-out;
  /* Courbe de vitesse */
  animation-iteration-count: infinite;
  /* Répéter à l'infini */
}