body {
  font-family: Arial, sans-serif;
  background: #f0f8ff;
  text-align: center;
  padding: 20px;
  background-image: url('imagefond.png');
  background-size: cover; /* ou repeat pour un motif */
  font-weight: bold;
}
h1{  font-size: 2em; }

#validate {
  border: 2px solid #333;   box-shadow: 2px 2px 10px rgba(0,0,0,0.2); background: #fbc02d; font-size: 1.5em;font-weight: bold;min-height: 50px; border-radius: 12px;
  }
#validate:hover {
      transform: scale(1.05);
  }
#shuffle-zone, #sorted-zone {
  border: 2px dashed #333;
  min-height: 100px;
  margin: 20px auto;
  width: 80%;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  padding: 10px;
  background: #ffffff97;
  box-shadow: 2px 2px 10px rgba(0,0,0,0.2);
}
#score,#score-max {font-weight: bold; margin-top: 10px; font-size: 1em;}
.value {
  background: #fbc02d;
  padding: 20px;
  border-radius: 5px;
  cursor: pointer;
  box-shadow: 1px 1px 5px rgba(0,0,0,0.3);
  font-size: 1.5em;
  border: 1px solid black;
  display: flex;
  justify-content: center;  /* Centre horizontalement */
  align-items: center;      /* Centre verticalement */
  min-width: 40px;          /* Optionnel : largeur minimale pour une jolie case */
  min-height: 40px;         /* Optionnel : hauteur minimale pour une jolie case */
  text-align: center;       /* Sécurité pour du texte */
}

.fraction {
  display: inline-block;
  text-align: center;
}

.fraction .num {
  display: block;
}

.fraction hr {
  margin: 2px 0;
  border: none;
  border-top: 2px solid #000;
}

.fraction .den {
  display: block;
}
    .top-right button {
      padding: 10px 20px;
      font-size: 1em;
      cursor: pointer;
      background: #fbc02d;
      border-radius: 8px;
    }
    .top-right:hover {
      transform: scale(1.05);}
    .top-right {
      position: absolute;
      top: 20px;
      right: 20px;
    }
    .score-chrono {
      display: flex;
      justify-content: space-between;
      padding: 10px 20px;
      font-size: 1.2em;

    }

    #instruction {
      font-size: 1.2em;
      color: #000000;
      font-weight: bold;
    }
