/* CSS Document */
/* CSS Document */

body { 
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  text-align: center;
}

#grid, #selection {
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  width: 600px;
}

#grid {
  height: 600px;
  margin-top: 6rem;
}

#selection {
  height: 50px;
  margin-top: 3rem;
  padding-left: 0.2rem;
}

#mistakes {
  color: red;
  font-weight: bold;
  font-size: 1.5rem;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.cell, .digit {
  width: 64.23px;
  height: 64.23px;
  border: 1px solid rgba(0, 0, 0, 0.572);
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 3rem;
  cursor: pointer;
}

.digit { width: 58px }

.cell-bottom-border { border-bottom: 3px solid black }
.cell-right-border { border-right: 3px solid black }

.selected-digit {
  background-color: rgba(165, 36, 250, 0.695);
  color: black;
}

.correct-digit { background-color: rgba(104, 255, 104, 0.605) }
.wrong-digit { background-color: rgba(253, 87, 87, 0.581) }
