body {
  font-family: 'Poppins',Arial, sans-serif;
  background: #0f192a;
  color: white;
  display: flex;
  justify-content: center;
  padding: 40px;
}

.quiz-container {
  width: 650px;
  background: #1e293b;
  padding: 30px;
  border-radius: 10px;
  margin-bottom: 10px;
  box-shadow: 8px 8px 20px rgba(3, 0, 26, 0.311)
                2px 2px 6px rgb(3, 0, 26) ;
}

h1 {
  text-align: center;
}

#question-box {
  min-height: 260px;
}

#question{
    font-size: 24px;
    font-weight: 500;
    line-height: 1.4;
}

#question.bold-mode {
  font-weight: 700;
}
.option {
  display: block;
  background: #334155;
  padding: 10px;
  margin: 8px 0;
  border-radius: 6px;
  cursor: pointer;
}

.option input {
  margin-right: 10px;
}

.correct {
  background: #22c55e;
}

.wrong {
  background: #ef4444;
}

.controls {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: #0f172a;
  padding: 15px;
  display: flex;
  justify-content: center;
}

#next {
  width: 300px;
  padding: 12px;
  font-size: 18px;
  background: #22c55e;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 600;
}

#next:hover{
    background-color: #1cd962;
}

#answer-box {
  margin-top: 15px;
  font-weight: bold;
}

#score-section {
  text-align: center;
  margin-bottom: 20px;
}

.progress-bar {
  width: 100%;
  height: 12px;
  background: #334155;
  border-radius: 6px;
  overflow: hidden;
  margin: 8px 0;
}

#progress-fill {
  height: 100%;
  width: 0%;
  background: #22c55e;
  border-radius: 6px;
}

#toggle-score,#toggle-weight,#retry-btn{
    border-radius: 10px;
    background-color: rgb(23, 49, 119);
    color: aliceblue;
    padding: 8px;
    font-size: 14px;
    border-width: 0;
    border: 2px solid rgb(90, 90, 90);
}

#toggle-score:hover,#retry-btn:hover,#toggle-weight:hover{
    background-color: rgb(24, 65, 176);
}
#result{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

#my-github{
    text-align: center;
}

#my-github a{
    color: aliceblue;
    text-decoration: none;
    font-weight: 600;
}
@media (max-width: 600px) {
  body {
    padding: 15px 10px;
    align-items: flex-start;
  }

  .quiz-container {
    padding: 20px 15px;
    margin-bottom: 140px;
  }

  h1 {
    font-size: 1.4rem;
  }

  #question {
    font-size: 1.2rem;
  }

  .button-group {
    flex-direction: column;
  }

  #toggle-score, #toggle-weight {
    width: 100%;
    margin: 4px 0;
  }

  .controls {
    padding: 15px;
  }

  #next {
    max-width: 100%;
  }
}