body {
  background: linear-gradient(135deg, #0d0d0d, #1a1a2e);
  color: #ffffff;
  font-family: 'Arial', sans-serif;
  text-align: center;
  margin: 0;
  padding: 0;
  min-height: 100vh;
}

.container {
  max-width: 900px;
  margin: auto;
  padding: 20px;
  animation: fadeIn 1.5s ease-in-out;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.title {
  font-size: 2.5rem;
  text-shadow: 0 0 10px cyan;
}

.description {
  font-size: 1.2rem;
  margin-bottom: 20px;
  opacity: 0.8;
}

/* Progress Bar */
.progress-container {
  width: 100%;
  background: #333;
  height: 10px;
  border-radius: 5px;
  margin-bottom: 15px;
}

#progress-bar {
  height: 100%;
  width: 0;
  background: #00ffcc;
  transition: width 0.5s ease-in-out;
  border-radius: 5px;
}

.options-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px;
  margin: 20px 0;
}

.option-btn {
  background: #007bff;
  color: white;
  padding: 12px;
  border-radius: 8px;
  font-size: 1rem;
  transition: 0.3s;
  cursor: pointer;
  text-align: center;
  box-shadow: 0 4px 8px rgba(0, 123, 255, 0.3);
  border: none;
}

.option-btn:hover {
  background: #0056b3;
  transform: scale(1.05);
}

.option-btn.selected {
  background-color: yellowgreen;
  color: white;
  font-weight: bold;
}


.button-group {
  display: flex;
  justify-content: center;
  gap: 10px;
}

button {
  background: #28a745;
  color: white;
  padding: 12px 15px;
  border-radius: 8px;
  font-size: 1rem;
  cursor: pointer;
  border: none;
  transition: 0.3s;
}

button:dibody {
    background: linear-gradient(135deg, #0d0d0d, #1a1a2e);
    color: #ffffff;
    font-family: 'Arial', sans-serif;
    text-align: center;
    margin: 0;
    padding: 0;
    min-height: 100vh;
}

.container {
    max-width: 900px;
    margin: auto;
    padding: 20px;
    animation: fadeIn 1.5s ease-in-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.title {
    font-size: 2.5rem;
    text-shadow: 0 0 10px cyan;
}

.description {
    font-size: 1.2rem;
    margin-bottom: 20px;
    opacity: 0.8;
}

/* Progress Bar */
.progress-container {
    width: 100%;
    background: #333;
    height: 10px;
    border-radius: 5px;
    margin-bottom: 15px;
}

#progress-bar {
    height: 100%;
    width: 0;
    background: #00ffcc;
    transition: width 0.5s ease-in-out;
    border-radius: 5px;
}

.options-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin: 20px 0;
}

.option {
    background: #007bff;
    color: white;
    padding: 12px;
    border-radius: 8px;
    font-size: 1rem;
    transition: 0.3s;
    cursor: pointer;
    text-align: center;
    box-shadow: 0 4px 8px rgba(0, 123, 255, 0.3);
    border: none;
}

.option:hover {
    background: #0056b3;
    transform: scale(1.05);
}

.option.selected {
    background: #ffcc00;
    color: #000;
    font-weight: bold;
}

.button-group {
    display: flex;
    justify-content: center;
    gap: 10px;
}

button {
    background: #28a745;
    color: white;
    padding: 12px 15px;
    border-radius: 8px;
    font-size: 1rem;
    cursor: pointer;
    border: none;
    transition: 0.3s;
}

button:disabled {
    background: #444;
    cursor: not-allowed;
}

button:hover:enabled {
    background: #218838;
    transform: scale(1.05);
}

.hidden {
    display: none;
}

/* Popup Warning */
.popup {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0, 0, 0, 0.9);
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    color: white;
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.3);
    animation: fadeIn 0.3s ease-in-out;
    z-index: 1000;
}


.correct {
    color: green;
    font-weight: bold;
}

.incorrect {
    color: red;
    font-weight: bold;
}

.option {
    display: block;
    width: 100%;
    padding: 10px;
    margin: 5px 0;
    font-size: 16px;
    cursor: pointer;
    border: 2px solid #ccc;
    border-radius: 5px;
    background-color: blue;
    transition: all 0.3s ease;
}

.option.selected {
    background-color: green;
    color: white;
    border-color: #007bff;
}

.correct-answer {
    color: green;
    font-weight: bold;
}

.wrong-answer {
    color: red;
    font-weight: bold;
}

.option.correct {
    background-color: green !important;
    color: blueviolet;
}

.option.wrong {
    background-color: red !important;
    color: white;
}

.hidden {
    display: none;
}sabled {
  background: #444;
  cursor: not-allowed;
}

button:hover:enabled {
  background: blue;
  transform: scale(1.05);
}

.hidden {
  display: none;
}

/* Popup Warning */
.popup {
  display: none;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: rgba(0, 0, 0, 0.9);
  padding: 20px;
  border-radius: 10px;
  text-align: center;
  color: white;
  box-shadow: 0 0 15px rgba(255, 255, 255, 0.3);
  animation: fadeIn 0.3s ease-in-out;
  z-index: 1000;
}

.popup.show {
  display: block;
}

.correct {
  background-color: green !important;
  color: white;
}

.incorrect {
  background-color: red !important;
  color: white;
}
