/*----------------------------------------- MAIN -------------*/

.preloader-wrap {
  width: 100%;
  height: 100%;
  position: fixed;
  top: 0;
  bottom: 0;
  background: linear-gradient(#80cbe3, #f9dcc9);
  z-index : 2;
}

.percentage {
  z-index: 100;
  border: 1px solid #ccc;
  text-align:center;
  color: #fff;
  line-height: 30px;
  font-size : 15px;
}

.loader,
.percentage{
  height: 30px;
  max-width: 500px;
  border: 2px solid #69AF23;
  border-radius: 20px;
  font-weight: 300;
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  margin : auto;
}
.loader:after,
.percentage:after {
  content: "";
  display: block;
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
}

.trackbar {
  width: 100%;
  height: 100%;
  border-radius: 20px;
  color: #fff;
  text-align: center;
  line-height: 30px;
  overflow: hidden;
  position: relative;
  opacity: 0.99;
}

.loadbar {
  width: 0%;
  height: 100%;
  background: repeating-linear-gradient(
  45deg,
    #008737,
    #008737 10px,
    #69AF23 10px,
    #69AF23 20px
  ); /* Stripes Background Gradient */
  box-shadow: 0px 0px 14px 1px #008737;
  position: absolute;
  top: 0;
  left: 0;
  animation: flicker 5s infinite;
  overflow: hidden;
}

.glow {
  width: 0%;
  height: 0%;
  border-radius: 20px;
  box-shadow: 0px 0px 60px 10px #008737;
  position: absolute;
  bottom: -5px;
  animation: animation 5s infinite;
}

@keyframes animation {
  10% {
    opacity: 0.9;
  }
  30% {
    opacity: 0.86;
  }
  60% {
    opacity: 0.8;
  }
  80% {
    opacity: 0.75;
  }
}


body {
    font-family: 'Gloria Hallelujah', cursive;
    color: #000;
    padding: 0px;
    margin: 0px;
    display: flex;
    justify-content: center;
    background: #80cbe3;
}


h1, h2, h3, h4, h5, h6 {
    font-size: 1.5em;
    font-family: 'Gloria Hallelujah', cursive;
    line-height: 1;
}

a {
    text-decoration: none;
}

p {
    padding: 30px;
}


#viewport {
    text-align: center;
    overflow: scroll;
    height: 100vh;
    width: 100vw;
    background: linear-gradient(#80cbe3, #f9dcc9);
    background-size: contain;
    display: none;
    justify-content: center;
    flex-direction: column;
}

.container {
    display: flex;
    justify-content: center;
    flex-direction: row;
}

/*----------------------------------------- COMIC -------------*/


.splash > p, .splash > h1 {
    padding: 5px;
}


.splash {
    text-align: center; */
    color: #000;
    display: flex;
    flex-grow: 0 2;
    flex-direction: row-reverse;
}

#comic-section {
    display: block;
    height: 100%;
    width: 100%;
}

.comic-panel {
    object-fit: contain;
    height: 100%;
    width: 100%;
}

#comic-section,
#quiz-section-1,
#quiz-section-1-q1,
#quiz-section-1-q2,
#quiz-section-2,
#quiz-start {
    display: none;
}


.quiz-section-1-q1
  {
    padding: 10px;
}

/*----------------------------------------- BUTTONS -------------*/

.button, button[type="submit"] {
    padding: 5px 10px;
    font-weight: bold;
    font-size: 1.5em;
    border-radius: 0.25em;
    border-size: 0;
    margin: 5px;
    font-family: 'Gloria Hallelujah', cursive;
}

/* NAVIGATION BUTTONS */

.buttons {
    display: flex;
    justify-content: space-between;
    margin-top: -12%;
    position: absolute;
    width: 100%;
}

#prev{
    max-height: 60px;
    transform: scaleX(-1);
    display: flex;
}

#prev > img {
    object-fit: contain;
}

#next {
    max-height: 60px;
    display: flex;
}

#next > img {
    object-fit: contain;
}

#next, #prev, #start-over {
    font-size: 3em;
    margin: 0px 10px;
}

#next {
    animation: anti-wiggle 1s ease-in-out;
    animation-delay: 1s;
}


@keyframes wiggle {
  20% {
    box-shadow:  inset -5px 0 5px 0 rgba(0,0,0,.4);
    transform: rotate(7deg);
  }

  40% {
    box-shadow:  inset -11px 0 5px 0 rgba(0,0,0,.4);
    transform: rotate(-14deg);
  }

  60% {
    box-shadow:  inset -5px 0 5px 0 rgba(0,0,0,.4);
    transform: rotate(4deg);
  }

  80% {
    box-shadow:  inset -8px 0 5px 0 rgba(0,0,0,.4);
    transform: rotate(-2deg);
  }

  100% {
    box-shadow:  inset -7px 0 5px 0 rgba(0,0,0,.4);
    transform: rotate(0deg);
  }
}

