/* ############### quiz ################ */
.question-bubble {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 50px;
  height: 50px;
  background-color: #3498db;
  color: #fff;
  text-align: center;
  line-height: 50px;
  border-radius: 50%;
  cursor: pointer;
}

.category {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 10px;
  flex-wrap: wrap;
}

.quiz-container {
  background-color: transparent;
  border-radius: 0px;
  /*box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);*/
  padding: 20px;
  width:100%;
}

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

.options {
  display: flex;
  flex-direction: row;
  gap: 10px;
  justify-content: space-between;
  flex-wrap: wrap;
}

.options label:empty {
  display: none;
}

#questionModalOptions > div {
  width: calc(50% - 5px);
  display: block;
  flex-basis: calc(50% - 5px);  padding-left: 0;
}
.quiz-container > label {
  display: block;
  cursor: pointer;
}

.quiz-container > input[type="radio"] {
  display: none;
}

.quiz-container > label::before {
  content: "";
  display: inline-block;
  width: 16px;
  height: 16px;
  border: 2px solid #ccc;
  border-radius: 50%;
  margin-right: 10px;
  vertical-align: middle;
}
#questionModalOptions > div {
  width: calc(50% - 5px);
  display: block;
  flex-basis: calc(50% - 5px);
  text-align: center;

}

.quiz-container  input[type="radio"],
.quiz-container  input[type="checkbox"] {
  opacity: 0;
}
.quiz-container  input[type="radio"] + label,
.quiz-container  input[type="checkbox"] + label {
  background-color: transparent;
  border-color: #007bff;
  border: 1px solid #333;
  padding: 1rem;
  border-radius: 1rem;
  width: 100%;
}
.quiz-container  input[type="radio"]:checked + label,
.quiz-container  input[type="checkbox"]:checked + label {
  background-color: #e07719;
  color:#fff;
  font-weight:700;
  border-color: #007bff;
  border: 1px solid #333;
  padding: 1rem;
  border-radius: 1rem;  box-shadow: 0 0px 20px rgb(224, 119, 25);
}

.submit-button {
  background-color: #007bff;
  color: #ffffff;
  border: none;
  border-radius: 5px;
  padding: 10px 20px;
  cursor: pointer;
  transition: background-color 0.3s;
}

.submit-button:hover {
  background-color: #0056b3;
}

.answered-correct {
  background-color: #1fc045;
  color: #ffffff;
  border-color: #c3e6cb;
}

.answered-not-correct {
  background-color: #c02633;
  color: #ffffff;
  border-color: #f5c6cb;
}

.highscore {
  width: 80%;
  margin-left: 4rem;
}
.highscore table {
  width: 100%;
  border-collapse: collapse;
}
.highscore th,
.highscore td {
  padding: 8px;
  border-bottom: 0px solid #ddd;
  text-align: left;
}
.highscore tr {
  background: #2493a3;
  background-color: rgb(36, 147, 163);
}
.highscore tr:nth-child(2n) {
  background-color: #028799;
}
.highscore .highlight {
  font-weight: bold;
  color: red;
}
fade:not(.show) {
  pointer-events: none;
}
.highscore .tableContainer {
  overflow-y: scroll;
  max-height: 760px;
}

.draggable {
  display: flex;
  padding: 10px;
  border: 1px solid #ccc;
  margin: 5px;
  cursor: pointer;
}

#quiz-container {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.drop-area {
  width: 300px;
  height: 200px;
  border: 2px dashed #ccc;
  margin: 20px auto;
  text-align: center;
  font-size: 18px;
}

.sort-list-item {
  padding: 10px;
  border: 1px solid #ccc;
  margin: 4px;
  cursor: pointer;
  list-style-type: none;
  width:auto;
  height:5rem;
}
.sort-list-item img, .image-container {
  width: auto;
  height: 5rem;
  max-height: 100%;
}
#sortable_answers .sort-list-item {
  width: 20rem;
}
.image-container {
  flex: 0 0 auto;
  margin-right: 20px;
}


.class200 {
  background: #e07719;
  color: #fff;
  position:relative;
}
.class200 .swal2-icon {
  display: none !important;
}

.class200:before{
  content: '';
  position: absolute;
  width: 120%;
  height: 120%;
  pointer-events: none;
  background-image: url(/images/konfetti.svg);
  background-repeat: no-repeat;
  background-size: cover !important;
  margin: -10%;
  pointer-events:none;
}
.class200::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 40px;
  pointer-events: none;
  background-image: url(/images/Stars.svg);
  background-repeat: no-repeat;
  background-size: contain !important;
  margin: 0;
  background-position: center;
  top: -140px;
  pointer-events:none;
}
.class200 {
  overflow: visible !important;
  min-height: 300px;
  padding-top: 100px;
}
#e0DQ82qcIov1 {
  position: fixed;
  width: 100vw;
  height: 100vh;
  top: 0;
  left: 0;
  z-index: 9999;
  pointer-events: none;
}


#questionModalQuestion {
  background: #fff;
  padding: 2rem;
  border-radius: 1rem;
  position:relative;
  padding-top: 4rem;
  text-align: center;
  font-weight: 700;
}

#questionModalQuestion:before {
  content:'';
  width:5rem;
  height:5rem;
  position:absolute;
  top: -2rem;
  left:calc(50% - 2.5rem);
  background-image:url(/images/questhead.svg);
  background-size:contain;
  background-repeat:no-repeat;
  pointer-events:none;
  animation: rotate 2.5s  infinite;
  transition:all 2.5s;
}

#myModal .award_list_item {
  max-width: 300px;
  margin: 2rem auto;
}
#myModal h3 {
  color: #000;
}
#myModal .modal-content {
  padding:2rem;
}


@media (min-width:800px){
  #myModal .award_list_item {
    width: 33%;
    display: inline-block !important;
  }
  #myModal .modal-content {
    padding: 2rem;
    display: block;
  }
}
@media (max-width:800px){
  #myModal .modal-content {
    display: block;    max-height: 60vh;
    overflow: auto;
  }
  #myModal .award_list_item img {
    max-height: 5rem;
  }
  #myModal .award_list_item {
    max-width: 48%;
    margin: inherit;
    flex-basis: 48% !important;
    display: inline-block !important;
  }
}

@keyframes rotate {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
