body {
  font-family: sans-serif;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: white;
  background-color: #333;
}

h1 {
  padding: 1rem;
}

.players {
  width: 29%;
  text-align: center;
}

.players div {
  margin-bottom: 1.5rem;
}

.players input {
  background-color: #3b3b3b;
  border: none;
  width: 90%;
  font-size: 1.2rem;
  padding: 0.4rem;
  color: white;
}

.players input:focus {
  outline: none;
  background-color: #3b3b3b;
}

.players label {
  font-size: 1.5rem;
}

.players button {
  width: 40%;
  padding: 1rem;
  font-size: 1.5rem;
  background-color: transparent;
  border: none;
  color: white;
  cursor: pointer;
  transition: 0.4s;
}

.players button:hover {
  background-color: #555;
}

.players h2 {
  text-align: start;
}

#gameBoard {
  background-color: #ffffff;
  display: grid;
  grid-template-columns: 11rem 11rem 11rem;
  grid-template-rows: 11rem 11rem 11rem;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

#gameBoard span {
  background-color: #333;
  display: grid;
  place-content: center;
  font-size: 5rem;
}

#gameBoard span.win {
  background-color: #25a340;
}

.cursor-pointer {
  cursor: pointer;
}
