body {
  font-family: 'Arial', sans-serif;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  margin: 0;
}

.connect4 {
  text-align: center;
}

.board {
  display: grid;
  grid-template-columns: repeat(7, 50px);
  gap: 5px;
  margin: 20px 0;
}

.cell {
  width: 50px;
  height: 50px;
  border: 1px solid #ccc;
  cursor: pointer;
}

.cell.empty {
  background-color: #eee;
}

.cell.red {
  background-color: #f00;
}

.cell.yellow {
  background-color: #ff0;
}

h1 {
  color: #333;
}

.reset-btn {
  padding: 10px;
  font-size: 16px;
  cursor: pointer;
}

.flash {
  animation: flashAnimation 1s infinite;
}

@keyframes flashAnimation {
  0%, 50%, 100% {
    background-color: #000; /* Use the default background color of your cells */
  }
  25%, 75% {
    background-color: #fff; /* Change this to the background color you want during the flash */
  }
}

