body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  background-color: #e3f2fd; /* Light blue background */
}

.container {
  background: #ffffff;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
  width: 90%;
  max-width: 400px;
  text-align: center;
}

h1 {
  color: #1565c0;
}

button {
  background-color: #1565c0;
  color: white;
  border: none;
  padding: 10px 15px;
  border-radius: 5px;
  cursor: pointer;
  font-size: 16px;
  transition: transform 0.2s, background-color 0.3s;
}

button:hover {
  background-color: #0d47a1;
  transform: scale(1.1);
}

#options button {
  margin: 5px 0;
  width: 100%;
  transition: transform 0.3s;
}

#options button:hover {
  transform: scale(1.05);
}

#quiz-container, #score-container, #end-game {
  display: none;
}

#feedback {
  margin-top: 10px;
  font-weight: bold;
  animation: fade-in 0.3s ease-in-out;
}

@keyframes fade-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes slide-in {
  from {
    transform: translateX(-100%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

#question {
  animation: slide-in 0.5s ease-in-out;
}

#leaderboard {
  background-color: #f1f8e9;
  padding: 15px;
  border-radius: 10px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  margin-top: 10px;
  animation: pop-in 0.5s ease-in-out;
}

@keyframes pop-in {
  from {
    transform: scale(0.8);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

#intro-animation {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 20px;
}

.moving-object {
  width: 30px;
  height: 30px;
  background-color: #4caf50; /* Green ball */
  border-radius: 50%;
  margin: 5px;
  animation: move-bounce 2s infinite;
}

@keyframes move-bounce {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-20px);
  }
}

footer {
  margin-top: 20px;
  font-size: 12px;
  color: #666;
}