@keyframes anti-wiggle {
  20% {
    transform: translateX(4px) rotate(-7deg);
  }

  40% {
    transform: translateX(-8px)  rotate(14deg);
  }

  60% {
    transform: translateX(2px)  rotate(-4deg);
  }

  80% {
    transform: translateX(-1px)  rotate(2deg);
  }

  100% {
    transform: translateX(0px) rotate(0deg);
  }
}


/* QUIZ BUTTONS */

button.start {
    padding: 10px 30px;
    background-color: #ff8d00;
    width: 10em;
    margin: 0 2em;
}

 #quiz-start {
    padding: 10px 30px;
    background-color: #ff8d00;
    height: 90px;
    justify-content: center;
    margin-top: 40%;
    margin-left: 60%;
}

button.start:hover {
    background-color: orange;
}
.quiz-next, #quiz-next-q1, #section1-quiz-end {
    background-color: blue;
}

button[type="submit"], #comic-end {
    background-color: #009688;
    border-size: 0;
    color: #fff;
}

#comic-end {
    margin-left: 40%;
    margin-right: 40%;
}

.quiz-img {
    height: 60px;
}

.quiz-img.quizimg-5 {
    height: 40px;
}

.button.quiz-deny {
    background-color: orange;
    font-size: 0.5em;
    margin-left: 20%;
    margin-right: 20%;
}

.nav-icon {
    color: #fff;
}


#prev, #start-over {
    opacity: 0;
}

#quiz-section-1 {
    text-align: center;
}

.status.deny {
    background-color: red;
    border-radius: 2em;
    flex-direction: column;
    justify-content: center;
}


.status.confirm {
    background-color: rgb(177, 255, 33);
    border-radius: 2em;
    font-size: 2em;
    flex-direction: column;
    justify-content: center;
}

#quiz-next-q1,
#section1-quiz-end,
#section2-quiz-end,
#section3-quiz-end,
#section4-quiz-end,
#section5-quiz-end  {
    font-size: 0.5em;
    margin: 0 20% 10px;
    background-color: rgb(22, 169, 0);
    border-radius: 2em;
}

/*----------------------------------------- QUIZ -------------*/

.quiz-section, .quiz-wrapper {
    height: 100%
}

.quiz-wrapper {
  display: block;
}

.quiz-section-4-q1 {
    font-size: 0.85em;
}

p.question-description {
    padding: 00px;
}

ul.options {
    position: relative;
    display: inline-block;
    vertical-align: top;
    width: 100%;
    list-style: none;
    text-align: center;
    padding: 0px;
    margin: 0;
    border-radius: 1em;
}

li {
  border: 1px solid transparent;
  padding: 6px 8px;
}

li.title {
    background: #19286C;
    color: white;
    border-radius: 1em;
}

li.option {
    display: inherit;
    position: relative;
    z-index: 50;
    background-color: orange;
    width: 150px;
    margin: 5px;
    text-align: center;
    padding: 10px;
    border-radius: 2em;
    height: 10px;
    font-size: 1.25em;
    line-height: 0.5em;
}

li.option.s4q2 {
    font-size: 1.05em !important;
}

li.option.quiz-5 {
    font-size: 1.05em !important;
    width: 50px !important;
    line-height: 0.75em !important;
    padding: 5px;
}


.answers {
    display: inline-block;
 /*   font-size: 1.25em;
    line-height: 1em;*/
}

.answers-list {
    list-style: none;
    font-size: 1.5em;
    line-height: 0.25;
    padding: 0px;
}

.answers-list > li {
    list-style: none;
    display: inline-block;
    text-align: center;
}

.answers-list > li.quizli-5 {
    padding: 2px !important;
}

.caption {
    padding: 15px 0px;
    font-size: 0.75em;
}

.target {
    display: block;
    width: 150px;
    background-color: #f9e0c7;
    margin: 5px;
    text-align: center;
    padding: 15px;
    border-radius: 2em;
    border: 5px dashed orange;
}

.target.quiztarget-5 {
    margin: 2px !important;
    padding: 5px !important;
    width: 50px !important;
    font-size: 0.75em !important;
}

.lightbox-bg {
  display: none;
  position: absolute;
  z-index: 100;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background: rgba( 0,0,0,.7 );
}

.status {
    display: none;
    position: absolute;
    z-index: 110;
    text-align: center;
    width: 80%;
    top: 10%;
    left: 10%;
}

.quiz-section-5-q1 {
    font-size: 80% !important;
}


/*----------------------------------------- QUERIES -------------*/
/* Extra large devices (large desktops, 1200px and up) */
@media only screen and (min-width: 1200px) {
}

/*Large devices (large desktops, 992px and up) */
@media only screen and (min-width: 992px) {

}

/* Medium devices (tablets, 768px and up) */
@media only screen and (min-width: 768px) {
/*    #viewport {
        height: 100%;
        width: 100%;
    }*/

    .splash {
        margin-top: 50%;
    }

     #quiz-start {
        margin-left: 70%;
    }
}

/* Small devices (landscape phones, 576px and up) */
@media only screen and (min-width: 736px) {

}

/* Extra Small devices (landscape phones, 375px and up) */
@media only screen and (min-width: 320px) {

     .splash {
        margin-top: 40%;
    }

     #quiz-start {
        margin-left: 65%;
    }

}