html{
  font-family: 'Inclusive Sans', 'Playpen Sans', Arial, Helvetica, sans-serif;
  line-height: 1.6; 
}
h1{
  font-family:"Open-dyslexic",'Gill Sans', 'Gill Sans MT' ;
  color: snow;
  background-color: black;
  padding: 30px;
  text-align: center;    
}
main{margin-bottom: 30px;
  font-size: 2rem;
  text-align: center;
}
footer{
  background-color: rgb(239, 177, 159);
  padding: 15px 30px;
  border-top: 1px solid rgb(230, 237, 236);
  font-size: small;
  text-align: center;
}
/* Styles pour la section des instructions */
.instructions {
  background-color: #f2f2f2; 
  color: black; 
  font-size: large;
  padding: 20px; 
  margin-bottom: 0;
}
/* Styles pour les images à l'intérieur de l'élément "piano" */
#piano img {
  width: 20vw;
  height: 60vh;
}
/* Styles pour l'élément "piano" */
#piano {
  display: flex; 
  flex-wrap: wrap; 
  justify-content: space-around;  /* pour les éléments enfants 
  seront répartis de manière égale dans l’espace disponible, 
  avec un espace égal autour de chaque élément.*/
  margin-top: 0; 
  margin-bottom: 0;}

/* Styles pour l'affichage du score */
#score{ 
  font-size: 1.6rem;
  color: lightslategrey;
}

/* Styles pour les classes "correct" et "incorrect" */
.correct {
  color: green;
}
.incorrect {
  color: red;
}

/* Styles pour le bouton d'aide (ID "help") */
#help{
  background: #60707a;
  background-image: -webkit-linear-gradient(top, #60707a, #2980b9);
  background-image: -moz-linear-gradient(top, #60707a, #2980b9);
  background-image: -ms-linear-gradient(top, #60707a, #2980b9);
  background-image: -o-linear-gradient(top, #60707a, #2980b9);
  background-image: linear-gradient(to bottom, #60707a, #2980b9);
  -webkit-border-radius: 28;
  -moz-border-radius: 28;
  border-radius: 68px;
  color: #ffffff;
  font-family: 'Inclusive Sans', 'Playpen Sans', Arial, Helvetica, sans-serif;
  font-size: medium;
} 

/* Styles pour le survol du bouton d'aide */
#help:hover {
  cursor: pointer;
  background: #3cb0fd;
  background-image: -webkit-linear-gradient(top, #3cb0fd, #3498db);
  background-image: -moz-linear-gradient(top, #3cb0fd, #3498db);
  background-image: -ms-linear-gradient(top, #3cb0fd, #3498db);
  background-image: -o-linear-gradient(top, #3cb0fd, #3498db);
  background-image: linear-gradient(to bottom, #3cb0fd, #3498db);
  color: black;
  text-decoration: none;
}

/* Styles pour la fenêtre modale */
.modal {
  display: none; 
  position: fixed; 
  z-index: 1; 
  padding-top: 10px; 
  left: 0;
  top: 0;
  width: 100%; 
  height: 100%; 
  overflow: auto; 
 /* Le fond de la fenêtre modale est semi-transparent, ce qui permet de voir le contenu en dessous.*/
  background-color: rgba(0,0,0,0.4)
}
/* Styles pour le contenu de la fenêtre modale */
.modal-content {
  background-color: white; 
  margin: auto;
  padding: 20px;
  border: 1px solid #888;
  width: 40%;
}

/* Styles pour le bouton de fermeture de la fenêtre modale */
.close {
  color: #aaaaaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
}
/* Styles pour le survol du bouton de fermeture de la fenêtre modale */
/* :hover est basé sur le mouvement du curseur de la souris, 
tandis que :focus est basé sur la sélection de l’élément pour l’interaction */
.close:hover,
.close:focus {
  color: #f40d0d; /* Changement de couleur au survol ou au focus */
  text-decoration: none;
  cursor: pointer;
}

