body {
  font-family: "Poppins", sans-serif;
  background: linear-gradient(180deg, #a0e1ff, #ffffff);
  height: 100vh;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.container {
  max-width: 500px;
  width: 100%;
  background: #fff;
  padding: 20px;
  border-radius: 20px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  animation: fadeIn 0.8s ease-in-out;
  text-align: center;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

button {
  margin: 10px;
  padding: 12px 24px;
  font-size: 16px;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  transition: transform 0.2s, background-color 0.3s;
}

.start-btn {
  background-color: #28a745;
  color: white;
}

.restart-btn {
  background-color: #17a2b8;
  color: white;
}

.answer-btn {
  background-color: #ff8c42;
  color: white;
}

button:hover {
  transform: scale(1.05);
}

#preposition {
  font-size: 1.5em;
  font-weight: bold;
  margin: 20px 0;
  color: #007bff;
}

#score {
  font-size: 1.2em;
  margin-top: 10px;
}

.correct {
  background: #d4edda;
  border: 2px solid #28a745;
}

.wrong {
  background: #f8d7da;
  border: 2px solid #dc3545;
}

.container {
  position: relative;
  /* existing styles */
}

.main-page-btn {
  position: fixed;
  top: 20px;
  right: 20px;
  background-color: #007bff;
  color: white;
  border: none;
  padding: 10px 18px;
  border-radius: 12px;
  cursor: pointer;
  font-size: 14px;
  z-index: 1000; /* Make sure it’s above other content */
  transition: background-color 0.3s ease;
}

.main-page-btn:hover {
  background-color: #0056b3;
}
