
body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  background: transparent;
}

.background {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(120deg, #d4fc79, #96e6a1);
  animation: smooth-gradient 8s infinite alternate ease-in-out;
  filter: blur(8px);
  z-index: -1;
}

@keyframes smooth-gradient {
  0% {
    background: linear-gradient(120deg, #d4fc79, #96e6a1);
  }
  50% {
    background: linear-gradient(120deg, #96e6a1, #84fab0);
  }
  100% {
    background: linear-gradient(120deg, #84fab0, #d4fc79);
  }
}

header, main, footer {
  width: 100%;
  max-width: 600px;
  text-align: center;
  margin: auto;
  z-index: 1;
  position: relative;
}

#click-area {
  width: 80%;
  height: 50vh; /* Use half the viewport height */
  max-width: 500px;
  background: rgba(255, 255, 255, 0.4);
  border-radius: 10px;
  box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
  cursor: pointer;
  margin: 20px auto;
  transition: background-color 0.3s ease, transform 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  text-align: center;
}

#click-area:hover {
  background-color: rgba(255, 255, 255, 0.6);
  transform: scale(1.05);
}

canvas {
  margin-top: 20px;
  border: 1px solid #ddd;
  background: #fff;
}

.hidden {
  display: none;
}

.visible {
  display: block;
}
