#spinner {
  text-align: center;
  margin: 100px 0px;
  font-size: 2.5rem;
  display: none;
}

.game-title {
  text-align: center;
}

button {
  color: #fff;
  font-size: 1.2rem;
  border-radius: 10px;
  border: none;
  padding: 10px;
  background-color: hsl(209, 100%, 50%);
  cursor: pointer;
  outline: none;
}

.play-button {
  margin-left: auto;
  margin-right: auto;
  display: block;
}

.categories-title {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  align-items: center;
  align-content: center;
  text-align: center;
  justify-content: center;
  margin-bottom: 40px;
  margin-top: 20px;
  gap: 10px;
}

.clue-content {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  width: calc(100% / 3);
  text-align: center;
  cursor: pointer;
  outline: none;
  gap: 40px;
}

.clue {
  display: flex;
  gap: 55px;
  justify-content: center;
}

h2 {
  padding: 10px;
  margin-left: 10px;
  margin-right: 10px;
  border-radius: 10px;
  font-size: 1.2rem;
  background-color: hsl(209, 100%, 50%);
  color: #fff;
}

#clue {
  display: flex;
}

.question {
  text-align: center;
  font-size: 2rem;
}

.answer {
  text-align: center;
  font-size: 2rem;
}

.answer-button {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.remove-answer {
  position: absolute;
  top: -45px;
  right: 5px;
  width: 40px;
  height: 40px;
  background-color: hsl(209, 100%, 50%);
}

#answer-overlay {
  display: block; /* Hidden by default */
  position: fixed;
  z-index: 100; /* Sit on top */
  margin: auto;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100vw;
  height: 100vh;
  overflow: auto; /* Enable scroll if needed */
  background-color: rgba(0, 0, 0, 0.5); /* Black with opacity */
}

.answer-content {
  display: block; /* Hidden by default */
  position: relative;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -150%);
  max-width: 800px;
  height: auto;
  background-color: #fff;
  border-radius: 10px;
  padding: 20px;
  text-align: center;
  z-index: 200;
}

.answer-content p {
  padding: 20px;
}

.close {
  color: red;
  float: right;
  margin-top: -10px;
  font-size: 2rem;
  cursor: pointer;
}

.close:hover {
  color: red;
}

.game-image-group {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.game-image img {
  max-width: 500px;
  width: 100%;
  height: auto;
  border-radius: 20px;
}

@media screen and (max-width: 1024px) {
  .game-image-group {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
  }
}
