.center-box {
    height: 80%;
    width: 95%;
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
    border: 5px solid black;
    border-radius: 10px;
}

.main-container {
  height: 600px;
  width: 80%;
  max-width: 600px;
  margin: 0 auto;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 5px;
}

#game-display, #settings-display, #stats-display {
  display: none;
}

#stats-display {
  flex-direction: column;
  align-items: center;
  overflow: auto;
  height: 100%;
}

#display {
  font-size: 100px;
  margin: 15px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.display-row {
  display: flex;
  flex-direction: row;
}

.display-box {
  display: flex;
  flex-direction: column;
  height: 100px;
  width: 100px;
  border: 2px solid black;
}

.display-box.right {
  border-right: 4px solid black;
}

.display-box.left {
  border-left: 4px solid black;
}

.display-box.top {
  border-top: 4px solid black;
}

.display-box.bottom {
  border-bottom: 4px solid black;
}

.display-box.active {
  background-color: lightblue;
}

button {
  padding: 10px 20px;
  font-size: 20px;
  margin: 10px;
  background-color: white;
  border: 2px solid black;
  border-radius: 5px;
}

#score-board {
  margin: 10px 0;
  font-size: 17px;
}

#title {
  font-size: 40px;
}

.stat {
  margin-top: 1px;
  margin-bottom: 1px;
  padding: 1px;
}

#correct {
  color: #459735;
}

#incorrect {
  color: #D15748;
}

#correctness {
  padding: 5px;
}


#pergame-stats-container {
  display: flex;
  flex-direction: row;
  margin-bottom: 20px;
}

#pergame-stats-table {
  width: 500px;
  border-collapse: collapse;
}

#pergame-stats-table th, #pergame-stats-table td {
  padding: 6px;
  border: 1px solid #dddddd;
  text-align: center;
}

#pergame-stats-table tr.flawless {
  background-color: lightgreen;
}

#pergame-stats-table thead {
  background-color: #dddddd;
}


#print-stats {
  position: relative;
  top: 10px;
  left: 46%;
}