body {
  font-family: sans-serif;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 2em;
}

#board {
  display: grid;
  grid-template-columns: repeat(6, 80px);
  grid-template-rows: repeat(6, 80px);
  gap: 0px;
  margin-top: 20px;
}

.cell {
  width: 80px;
  height: 80px;
  background-color: #38395c;
  border: 2px solid #888;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  cursor: pointer;
  user-select: none;
}

.cell:hover {
  background-color: #484973;
}

.cell.selected {
  background-color: #62639c;
}

.piece {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-color: white;
  position: relative;
}

.piece::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.piece.gote::after {
  opacity: 0.2;
}

.piece.blue::after {
  background-color: blue;
}

.piece.red::after {
  background-color: red;
}

#capturedDisplay1,
#capturedDisplay2 {
  display: grid;
  grid-template-columns: repeat(8, 40px);
  grid-template-rows: repeat(1, 40px);
  gap: 0px;
  margin-top: 20px;
}

.captured-piece {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background-color: white;
  position: relative;
  margin: auto;
}

.captured-piece.red {
  background-color: red;
}

.captured-piece.blue {
  background-color: blue;
}
