body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column; /* Pour afficher les éléments en colonne */
    align-items: center; /* Pour centrer les éléments horizontalement */
    height: 100vh;
    background-color: #f2f2f2;
    background-color: #060606;
}
.container {
    display: flex;
}

#sudoku {
    border: 2px solid #000;
    width: 565px;
    height: 565px;
    display: grid;
    grid-template-columns: repeat(9, 1fr);
    grid-template-rows: repeat(9, 1fr);
    margin-top: -3px;
}

.cell {
    border: 1px solid #888;
    text-align: center;
    font-size: 20px;
    position: relative;
    background-color: #f2f2f2;
}

.main-digit {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.annotations {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(3, 1fr);
    position: absolute;
    width: 100%;
    height: 100%;
    margin-top: 7%;
}

.annotation {
    font-size: 10px;
    text-align: center;
}



#buttons {
    margin-left: 20px;
    display: flex;
    flex-direction: column;
}

button {
    margin-bottom: 10px;
    padding: 5px 10px;
    font-size: 16px;
}

input {
    width: 350px;
    text-align: center;
    margin-left: -245px;
}

.container {
    display: flex;
    margin-bottom: 20px; /* Ajout de marge en bas */
    margin-top: 10%;
}

.input-section input,
.input-section button {
    margin-right: 20px; /* Ajout de marge entre les éléments */
    height: 40px; /* Ajustement de la hauteur */
    box-sizing: border-box; /* Pour inclure la hauteur et la bordure dans la taille totale */
    margin-right: 30px;
}

#loadSudoku {
    margin-top: -10px;
}

.cell,
.annotation {
    pointer-events: none;
    cursor: default; /* Assurez-vous que le curseur n'apparaît pas comme une zone de texte éditable */
}

/* CSS */
.button-green {
    appearance: none;
    backface-visibility: hidden;
    background-color: #27ae60;
    border-radius: 8px;
    border-style: none;
    box-shadow: rgba(39, 174, 96, .15) 0 4px 9px;
    box-sizing: border-box;
    color: #fff;
    cursor: pointer;
    display: inline-block;
    font-family: Inter,-apple-system,system-ui,"Segoe UI",Helvetica,Arial,sans-serif;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: normal;
    line-height: 0.5;
    outline: none;
    overflow: hidden;
    padding: 13px 20px;
    position: relative;
    text-align: center;
    text-decoration: none;
    transform: translate3d(0, 0, 0);
    transition: all .3s;
    user-select: none;
    -webkit-user-select: none;
    touch-action: manipulation;
    vertical-align: top;
    white-space: nowrap;
  }
  
  .button-green:hover {
    background-color: #1e8449;
    opacity: 1;
    transform: translateY(0);
    transition-duration: .35s;
  }
  
  .button-green:active {
    transform: translateY(2px);
    transition-duration: .35s;
  }
  
  .button-green:hover {
    box-shadow: rgba(39, 174, 96, .2) 0 6px 12px;
  }

  /* CSS */
.button-red {
    appearance: none;
    backface-visibility: hidden;
    background-color: #ae2727;
    border-radius: 8px;
    border-style: none;
    box-shadow: rgba(174, 39, 39, 0.15) 0 4px 9px;
    box-sizing: border-box;
    color: #fff;
    cursor: pointer;
    display: inline-block;
    font-family: Inter,-apple-system,system-ui,"Segoe UI",Helvetica,Arial,sans-serif;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: normal;
    line-height: 0.5;
    outline: none;
    overflow: hidden;
    padding: 13px 20px;
    position: relative;
    text-align: center;
    text-decoration: none;
    transform: translate3d(0, 0, 0);
    transition: all .3s;
    user-select: none;
    -webkit-user-select: none;
    touch-action: manipulation;
    vertical-align: top;
    white-space: nowrap;
  }
  
  .button-red:hover {
    background-color: #841e1e;
    opacity: 1;
    transform: translateY(0);
    transition-duration: .35s;
  }
  
  .button-red:active {
    transform: translateY(2px);
    transition-duration: .35s;
  }
  
  .button-red:hover {
    box-shadow: rgba(174, 39, 39, 0.2) 0 6px 12px;
  }

  /* CSS */
