/* style.css */
@font-face {
  font-family: 'Pong';
  src: url('https://www.marouze.com/GAMES/PONG/pong-webfont.woff2') format('woff2');
}

body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 100vh;
  margin: 0;
background-image: url('https://www.marouze.com/GAMES/PONG/pong_bg_1920x1080_V3-min.jpg');
}

/* Style de base pour les boutons */
button {
  padding: 10px 20px;
  font-size: 16px;
  margin: 5px;
  border: none;
  border-radius: 5px;
  background-color: #3498db;
  color: #fff;
  cursor: pointer;
  transition: background-color 0.3s ease; /* Transition pour l'effet hover */
  font-family: 'Pong', Arial, sans-serif;
}

/* Effet au survol des boutons */
button:hover {
  background-color: #2980b9;
  font-family: 'Pong', Arial, sans-serif;
}

/* Style pour centrer le titre */
h1 {
  text-align: center;
  font-family: 'Pong', Arial, sans-serif;
  color: #fff;
}

/* Style pour centrer le canvas */
#jeuPongCanvas {
  display: block;
  margin: auto;
  border: 1px solid #fff; /* Ajoutez une bordure si nécessaire */
  font-family: 'Pong', Arial, sans-serif;
}

/* Style pour centrer les boutons */
#choixDifficulte {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 10px; /* Ajustez la marge au besoin */
}

/* Appliquer le même style aux boutons de choix de difficulté */
#choixDifficulte button {
  display: inline-block;
  margin: 5px;
}
