@import url('https://cdn.jsdelivr.net/npm/bootstrap@5.3.0/dist/css/bootstrap.min.css');

.question-block {
  width: 50%;
  padding: 1rem;
  background-color: #ffffff14;
  border-radius: 10px;
  margin-bottom: 1.5rem;
  animation: fadeInUp 0.6s ease;
  margin: 2rem auto;
}

.question-block h3 {
  color: #f1f1f1;
}

label {
  display: block;
  color: #ddd;
  cursor: pointer;
}

input[type="radio"]:checked + label {
  font-weight: bold;
}

.correct {
  background-color: #28a745 !important;
  color: white !important;
}

.incorrect {
  background-color: #dc3545 !important;
  color: white !important;
}

#submit-btn {
  display: block;
  margin: 2rem auto;
  padding: 0.75rem 2rem;
  font-size: 1.2rem;
}

#score-box {
  text-align: center;
  font-size: 1.5rem;
  margin-top: 2rem;
  color: white;
}

#timer {
  position: fixed;
  top: 1rem;
  right: 2rem;
  font-size: 1.25rem;
  background: #ffc107;
  color: #000;
  padding: 0.5rem 1rem;
  border-radius: 10px;
  z-index: 1;
}

@keyframes fadeInUp {
  from {
    transform: translateY(20px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

#quiz-body {
  position: relative;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  min-height: 100vh;
  overflow-x: hidden;
}

#quiz-body::before {
  content: '';
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(3px);
  z-index: 0;
}

#quiz-container, #score-box, #game-over {
  position: relative;
  z-index: 1;
}

.meh{
    background: rgba(0,0,0,0.6);
}