/* RESET */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Segoe UI', sans-serif;
}

/* BACKGROUND */
body {
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  background: linear-gradient(135deg, #3bb2d0, #1bc1c7);
}

/* MAIN CARD */
.container {
  width: 90%;
  max-width: 350px;
  background: #f5f5f5;
  padding: 25px 20px;
  border-radius: 20px;
  text-align: center;
  box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}
@media (max-width: 600px) {
    .container {
        width: 90%;
        padding: 15px;
    }

    h1, h2, h3 {
        font-size: 18px;
    }

    button {
        width: 100%;
        font-size: 16px;
        padding: 12px;
    }

    img {
        width: 100%;
        max-width: 200px;
    }
}

/* TITLE */
h1 {
  font-size: 22px;
  margin-bottom: 5px;
  font-weight: 600;
}

/* SUBTEXT */
p {
  color: #555;
  margin-bottom: 20px;
}

/* PROGRESS */
#progress {
  font-size: 13px;
  color: gray;
  margin-top: 10px;
}

/* TIMER */
#timer {
  font-size: 16px;
  font-weight: bold;
  color: red;
  margin: 10px 0;
}

/* QUESTION */
#question {
  font-size: 18px;
  font-weight: bold;
  margin: 15px 0;
}

/* IMAGE */
#question img {
  margin-bottom: 10px;
  border-radius: 10px;
}

/* ALL BUTTONS */
button {
  width: 100%;
  padding: 14px;
  margin: 8px 0;
  border: none;
  border-radius: 12px;
  background: #e0e0e0;
  font-size: 15px;
  cursor: pointer;
  transition: all 0.2s ease;
}

/* HOVER */
button:hover {
  background: #d5d5d5;
}

/* CLICK EFFECT */
button:active {
  transform: scale(0.97);
}

/* OPTIONS (answers) */
#options button {
  background: white;
  border: 1px solid #ddd;
}

#options button:hover {
  background: #f5f5f5;
}

/* NEXT BUTTON */
#next-btn {
  background: #008000;
  color: white;
  font-weight: bold;
  margin-top: 10px;
}

#next-btn:hover {
  background: #006400;
}

/* RESTART BUTTON */
#restart-btn {
  background: #ccc;
  margin-top: 10px;
}

/* SCORE SCREEN */
#score-screen {
  animation: fadeIn 0.6s ease-in-out;
  margin-top: 20px;
}

#final-score {
  font-size: 22px;
  font-weight: bold;
}

#message {
  font-size: 18px;
  margin-top: 10px;
}

/* PASS / FAIL COLORS */
.pass {
  color: green;
}

.fail {
  color: red;
}

/* ANIMATION */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
/* QUESTION AREA BOX */
#question {
  background: #eeeeee99;
  padding: 15px;
  border-radius: 12px;
  margin: 15px 0 10px 0;
}

/* OPTIONS AREA */
#options {
  background: #eeeeee;
  padding: 10px;
  border-radius: 12px;
}
