h1 {
  text-align: center;
  margin: auto;
}

h3 {
  text-align: center;
  margin: auto;
  font-size: 2rem;
}

.grid {
  border: 1px solid;
  display: flex;
  flex-wrap: wrap;
  margin: auto;
  width: 85vmin;
  height: 72vmin;
  align-items: flex-end;
  align-content: flex-end;
}

.grid div {
  height: 16.65%;
  width: 14.15%;
  padding-top: 0px;
  padding-bottom: 0px;
  margin-top: 0px;
  margin-bottom: 0px;
}

.player-one {
  background-color: red;
  border-radius: 50%;
}

.player-two {
  background-color: blue;
  border-radius: 50%;
}

.winning {
  background-color: yellow;
  /* Add any other styling you want for winning squares */
  /*transition: background-color 4s ease;*/
}

.grid .divid {
  height: 16.65%;
  width: 0.1%;
  background-color: gray;
  margin: 0;
  padding: 0;
}

.falling {
  animation: fall 0.5s ease;
}

#restart-button {
  display: none;
  margin: auto;
  margin-top: 10px;
  background-color: yellow; /* Yellow background */
  color: black; /* Red text color */
  border: 2px solid green; /* Remove default button border */
  padding: 10px 20px; /* Adjust padding as needed */
  font-size: 30px; /* Set your desired font size */
  border-radius: 5px; /* Add a subtle border radius */
  cursor: pointer; 
}

@keyframes fall {
  from {
    transform: translateY(-600%);
  }
  to {
    transform: translateY(0);
  }
}
