* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  transition: background-color 0.3s ease, color 0.3s ease;
}
.container {
  text-align: center;
  max-width: 90%;
  width: 600px;
  padding: 2rem;
}
.quote-box {
  line-height: 1.6;
}
#quote {
  font-size: 1.5rem;
  font-style: italic;
}
#author {
  margin-top: 1rem;
  font-size: 1.1rem;
  font-weight: bold;
}
.buttons {
  margin-top: 2rem;
}
body {
    margin: 0;
    font-family: Arial, sans-serif;
    background: linear-gradient(to right, #c20000, #000000);
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}
.quiz-container {
    background: #ffffff;
    border-radius: 20px;
    box-shadow: 0 0 20px rgba(0,0,0,0.1);
    width: 400px;
    padding: 20px;
}
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #ff3300;
    color: white;
    padding: 10px;
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
}
.timer {
    background: #000000b9;
    padding: 5px 10px;
    border-radius: 5px;
}
.question-container {
    padding: 20px;
}
#question-text {
    font-size: 18px;
    margin-bottom: 20px;
}
.option-btn {
    display: block;
    width: 100%;
    padding: 10px;
    margin: 5px 0;
    cursor: pointer;
    border: none;
    border-radius: 5px;
    transition: background-color 0.3s;
}
.option-btn:hover {
    opacity: 0.8;
}
#next-btn {
    background: #e74c3c;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    float: right;
}
.progress {
    color: white;
    margin-top: 10px;
}
.buttons button {
  padding: 0.6rem 1.2rem;
  margin: 0.5rem;
  font-size: 1rem;
  cursor: pointer;
  border: none;
  border-radius: 5px;
  transition: background-color 0.3s ease;
}

body.dark-mode {
  background-color: #000000;
  color: #f1f1f1;
}

body.dark-mode .buttons button {
  background-color: #333;
  color: #fff;
}

body.light-mode .buttons button {
  background-color: #ddd;
  color: #333;
}