:root {
  /* --blue-primary: #03709b; */
  --blue-primary: #087ba1;
  --nav-text: #ffffff;
  --bg-primary: #69C773;
  --bg-secondary: #f5deb3;
  --bg-sky: rgba(9, 25, 31, 0.432);
  --bg-shadow1: var(--bg-shadow1);
  --gray: #808080;
  /* --bg-gray: #e9e9e9; */
  --bg-gray: #f5deb3;
  --header: rgba(255, 255, 255, 0.459);
}

@font-face {
  font-family: Rubric;
  font-style: normal;
  src: url(../fonts/JosefinSans-Italic-VariableFont_wght.ttf);
}

@font-face {
  font-family: Jost;
  font-style: normal;
  src: url(../fonts/Jost-VariableFont_wght.ttf);
}

/*new style start*/
body {
  background-color: var(--bg-sky);
  background-image: url(../images/bgStart.gif);
  background-size: cover;
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-position: center;
  /* background-image: url(../images/back1.png); */
  /* overflow: hidden; */
}

.mainQuizArea {
  margin: 0px 20%;
  max-width: 100%;
  min-height: 100vh;
  /* height: 100vh; */
  /* background-image: url(../images/quizBg.gif); */
  /* background-image: url(../images/Confetti.gif); */
  background-size: cover;
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-position: center;
  /* background-image: url(../images/back1.png); */
  background-color: #f5deb3c9;
  /* background-color: var(--bg-gray); */
  box-shadow: 0px 0px 5px 1px var(--gray);
}

header {
  /* padding: 0.5rem 0rem; */
  background-color: var(--header);
  position: relative;
}

h2.header {
  padding: 0.5rem 0rem;
  color: var(--blue-primary);
}

section {
  position: relative;
  font-family: Jost;
}

/* footer{
    position: relative;
} */
section.question_text {
  /* height: 100%; */
  min-height: calc(100vh);
}

/* .col-vr span{
    display: block;
    margin: 0.5rem 0rem;
} */
/* .option_label_input{
    position: relative;
    margin-left: 0.5rem;
} */
/* .option_label{
    background-color: white;
    color: #8B4513;
    border: 2px solid #8B4513;
    padding: 6px 24px;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 5px;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.1);
    max-width: 100%;
    width: 80px;
} */
/* .option_label_input:checked + label{
    background-color: #8B4513;
    color: white;
    border: 2px solid #8B4513;
} */
/* .option_label{
    position: relative;
    margin-left: 1rem;
} */
/* .option_label::before {
    width: 30px;
    height: 30px;
    display: block;
    content: "";
    background-color: #ff000061;
    position: absolute;
    transform: translate(-50%, -50%);
    top: 50%;
    margin-left: -1.5rem;
} */

/*new style for input - start*/
form {
  /* margin: auto; */
  /* max-width: 10em; */
  max-width: fit-content;
  /* padding: 0.5em 0; */
  padding: 1.5em 0;
  position: relative;
}

form label:before,
form span:before {
  border-radius: 50%;
  content: "";
}

form label {
  cursor: pointer;
  display: flex;
  margin-left: 2rem;
  /* letter-spacing: 0.1em;
    text-transform: uppercase; */
}

form label:before {
  background: radial-gradient(100% 100% at 33% 33%, rgba(0, 0, 0, 0.25) 25%, rgba(0, 0, 0, 0) 50%), radial-gradient(100% 100% at 67% 67%, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0) 50%);
  box-shadow: 0 0 0.75em #000 inset;
  display: inline-block;
  /* margin-left: 2.0rem; */
  width: 1.5em;
  height: 1.5em;
  position: absolute;
  left: 0rem;
}

form label:not(:last-of-type) {
  margin-bottom: 1.5em;
}

form span {
  position: absolute;
  top: 1.75em;
  left: 0.25em;
  width: 1em;
  height: 1em;
  transition: transform 0.25s linear;
  z-index: 1;
}

form span,
form span:before {
  display: block;
}

form span:before {
  background-color: #2762f3;
  background-image: radial-gradient(10% 10% at 50% 50%, rgba(255, 255, 255, 0.6) 50%, rgba(255, 255, 255, 0)), radial-gradient(12% 12% at 60% 25%, rgba(255, 255, 255, 0.6) 50%, rgba(255, 255, 255, 0)), radial-gradient(100% 100% at 60% 50%, rgba(0, 0, 0, 0) 25%, rgba(0, 0, 0, 0.25) 50%);
  border-radius: 50%;
  box-shadow: 0 0.1em 0.1em 0 rgba(0, 0, 0, 0.5), 0 0 0.1em 0.1em rgba(0, 0, 0, 0.25) inset;
  width: 100%;
  height: 100%;
}

.option_label_input {
  position: absolute;
  transform: translate(40%, 40%);
  /* background: radial-gradient(100% 100% at 33% 33%, rgba(0, 0, 0, 0.25) 25%, rgba(0, 0, 0, 0) 50%), radial-gradient(100% 100% at 67% 67%, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0) 50%); */
  /* box-shadow: 0 0 0.75em #000 inset; */
  /* display: inline-block; */
  /* margin-right: 0.375em; */
  /* width: 1.5em;
    height: 1.5em;     */
}

