body {
  display: grid;
  flex-wrap: column wrap;
  align-content: center;
  font-family: 'Rubik+Doodle', sans-serif;
  font-size: 16px;
  justify-content: center;
  background-color: #282626;
  color: #eaeaea;
}

.frontText {
  display: flex;
  height: 150px;
}

button {
  background: #0b9effdb;
  color: #333;
  font-size: 18px;
  font-family: 'Rubik+Doodle', sans-serif;
  border-radius: 25px; /* Squared sides */
  padding: 10px 15px; /* Even padding */
  border: none;
  cursor: pointer;
  transition: all 0.3s ease-in-out;
}

button:hover {
  background: #0b9dffa2;
  color: #191919;
  transform: scale(1.05); /* Slight scale effect on hover */
}

.hide {
  display: none;
}

.button-container {
  text-align: center;
}

.content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-content: center;
  cursor: pointer; 
}

.games {
  display: flex;
  justify-content: space-evenly;
}

.score {
  display: flex;
  justify-content: flex-end;
  font-size: 26px;
  padding: 40px 20px 5px 10px;
}

.winner {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  padding: 4rem;
  background-color: #111;
  text-align: center;
  z-index: 10;
  opacity: 0;
  pointer-events: none;
  transition: all 250ms ease;
}

.game-over .winner {
  opacity: 1;
}

@media screen and (max-width: 768px) {
  body {
    font-size: 14px; /* Adjust font size for smaller screens */
  }

  .frontText {
    font-size: 20px; /* Adjust font size for smaller screens */
    height: auto; /* Adjust height for smaller screens */
  }
}