* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  align-items: center;
  background: whitesmoke;
  display: flex;
  flex-direction: column;
  font-family: sans-serif;
  padding: 25px;
  width: 100%;
}
#board {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  grid-template-rows: repeat(6, 1fr);
  width: 700px;
  height: 600px;
  margin: 10px 0 25px;
  background-color: #0066cc;
  border-radius: 10px;
  padding: 10px;
  gap: 5px;
}
#board div {
  background-color: white;
  border-radius: 50%;
  border: 2px solid #004499;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

#board div:hover {
  background-color: #ffeb3b;
  transform: scale(1.05);
}

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

#current-player {
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 15px;
  color: #333;
}

.game-controls {
  margin: 20px 0;
}

#reset-btn {
  background-color: #4CAF50;
  border: none;
  border-radius: 5px;
  color: white;
  cursor: pointer;
  font-size: 16px;
  font-weight: bold;
  padding: 12px 24px;
  text-transform: uppercase;
  transition: background-color 0.3s ease;
}

#reset-btn:hover {
  background-color: #45a049;
}

.footer {
  align-items: center;
  display: flex;
  justify-content: space-between;
  width: 700px;
}

.player1, .player2, .tie {
  background-color: #f5f5f5;
  border-radius: 5px;
  border: 2px solid #ddd;
  color: #333;
  display: block;
  font-size: 16px;
  font-weight: bold;
  min-height: 60px;
  padding: 15px 30px;
  text-align: center;
  text-transform: uppercase;
  transition: all 0.3s ease;
}

.player1:not(:empty) {
  background-color: #ffcdd2;
  border-color: #f44336;
  color: #d32f2f;
}

.player2:not(:empty) {
  background-color: #bbdefb;
  border-color: #2196f3;
  color: #1976d2;
}

.tie:not(:empty) {
  background-color: #dcedc8;
  border-color: #8bc34a;
  color: #689f38;
}