/* Firefox-specific */
@supports (-moz-appearance: none) {
  .option_label_input {
    transform: translate(35%, 37%);
  }
}

input:nth-of-type(1):checked~span {
  transform: translateY(0em);
}

input:nth-of-type(1):checked~span:before {
  animation: wobble1 0.5s linear forwards;
}

input~span {
  visibility: hidden;
}

input:checked~span {
  visibility: visible;
}

@keyframes wobble1 {

  from,
  to {
    transform: translateY(0) scale(1);
  }

  25% {
    transform: translateY(0) scale(1.33);
  }

  50% {
    transform: translateY(0.25em) scale(1);
  }

  67% {
    transform: translateY(-0.15em) scale(1);
  }

  83% {
    transform: translateY(0.07em) scale(1);
  }
}

input:nth-of-type(2):checked~span {
  transform: translateY(2.87em);
}

input:nth-of-type(2):checked~span:before {
  animation: wobble2 0.5s linear forwards;
}

@keyframes wobble2 {

  from,
  to {
    transform: translateY(0) scale(1);
  }

  25% {
    transform: translateY(0) scale(1.33);
  }

  50% {
    transform: translateY(0.25em) scale(1);
  }

  67% {
    transform: translateY(-0.15em) scale(1);
  }

  83% {
    transform: translateY(0.07em) scale(1);
  }
}

input:nth-of-type(3):checked~span {
  transform: translateY(5.77em);
}

input:nth-of-type(3):checked~span:before {
  animation: wobble3 0.5s linear forwards;
}

@keyframes wobble3 {

  from,
  to {
    transform: translateY(0) scale(1);
  }

  25% {
    transform: translateY(0) scale(1.33);
  }

  50% {
    transform: translateY(0.25em) scale(1);
  }

  67% {
    transform: translateY(-0.15em) scale(1);
  }

  83% {
    transform: translateY(0.07em) scale(1);
  }
}

input:nth-of-type(4):checked~span {
  transform: translateY(8.6em);
}

input:nth-of-type(4):checked~span:before {
  animation: wobble4 0.5s linear forwards;
}

@keyframes wobble4 {

  from,
  to {
    transform: translateY(0) scale(1);
  }

  25% {
    transform: translateY(0) scale(1.33);
  }

  50% {
    transform: translateY(0.25em) scale(1);
  }

  67% {
    transform: translateY(-0.15em) scale(1);
  }

  83% {
    transform: translateY(0.07em) scale(1);
  }
}

/*new style for input - end*/

.slide_number:checked+label {
  background-color: white;
  color: #8B4513;
  border: 2px solid #8B4513;
}

.slide_number_label {
  width: 30px;
  height: 30px;
  background-color: var(--blue-primary);
  border-radius: 100px;
}

[data-anchor="slide_anchor"] {
  background-color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 100%;
  text-decoration: none;
  /* color: var(--blue-primary); */
  color: #6400ff;
  font-size: 20px;
  /* box-shadow: inset 0px 0px 0px 3px var(--blue-primary); */
}

[data-anchor="slide_anchor"]:hover {
  background-color: var(--blue-primary);
  color: green;
  font-weight: bolder;
  box-shadow: inset 0px 0px 0px 3px rgb(0, 23, 128);
}

footer {
  position: relative;
  background-color: var(--header);
}

/*older*/
nav {
  /* position: absolute;
    bottom: 10px;
    z-index: 100; */
}

ul {
  /* padding-left: 0.25rem; */
}

nav ul {
  list-style-type: none;
}

nav ul li {
  display: inline-block;
  margin: 0.15rem 0.15rem;
}

.slides-container {
  position: absolute;
  top: 36%;
  height: 100%;
  min-width: 100%;
  overflow: hidden;
  z-index: 10;
  transform: translate(0%, -36%);
  -webkit-transform: translate(0%, -36%);
  -moz-transform: translate(0%, -36%);
  -o-transform: translate(0%, -36%);
  -ms-transform: translate(0%, -36%);
}

.slide {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

/*===============*/

@media only screen and (max-width: 1024px) {
  .mainQuizArea {
    margin: 0px 0px;
    max-width: 100%;
    min-height: 100vh;
    /* background-image: url(../images/back1.png);
    background-color: var(--bg-secondary); */
    box-shadow: 0px 0px 5px 1px var(--gray);
  }

  /* .slides-container{
        width: 100%;
        top: 35%;
    }  */
}

/* @media only screen and (min-width: 500px) {
    .col-vr span{
        display: inline-block;
        margin: 0.25rem 0rem;
    } 
} */
/*new style end*/



header.d-flex.align-items-center {
  position: sticky;
  top: 0px;
}

footer {
  position: sticky;
  bottom: 0px;
  z-index: 100;
}

#nav-list {
  text-align: center;
}

