




body {
  margin: 0;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;

  /* Background image */
  background: url('background.jpg') no-repeat center center fixed;
  background-size: cover;
  color: #fff;
}


.quiz-container {
  max-width: 1000px;
  margin: 50px auto;
  padding: 10px;
  background: rgba(0, 0, 0, 0.60); /* lighter transparency */
  border-radius: 16px;
  box-shadow: 0 8px 25px rgba(0,0,0,0.3);
  text-align: center;
  animation: fadeIn 1s ease-in;
}


h1 {
  font-size: 40px;
  margin-bottom: 40px;
  color: #3bbe45;
}

.top-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
}

#flag-container img {
  width: 150px;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.4);
}

#help-btn {
  background: #3498db;
  color: white;
  padding: 10px 20px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  transition: background 0.3s;
  font-size: 20px;
}

#help-btn:hover {
  background: #2980b9;
}

#question-container {
  font-size: 30px;
  margin: 20px 0;
  font-weight: bold;
}

/* === Answer grid layout === */
#answers-container.grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px;
}

/* Default answer buttons (gray) */
#answers-container button {
  width: 300px;
  height: 50px;
  margin: 0 auto;
  padding: 15px;
  border: none;
  border-radius: 12px;
  background-color: #e0e0e0; /* gray */
  color: #000;
  font-size: 20px;
  cursor: pointer;
  transition: transform 0.2s, background-color 0.3s;
}

/* Hover effect (still gray, slightly darker) */
#answers-container button:hover {
  transform: scale(1.05);
  background-color: #d5d5d5;
}

/* Correct answer (green) */
#answers-container button.correct {
  background-color: #4CAF50 !important;
  color: #fff;
}

/* Wrong answer (red) */
#answers-container button.wrong {
  background-color: #F44336 !important;
  color: #fff;
}

.controls {
  margin-top: 20px;
}

#score, #progress {
  margin-top: 12px;
  font-size: 25px;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}



























