@import url("./main.css");
@import url("./dashboard.css");
body {
  background-color: rgb(224, 224, 224);
}
.create-quiz {
  width: 100%;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
}
.quiz__section {
  /* margin: auto; */
  margin: 5% 5%;
  padding: 20px;
  width: 90%;
  height: 80%;
  border-radius: 15px;
  background-color: white;
  font-size: 20px;
  font-weight: bold;
}
.title input {
  width: 60%;
  padding: 8px;
  background-color: #edeaff;
  border: none;
  border-radius: 10px;
}
.question-inner {
  padding: 20px;
}
.question-inner div {
  padding: 15px;
}
.question-inner div label {
  padding: 10px;
}
.question-inner div input {
  background-color: #edeaff;
  border: none;
  border-radius: 10px;
  padding: 8px;
}
.add-option {
  float: right;
  left: 5;
}
.add-option:hover {
  cursor: pointer;
}
#ques {
  position: relative;
}
#ques .text label {
  position: absolute;
  top: 0;
}
.text textarea {
  margin: 10px;
  background-color: #edeaff;
  border: none;
  padding: 10px;
  font-size: 1.5rem;
  border-radius: 5px;
  resize: none;
}

#save,
#finish:enabled {
  border-radius: 10px;
  border: none;
  background-color: #242bc2;
  color: white;
  font-size: 1.25rem;
  font-weight: 600;
  padding: 10px 30px;
  margin: 2%;
  transition: 0.5s;
}
#nextButton {
  margin: auto;
  display: block;
  padding: 10px 20px;
  color: white;
  font-size: 2rem;
  font-weight: 700;
  background-color: blue;
  border-radius: 10px;
  outline: none;
}
#nextButton:disabled {
  cursor: not-allowed;
  background: grey;
}
#finish:disabled {
  /* display: none; */
  visibility: hidden;
}
#save:hover,
#finish:hover {
  border: 2px soild rgb(18, 1, 58);
  cursor: pointer;
  transform: scale(1.1);
}
@media screen and (max-width: 800px) {
  .text textarea {
    width: 50%;
  }
}
@media screen and (max-width: 531px) {
  .question input {
    width: 50%;
  }
}
