* {
  user-select: none;
}
body {
  background-color: #000000;
  font-family: Arial, sans-serif;
  display: flex;
  flex-direction: column;
  align-items: center;
  color: #1ac6fa;
  text-transform: uppercase;
  padding: 0px;
}

/* From Uiverse.io by gharsh11032000 */
.quiz-container {
  background: linear-gradient(#212121, #212121) padding-box,
    linear-gradient(145deg, transparent 35%, #e81cff, #40c9ff) border-box;
  border: 2px solid transparent;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  padding: 20px;
  width: 400px;
  box-sizing: border-box;
  font-family: inherit;
  color: white;
  max-width: 100%;
}
h2 {
  padding: 20px;
  
}
.option {
  background-color: rgb(243, 46, 233);
  padding: 10px;
  margin-bottom: 10px;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.2s;
  display: flex;
  align-items: center;
}
.option:last-child {
  margin-bottom: 0;
}
.option:hover {
  background-color: #edf7e0;
  color: black;
}

.scoreboard {
  background-color: #e3f6fc;
  border: 2px solid #90caf9;
  bottom: 10px;
  border-radius: 8px;
  padding: 25px 10px;
  margin-top: -30px;
  text-align: center;
  box-shadow: 0 2px 8px rgba(33, 150, 243, 0.08);
}

.scoreboard h3 {
  margin: 0 0 12px 0;
  color: #1976d2;
  font-size: 1.4em;
}

.scoreboard p {
  margin: 0;
  padding: 5px;
  font-size: 1.2em;
  color: #333;
}

#nextBtn {
  position: relative;
  margin-top: 20px;
  padding: 6px 35px;
  background: #000000;
  font-size: 17px;
  font-weight: 500;
  color: #ffffff;

  border-radius: 8px;
  box-shadow: 0 #40c9ff;
  transition: all 0.3s ease-in-out;
  cursor: pointer;
  &:hover {
  background: transparent;
  color: #40c9ff;
  box-shadow: 0 0 25px #e81cff ;
  }
}

#right-btn {
  justify-content: center;
  display: flex;
}

#nextBtn:disabled {
  color: #757575;
  background-color: #b3c6cc;
  cursor: not-allowed;
  &:hover {
  color: #fa0000;
  box-shadow: 0 0 10px #f50505 ;
  }
}

#restartBtn {
  position: relative; 
  text-transform: uppercase;
  font-size: 10px;
  padding: 1em 2.5em;
  display: inline-block;
  cursor: pointer;
  border-radius: 8px;
  transition: all 0.2s;
  border: none;
  color: rgb(255, 255, 255);
  margin-top: 20px;
  background-color: rgb(0, 0, 0);
}

#restartBtn:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

#restartBtn:active {
  transform: translateY(-1px);
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
}

#restartBtn::after {
  content: "";
  display: inline-block;
  height: 100%;
  width: 100%;
  border-radius: 8px;
  position: absolute;
  top: 0;
  left: 0;
  z-index: -1;
  transition: all 0.4s;
}

#restartBtn::after {
  background-color: #fff;
}

#restartBtn:hover::after {
  transform: scaleX(1.4) scaleY(1.6);
  opacity: 0;
}



#progresContainer {
  width: 100%;
  height: 20px;
  background-color: #000000;
  border-radius: 8px;
  overflow: hidden;
}

#progressBar {
  height: 100%;
  width: 50px;
  background-color: rgb(243, 46, 233);
  border-radius: 8px;
  line-height: 20px;
  text-align: center;
  color: white;
  transition: width 0.3s ease-in-out;
}

#timer {
  color: #8a0c0c;
  font-size: 1.2em;
  margin: 15px 10px;
  text-align: left;
}