.button-yellow {
    appearance: none;
    backface-visibility: hidden;
    background-color: #b8c416;
    border-radius: 8px;
    border-style: none;
    box-shadow: rgba(174, 160, 39, 0.15) 0 4px 9px;
    box-sizing: border-box;
    color: #fff;
    cursor: pointer;
    display: inline-block;
    font-family: Inter,-apple-system,system-ui,"Segoe UI",Helvetica,Arial,sans-serif;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: normal;
    line-height: 0.5;
    outline: none;
    overflow: hidden;
    padding: 13px 20px;
    position: relative;
    text-align: center;
    text-decoration: none;
    transform: translate3d(0, 0, 0);
    transition: all .3s;
    user-select: none;
    -webkit-user-select: none;
    touch-action: manipulation;
    vertical-align: top;
    white-space: nowrap;
}
  ²
.button-yellow:hover {
    background-color: #847d1e;
    opacity: 1;
    transform: translateY(0);
    transition-duration: .35s;
}
  
.button-yellow:active {
    transform: translateY(2px);
    transition-duration: .35s;
}
  
.button-yellow:hover {
    box-shadow: rgba(165, 174, 39, 0.2) 0 6px 12px;
}


/* CSS */
.button-blue {
    appearance: none;
    backface-visibility: hidden;
    background-color: #3b21d1;
    border-radius: 8px;
    border-style: none;
    box-shadow: rgba(48, 39, 174, 0.15) 0 4px 9px;
    box-sizing: border-box;
    color: #fff;
    cursor: pointer;
    display: inline-block;
    font-family: Inter,-apple-system,system-ui,"Segoe UI",Helvetica,Arial,sans-serif;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: normal;
    line-height: 0.5;
    outline: none;
    overflow: hidden;
    padding: 13px 20px;
    position: relative;
    text-align: center;
    text-decoration: none;
    transform: translate3d(0, 0, 0);
    transition: all .3s;
    user-select: none;
    -webkit-user-select: none;
    touch-action: manipulation;
    vertical-align: top;
    white-space: nowrap;
}
      
.button-blue:hover {
    background-color: #251e84;
    opacity: 1;
    transform: translateY(0);
    transition-duration: .35s;
}
    
.button-blue:active {
    transform: translateY(2px);
    transition-duration: .35s;
 }
    
.button-blue:hover {
    box-shadow: rgba(48, 39, 174, 0.2) 0 6px 12px;
}

/* CSS */
.button-blue {
    appearance: none;
    backface-visibility: hidden;
    background-color: #3b21d1;
    border-radius: 8px;
    border-style: none;
    box-shadow: rgba(48, 39, 174, 0.15) 0 4px 9px;
    box-sizing: border-box;
    color: #fff;
    cursor: pointer;
    display: inline-block;
    font-family: Inter,-apple-system,system-ui,"Segoe UI",Helvetica,Arial,sans-serif;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: normal;
    line-height: 0.5;
    outline: none;
    overflow: hidden;
    padding: 13px 20px;
    position: relative;
    text-align: center;
    text-decoration: none;
    transform: translate3d(0, 0, 0);
    transition: all .3s;
    user-select: none;
    -webkit-user-select: none;
    touch-action: manipulation;
    vertical-align: top;
    white-space: nowrap;
}
  
.button-blue:hover {
    background-color: #251e84;
    opacity: 1;
    transform: translateY(0);
    transition-duration: .35s;
}
  
.button-blue:active {
    transform: translateY(2px);
    transition-duration: .35s;
}
  
.button-blue:hover {
    box-shadow: rgba(48, 39, 174, 0.2) 0 6px 12px;
}


/* CSS */
.button-orange {
    appearance: none;
    backface-visibility: hidden;
    background-color: #d16221;
    border-radius: 8px;
    border-style: none;
    box-shadow: rgba(174, 88, 39, 0.15) 0 4px 9px;
    box-sizing: border-box;
    color: #fff;
    cursor: pointer;
    display: inline-block;
    font-family: Inter,-apple-system,system-ui,"Segoe UI",Helvetica,Arial,sans-serif;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: normal;
    line-height: 0.5;
    outline: none;
    overflow: hidden;
    padding: 13px 20px;
    position: relative;
    text-align: center;
    text-decoration: none;
    transform: translate3d(0, 0, 0);
    transition: all .3s;
    user-select: none;
    -webkit-user-select: none;
    touch-action: manipulation;
    vertical-align: top;
    white-space: nowrap;
}
  
.button-orange:hover {
    background-color: #843e1e;
    opacity: 1;
    transform: translateY(0);
    transition-duration: .35s;
}
  
.button-orange:active {
    transform: translateY(2px);
    transition-duration: .35s;
}
  
.button-orange:hover {
    box-shadow: rgba(174, 77, 39, 0.2) 0 6px 12px;
}

  