/* -------------------------------------------------------------------------- */
/*                                 GLOBAL                                     */
/* -------------------------------------------------------------------------- */

body {
  background-color: #f4f4f4;
  margin: 0;
  padding: 0;
  font-family: 'Arial', sans-serif;
  height: 100vh;                        /* Hauteur totale de la fenêtre */
  display: flex;
  justify-content: center;              /* Centre horizontalement */
  align-items: center;                  /* Centre verticalement */
}


/* -------------------------------------------------------------------------- */
/*                                 TYPO                                       */
/* -------------------------------------------------------------------------- */

/* h1 principal */
h1 {
  text-align: center;
  color: #333;
}


/* -------------------------------------------------------------------------- */
/*                                 OTHERS                                     */
/* -------------------------------------------------------------------------- */

/* Utilitaires généraux */
.container {
  max-width: 600px;
  margin: 50px auto;
  background-color: white;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
}

#info {
  font-size: 18px;
  color: #555;
}



/* -------------------------------------------------------------------------- */
/*                                 LINKS                                      */
/* -------------------------------------------------------------------------- */

/* Exemple : lien retour */
a {
  color: #0077cc;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}


/* -------------------------------------------------------------------------- */
/*                                 FORMS                                      */
/* -------------------------------------------------------------------------- */

/* Style du champ input */
input {
  padding: 10px;
  font-size: 16px;
  margin-top: 10px;
  width: 100%;
  box-sizing: border-box;
  border: 1px solid #ccc;
  border-radius: 5px;
}

/* Error message style */
.error-message {
  color: red;
  font-size: 14px;
  margin-top: 10px;
  height: 20px; /* pour éviter les sauts de ligne quand vide */
}

/* -------------------------------------------------------------------------- */
/*                                 TABLE                                      */
/* -------------------------------------------------------------------------- */

/* Pas encore utilisé */


/* -------------------------------------------------------------------------- */
/*                                 BUTTONS                                    */
/* -------------------------------------------------------------------------- */

/* Style des boutons */
button {
  padding: 10px 20px;
  background-color: #0077cc;
  color: white;
  border: none;
  border-radius: 5px;
  font-size: 16px;
  cursor: pointer;
  margin-top: 10px;
}

button:hover {
  background-color: #005fa3;
}


/* -------------------------------------------------------------------------- */
/*                                 LAYOUT                                     */
/* -------------------------------------------------------------------------- */

/* -------------------------------------------------------------------------- */
/*                                 HEADER                                     */
/* -------------------------------------------------------------------------- */

/* Pour futur header s’il y en a */


/* -------------------------------------------------------------------------- */
/*                                 NAV                                        */
/* -------------------------------------------------------------------------- */

/* Pas utilisé pour ce projet */


/* -------------------------------------------------------------------------- */
/*                                 MAIN                                       */
/* -------------------------------------------------------------------------- */

/* Élément central de jeu */
#game {
  display: flex;
  flex-direction: column;
  gap: 15px;
  text-align: center;
}


/* -------------------------------------------------------------------------- */
/*                                 ASIDE                                      */
/* -------------------------------------------------------------------------- */

/* Pas encore utilisé */


/* -------------------------------------------------------------------------- */
/*                                 FOOTER                                     */
/* -------------------------------------------------------------------------- */

/* Pour futur pied de page */
