body {
  display: flex;
  flex-direction: column;
  align-items: center;
  font: 12px Arial;
  background: #faf8ef;
}

h2 {
  color: #555555;
  font-size: 28px;
  font-weight: bolder;
  letter-spacing: .5em;
  margin: 0;
  margin-bottom: 3px;
}

div.game-details {
  width: 380px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 5px;
}

div.right {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  width: 100%;
}

div.new-game-container{
  background: #bbada0;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  border-radius: 5px;
  padding: 5px;
  align-self: flex-end;
}

.new-game-container span {
  width: 100%;
  text-align: center;
}

label {
  color: white;
  font-size: 14px;
  font-weight: bolder;
}

.new-game-button {
  width: 60px;
  height: 20px;
  font-size: 10px;
  font-weight: bolder;
  text-align: center;
  line-height: 21px;
  color: white;
  background: #8b7d70;
  border-radius: 5px;
}

.new-game-button:hover {
  cursor: pointer;
}

div.score-container {
  width: 40%;
  display: flex;
}

.score-container div {
  height: 50px;
  margin: 2px;
  padding: 0 18px;
  background: #bbada0;
  border-radius: 5px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

span {
  color: #eeeeee;
  font-size: 14px;
  font-weight: bolder;
}

.score-container span.score {
  color: white;
  font-size: 22px;
}

div.board {
  display: flex;
  margin-bottom: 20px;
}

canvas {
  position: absolute;
  left: 0;
  right: 0;
  margin: 0 auto;
  border-radius: 5px;
}

canvas.background {
  background-color: #bbada0;
}

p {
  text-align: center;
}
