
body {
  font-family: Arial, sans-serif;
  text-align: center;
  background-color: rgb(131, 224, 241);
  margin: 0;
  padding: 0;
}

.container {
  margin: 50px auto;
  width: 300px;
}

h1 {
  color: #ee0b16;
}

#board {
  display: grid;
  grid-template-columns: repeat(3, 100px);
  grid-gap: 5px;
  margin: 30px auto;
}

.cell {
  width: 100px;
  height: 100px;
  background-color: #fff;
  border: 2px solid #333;
  font-size: 2rem;
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.cell:hover {
  background-color: #f0f0f0;
}

.cell.taken {
  cursor: not-allowed;
}

#status {
  margin-top: 20px;
  font-size: 1.2rem;
}

#restart {
  margin-top: 10px;
  padding: 10px 20px;
  background-color: #007bff;
  color: #fff;
  border: none;
  cursor: pointer;
  border-radius: 5px;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

#restart:hover {
  background-color: #0056b3;
  transform: scale(1.05);
}

.cell.highlight {
  background-color: #4caf50;
  color: #fff;
  animation: glow 1s infinite alternate;
}


@keyframes glow {
  0% {
    box-shadow: 0 0 10px #4caf50;
  }
  100% {
    box-shadow: 0 0 20px #4caf50;
  }
}

