/* ====== GENERAL ====== */
body {
  font-family: Arial, sans-serif;
  background-color: #f3f3f3;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 0;
}

/* ====== NAVIGATION BAR ====== */
.top-nav {
  position: relative;
  width: 100%;
  padding: 10px 0;
  border-bottom: 1px solid #ddd;
  background-color: transparent;
}

.top-nav ul {
  margin: 0;
  padding: 0;
  list-style: none;
  text-align: center;
  position: relative;
}

.top-nav li {
  display: inline-block;
}

.top-nav li a {
  text-decoration: none;
  font-size: 1.2rem;
  color: black;
  padding: 8px 12px;
  transition: background-color 0.2s ease;
}

.top-nav li a:hover {
  background-color: #ddd;
  border-radius: 6px;
}

.top-nav li.home-icon {
  position: absolute;
  left: 1px;
  top: 50%;
  transform: translateY(-50%);
}

/* ====== MAIN CONTENT ====== */
.container {
  text-align: center;
  width: 100%;
  max-width: 600px;
  margin-top: 40px;
}

.card {
  font-size: 1.6rem;
  background: white;
  padding: 30px 40px;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  margin-bottom: 20px;
}

.buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px;
  margin-top: 20px;
}

.buttons button {
  font-size: 1.2rem;
  margin: 10px;
  padding: 10px 20px;
  cursor: pointer;
  border: none;
  background-color: #eee;
  border-radius: 8px;
  transition: background-color 0.2s;
}

.buttons button:hover {
  background-color: #ccc;
}

.correct {
  background-color: #2ecc71 !important;
  color: white;
}

.incorrect {
  background-color: #e74c3c !important;
  color: white;
}

/* ====== STATS ====== */
.stats {
  font-size: 1rem;
  margin-top: 20px;
  color: #333;
}

/* ====== WELCOME PAGE TEXT ====== */
.welcome-container {
  flex-grow: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.welcome-container h1 {
  font-size: 2rem;
  color: #333;
}

.extras button {
  font-size: 1.2rem;
  margin: 10px 5px;
  padding: 10px 20px;
  cursor: pointer;
}