body {
  font-family: "Times New Roman", Times, serif;
  text-align: center;
  margin: 50px auto;
  background-color: #f5f5f5;
  max-width: 800px;
  padding: 0 20px;
}

#order-of-operations {
  margin-top: 80px;
}

section {
  margin-bottom: 40px;
}

.question-grid {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 30px;
}

.column {
  flex: 1;
  padding: 20px;
  border-radius: 8px;
  text-align: center;
}

.level-1 {
  background-color: #e6f4ea; /* soft green background */
  border-left: 6px solid #4CAF50; /* bold green accent */
}

.level-2{
  background-color: #fff8e1; /* soft dark yellow background */
  border-left: 6px solid #f4b400; /* bold dark yellow accent */
}

.level-3 {
  background-color: #ffe5e0; /* soft red-orange background */
  border-left: 6px solid #ff7043; /* bold red-orange accent */
}

/* Light blue styling for Algebra Practice */
.algebra {
  background-color: #add8e6; /* Light blue background */
  border-left: 6px solid #2196F3; /* Bold blue accent */
}

/* Light purple styling for Rounding Practice */
.rounding {
  background-color: #d8bfd8; /* Light purple background */
  border-left: 6px solid #9c27b0; /* Bold purple accent */
}

.column h3 {
  color: #4CAF50;
  font-size: 20px;
  margin-bottom: 10px;
}

.level-1 h3,
.level-2 h3,
.level-3 h3 {
  color: black;
}

button {
  font-family: "Times New Roman", Times, serif;
  padding: 10px 20px;
  margin: 10px;
  font-size: 16px;
  background-color: #666666;
  color: white;
  border: none;
  border-radius: 5px;
} 

.button-row {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 10px;
}

.quiz-button-row {
  display: flex;
  justify-content: center;
  margin-top: 12px;
}

/* Base quiz button style */
.quiz-btn {
  display: block;
  margin: 20px auto;
  padding: 12px 24px;
  font-size: 1em;
  color: white;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  box-shadow: 0 2px 4px rgba(0,0,0,0.2);
  font-family: "Times New Roman", Times, serif;
}

/* Section-specific quiz button colors */
.quiz-button-row button.quiz-btn-level1   { background-color: #2c7a7b; }  /* Order of Operations */
.quiz-button-row button.quiz-btn-level2   { background-color: #DFAF2C; }  /* Square Roots */
.quiz-button-row button.quiz-btn-level3   { background-color: #FF6F61; }  /* Level 3 Button */
.quiz-button-row button.quiz-btn-algebra  { background-color: #4682B4; } /* Algebra Button*/
.quiz-button-row button.quiz-btn-rounding { background-color: #614051; }  /* Rounding */
.quiz-button-row button.quiz-btn-quiz     { background-color: #c49b6c; }  /* Comprehensive Quiz */

/* Optional hover effect */
.quiz-btn:hover {
  opacity: 0.9;
  transform: scale(1.02);
  transition: all 0.2s ease-in-out;
}

.quiz-link {
  display: block;
  margin: 20px auto;
  padding: 12px 24px;
  font-size: 1em;
  color: white;
  background-color: #2c7a7b; /* Level 1 button color */
  border: none;
  border-radius: 6px;
  cursor: pointer;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  font-family: "Times New Roman", Times, serif;
  text-align: center;
  text-decoration: none; /* Remove underline */
  transition: background-color 0.3s ease;
}

.quiz-link:hover {
  background-color: #245f61; /* Slightly darker on hover */
}

.quiz-link.level1 {
  background-color: #2c7a7b;
}
.quiz-link.level1:hover {
  background-color: #245f61;
}

.quiz-link.level2 {
  background-color: #DFAF2C;
}
.quiz-link.level2:hover {
  background-color: #b98f1f;
}

.quiz-link.level3 {
  background-color: #FF6F61;
}
.quiz-link.level3:hover {
  background-color: #e65c4f;
}

.quiz-link.algebra {
  background-color: #4682B4; /* Steel Blue */
}

.quiz-link.algebra:hover {
  background-color: #3a6d99;
}

.quiz-link.rounding {
  background-color: #614051; /* Deep Plum */
}

.quiz-link.rounding:hover {
  background-color: #4e3542;
}

.quiz-link.comprehensive {
  background-color: #c49b6c; /* Warm Tan */
}

.quiz-link.comprehensive:hover {
  background-color: #a37f52;
}

.quiz-link:focus {
  outline: 2px solid #245f61;
  outline-offset: 2px;
}

