/* General Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Updated Font Styling */
body {
  font-family: 'Inter', sans-serif;
  /* Modern font */
  line-height: 1.6;
  background-color: #f9f9f9;
  color: #333;
  padding: 20px;
}

header h1 {
  font-size: 2.5rem;
  /* Slightly larger and modern title size */
  font-weight: 600;
  /* Semi-bold for emphasis */
  color: #222;
}

footer {
  font-family: 'Inter', sans-serif;
  /* Ensure font consistency */
  font-size: 0.9rem;
  color: #666;
}


/* Centered container with margins */
.container {
  max-width: 800px;
  margin: 0 auto;
  padding: 20px;
  background: #ffffff;
  /* White background for content */
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  /* Subtle shadow */
}

/* Header styling */
header {
  text-align: center;
  margin-bottom: 20px;
}

/* Main content */
main {
  margin-bottom: 20px;
}

/* Animated HR */
.animated-hr {
  border: none;
  /* Remove default styling */
  height: 4px;
  /* Line thickness */
  background: linear-gradient(90deg, #007bff, #00c6ff, #007bff);
  /* Gradient colors */
  width: 80%;
  /* Default width */
  margin: 10px auto;
  /* Center the line */
  border-radius: 2px;
  /* Rounded edges */
  animation: moveGradient 3s linear infinite;
  /* Infinite animation */
}

/* Keyframes for the gradient animation */
@keyframes moveGradient {
  0% {
    background-position: 0% 50%;
  }

  100% {
    background-position: 100% 50%;
  }
}

/* Quiz Styling */
.quiz-question {
  margin-bottom: 20px;
}

.quiz-question p {
  font-weight: 600;
}

#submit-quiz {
  background-color: #007bff;
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 5px;
  cursor: pointer;
}

#submit-quiz:hover {
  background-color: #0056b3;
}

#quiz-result {
  margin-top: 20px;
  padding: 10px;
  background: #f9f9f9;
  border: 1px solid #ddd;
  border-radius: 5px;
}

ul {
  padding-left: 15px;
}