div.col.d-flex.justify-content-start {
  display: flex !important;
  justify-content: center !important;
}

#start-page {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-top: 4rem;
  font-size: 2rem;
}

#start-page img {
  width: 200px;
}

#rubric {
  margin: auto 10px;
  font-size: 1.5rem;
  max-width: 800px;
  padding: 20px;
  background-color: #fff0e46e;
  border-radius: 20px;
  font-family: Rubric, sans-serif;
  /* color: #0093cf; */
  color: #006f09;
  font-weight: 800;
}

.prev-button,
#disabled-prev-button,
.next-button,
#submit-button {
  width: 100px;
  height: 40px;
  margin: auto 65px;
}

.prev-button,
#disabled-prev-button {
  position: absolute;
  left: 0px;
}

.next-button,
#submit-button {
  position: absolute;
  right: 0px;
}

.preview-question-number {
  text-decoration: none;
  cursor: pointer;
}

#preview-quiz-attempt,
#end-page {
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

table {
  text-align: center;
  margin-top: 20px;
  margin-bottom: 20px;
  font-family: Rubric;
  background-color: #fff0e46e;
}

th,
td {
  padding: 10px;
  border: 1px solid black;
}

#final-submit {
  margin-top: 25px;
  padding: 12px;
  background-color: #99ff9a;
}

.result-image {
  width: 40px;
}

#score {
  font-family: 'Rubric';
  font-size: 2.5rem;
  margin-top: 20px;
}

button {
  background-color: #ffa200;
  /* background-color: #eaffb5; */
  border: none;
  border-radius: 20px;
  font-family: Rubric;
}

button:hover {
  transform: rotate(2deg);
  box-shadow: 6px 6px 12px rgba(0, 0, 0, 0.3);
}

.prev-button:hover,
#disabled-prev-button:hover {
  transform: rotate(-2deg);
}

#startBtn{
  /* padding: 10px; */
}

#startBtn:hover {
  transform: rotate(2deg);
  cursor: pointer;
  /* background-color: white; */
  filter: drop-shadow(20px 20px 20px red) invert(10%);
}

#disabled-prev-button {
  background-color: #c1c1c1;
}

#submit-button {
  background-color: #28ff2a;
  /* background-color: #99ff9a; */
}

.infoImage {
  margin: 5px;
}

.infoImage img {
  margin-left: 10px;
}

.mainQuizArea {
  /* overflow: hidden;
  height: 100vh; */
}

@media screen and (max-width: 992px) {
  body {
    overflow: auto;
  }
}

@supports (-webkit-touch-callout: none) {

  /* CSS specific to iOS devices */
  .option_label_input {
    transform: translate(25%, 25%);
  }
}

.option_label {
  display: block;
  /* text-align: center; */
  text-align: left;
  /* font-weight: bolder; */
}

.option_label:hover{
  /* font-weight: bolder; */
  /* color: green; */
}

.fs-5{
  text-align: center;
  color: #436f1d;
}

.fs-5 .hang{
  /* font-size: 20px; */
  /* font-size: 25px; */
  font-size: 2rem;
  text-align: left;
}

.optText{
  font-size: 2rem;
  line-height: 22px;
}

@media screen and (min-width: 1000px) and (min-height: 600px) {
  #startBtn {
    position: absolute;
    bottom: 35vh;
  }
}

button:hover,
button:focus {
  -webkit-animation-name: wobble;
  animation-name: wobble;
  -webkit-animation-duration: 1s;
  animation-duration: 1s;
  -webkit-animation-timing-function: ease-in-out;
  animation-timing-function: ease-in-out;
  -webkit-animation-iteration-count: 1;
  animation-iteration-count: 1;
}

@-webkit-keyframes wobble {
  16.65% {
    -webkit-transform: translateX(8px);
    transform: translateX(8px);
  }
  33.3% {
    -webkit-transform: translateX(-6px);
    transform: translateX(-6px);
  }
  49.95% {
    -webkit-transform: translateX(4px);
    transform: translateX(4px);
  }
  66.6% {
    -webkit-transform: translateX(-2px);
    transform: translateX(-2px);
  }
  83.25% {
    -webkit-transform: translateX(1px);
    transform: translateX(1px);
  }
  100% {
    -webkit-transform: translateX(0);
    transform: translateX(0);
  }
}
@keyframes wobble {
  16.65% {
    -webkit-transform: translateX(8px);
    transform: translateX(8px);
  }
  33.3% {
    -webkit-transform: translateX(-6px);
    transform: translateX(-6px);
  }
  49.95% {
    -webkit-transform: translateX(4px);
    transform: translateX(4px);
  }
  66.6% {
    -webkit-transform: translateX(-2px);
    transform: translateX(-2px);
  }
  83.25% {
    -webkit-transform: translateX(1px);
    transform: translateX(1px);
  }
  100% {
    -webkit-transform: translateX(0);
    transform: translateX(0);
  }
}

.option_label_input:hover{
  box-shadow: 0 0 0.75em #003f79;
}

.question_num{
  display: none;
}
