/* Resetting some basic styles */
body,
h1,
button {
  margin: 0;
  padding: 0;
  font-family: Arial, sans-serif;
}

body {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  background-color: #f0f2f5;
}

.game-container {
  text-align: center;
  background-color: #ffffff;
  border-radius: 10px;
  padding: 20px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  max-width: 400px;
  width: 100%;
}

h1 {
  margin-bottom: 20px;
  color: #333;
}

.scoreboard {
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
  font-size: 16px;
  color: #555;
}

.board {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-gap: 5px;
  margin: 10px 0;
}

.cell {
  width: 100px;
  height: 100px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 32px;
  font-weight: bold;
  background-color: #e6e6e6;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s, transform 0.2s;
}

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

.cell.clicked {
  cursor: not-allowed;
}

.message {
  margin: 15px 0;
  font-size: 18px;
  font-weight: bold;
  color: #f39c12;
}

.timer {
  font-size: 14px;
  color: #666;
  margin-bottom: 10px;
}

.settings {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 15px;
}

.settings label {
  font-size: 14px;
  color: #333;
}

.settings input[type="text"] {
  padding: 5px;
  border: 1px solid #ddd;
  border-radius: 4px;
  text-align: center;
}

.settings input[type="color"] {
  cursor: pointer;
}

.controls {
  margin-bottom: 15px;
}

.controls label {
  font-size: 14px;
  margin-right: 5px;
  color: #333;
}

.controls select {
  padding: 5px;
  border: 1px solid #ddd;
  border-radius: 4px;
  background-color: #fff;
}

button {
  padding: 10px 20px;
  font-size: 14px;
  color: #fff;
  background-color: #3498db;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s;
}

button:hover {
  background-color: #2980b9;
}
