body {
    margin: 0;
    font-family: 'Helvetica Neue', Arial, sans-serif;
    background-color: #5D4FB1; 
    color: #FFE000;
}

.header-text h1 {
    background-color: #FFE000; 
    display: inline-block;
    padding: 10px 20px;
    border-radius: 6px;
}

.quizcontainer {
    text-align: center;
    padding: 40px 20px;
}

.progressbar {
    width: 60%;
    height: 8px;
    background-color: #232326;
    border-radius: 4px;
    margin: 20px auto 40px;
    overflow: hidden;
}

.progressfill {
    width: 30%; 
    height: 100%;
    background-color: #ffe000;
}

.question {
    font-size: 1.8rem;
    margin-bottom: 30px;
}

.mltpoptions {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    max-width: 700px;
    margin: 0 auto 40px;
}

.mltpoptions button {
    background-color: #232326;
    color: white;
    padding: 80px;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.mltpoptions button:not(.selected):hover {
    background-color: #333;
}

.navigationquestion {
    display: flex;
    justify-content: space-between;
    width: 100%; 
    max-width: 700px;     
    margin: 0 auto;
    padding: 0;         
}

button.selected {
    background-color: #ffe000;
    color: #232326;
    border: 2px solid #FFE000;
    transform: scale(1.05);
}

button.selected:hover {
    background-color: #ffe000;
}

.navigationquestion button {
    background-color: #FFE000;
    color: #232326;
    border: none;
    padding: 12px 25px;
    font-weight: bold;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.navigationquestion button:hover {
  background: #FDECB2; 
  color: #232326; 
  transition: 0.4s ease; 
  box-shadow: 0 6px 15px rgba(0,0,0,.25);
}

button.selected{
    background-color: #FFE000;
    color: #232326 ;
    border: 2px solid #FFE000;
    transform: scale(1.05);
    transition: 0.2s;
}

/*grafiska element*/
.decor-circles,
.decor-circles2 {
  position: absolute;
  z-index: 0;
  opacity: 0.9;
  pointer-events: none;
  user-select: none;
}


.decor-circles {
  bottom: 20%;
  right: -90px;
  transform: rotate(8deg);
  width: clamp(130px, 18vw, 260px);
}

.decor-circles2 {
  left: -90px;
  width: clamp(130px, 18vw, 260px);
  transform: rotate(8deg);
}


.quizcontainer {
  position: relative;
  z-index: 1;
}

.progress {
  width: 500px;
  height: 10px;
  background-color: #eee;
  border-radius: 5px;
  overflow: hidden;
  margin-bottom: 20px;
  margin: 0 auto 20px;
}

.progressfill {
  height: 100%;
  width: 0%;
  background-color: #ffe000;
  transition: width 0.4s ease;
}

.navprev:disabled,
.navnext:disabled {
  opacity: 0.5;
}

.navprev:disabled:hover,
.navnext:disabled:hover {
  background-color: #FFE000;
  box-shadow: none;
}


/* responsiv */

/* SURFPLATTA (≤1024px) */
@media (max-width: 1024px) {
  .question {
    font-size: 1.6rem;
    margin-bottom: 25px;
  }

  .mltpoptions {
    gap: 16px;
    max-width: 600px;
  }

  .decor-circles {
    display: none;
  }

  .mltpoptions button {
    padding: 60px;
    font-size: 1rem;
    border-radius: 10px;
  }

  .navigationquestion {
    max-width: 600px;
  }

  .decor-circles2 {
  display: none;
}
}

/* MOBIL (≤600px) */
@media (max-width: 600px) {
  .header-text h1 {
    font-size: 1.1rem;
    padding: 8px 12px;
  }

  .quizcontainer {
    padding: 25px 10px;
  }

  .question {
    font-size: 1.2rem;
    margin-bottom: 20px;
  }

  
  .mltpoptions {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    max-width: 100%;
  }

  .mltpoptions button {
    padding: 45px 10px;
    font-size: 0.9rem;
    border-radius: 10px;
  }

    .decor-puzzle,
  .decor-circles,
  .gaming-controller {
    display: none;
  }

 
  .navigationquestion {
    flex-direction: row;
    justify-content: space-between;
    gap: 10px;
    max-width: 95%;
    margin-top: 10px;
  }

  .navigationquestion button {
    flex: 1;
    padding: 10px 0;
    font-size: 0.9rem;
  }

  .progress {
  width: 200px;
  height: 10px;
  background-color: #eee;
  border-radius: 5px;
  overflow: hidden;
  margin-bottom: 20px;
  margin: 0 auto 20px;
}

.decor-circles2 {
  display: none;
}
}
