@import url("https://fonts.googleapis.com/css2?family=Abhaya+Libre:wght@400;500;600;700;800&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap");


:root {
    --primary-color: #fcc236;
  }

*{
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: "Poppins", sans-serif;

}

body{
    background-color: #f7f8fa;
}
  .primary-bg{
    background-color: var(--primary-color);
  }

  header nav {
    height: 4rem;
    overflow: hidden;
    position: relative;
    z-index: 10;
    display: flex;
    align-items: center;
}

.main_content_wrapper {
  margin-top: 2rem;
}


:is(.mcqSc_wrapper,.mcqMc_wrapper,.trueFalse_wrapper) .options_wrapper{
  display: grid;
  gap: 1rem 2rem;
  grid-template-columns: repeat(2, 1fr);
  margin-top: 2rem;
  padding:0  1rem;
}


label.label_options {
  font-size: 1rem;
  font-weight: 400;
  display: block;
}

.card-title , .card-title > span{
  font-family: "Abhaya Libre", serif;
  font-weight: 800;
  font-size: 2rem;
  color: #212529;
}

.options_wrapper > .form-check > label{
  text-align: start;
  background: #0000000d;
  color: #212529;
  padding: 1rem 1rem 1rem 1rem;
  border-radius: 0.5rem;
}



input[type="radio"]:checked ~ label {
  background-color: #198754!important;
  color: #fff;
}

input[type="checkbox"]:checked ~ label {
  background-color: #198754!important;
  color: #fff;
}



 .buttons-wrapper {
  padding: 1rem 1.5rem;
  border-radius: 1rem;
  display: flex;
  justify-content: center;
  align-items: center;
}



.submit-btn {
  background-color: #fcc236 !important;
  color: black !important;
  font-weight: 500;
  font-size: 1rem;
  padding: 0.7rem 2rem;
  border: none;
  border-radius: 0.25rem;
  display: inline-flex;
  gap: 1rem;
  align-items: center;
  box-shadow: none !important;
  border-radius: 2rem;
}

.buttons-wrapper_top {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 2rem;
}

.next-btn,.prev-btn {
  background-color: #fcc236 !important;
  color: black !important;
  font-weight: 600;
  font-size: 1rem;
  /* padding: 2rem 2rem; */
  width: 3rem;
  aspect-ratio: 1/1;
  border: none;
  border-radius: 0.25rem;
  display: inline-flex;
  gap: 1rem;
  align-items: center;
  box-shadow: none !important;
  justify-content: center;
  border-radius: 50%;
}


.question_number {
  font-size: 1.5rem;
  font-weight: 600;
  padding-right: 4px;
}

.img-wrapper img {
  padding: 2rem 0px;
  height: 18rem;
  object-fit: cover;
}



main.form_container {
  height: calc(100vh - 4rem);
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}


.form_content_wrapper {
  margin: 0rem;
  background: #fff;
  width: 25rem;
  padding: 2rem 2rem;
  border-radius: 1rem;
}

main.greeting_container {
  height: calc(100vh - 4rem);
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  /* background-color: #f2f6ed; */
position: relative;
z-index: 5;
}

main.greeting_container .check_icon {
  background-color: #00b881;
  color: #fff;
  font-size: 4rem;
  width: 6rem;
  aspect-ratio: 1/1;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
}

main.greeting_container .greeting_content_wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3rem;
}

main.greeting_container .greeting_content_wrapper h1 {
  font-weight: 600;
}

main.greeting_container .greeting_content_wrapper h4 {
  font-weight: 600;
  font-family: "Abhaya Libre", serif;

}


@keyframes confetti-slow {
  0% {
    transform: translate3d(0, 0, 0) rotateX(0) rotateY(0);
  }

  100% {
    transform: translate3d(25px, 105vh, 0) rotateX(360deg) rotateY(180deg);
  }
}

@keyframes confetti-medium {
  0% {
    transform: translate3d(0, 0, 0) rotateX(0) rotateY(0);
  }

  100% {
    transform: translate3d(100px, 105vh, 0) rotateX(100deg) rotateY(360deg);
  }
}

@keyframes confetti-fast {
  0% {
    transform: translate3d(0, 0, 0) rotateX(0) rotateY(0);
  }

  100% {
    transform: translate3d(-50px, 105vh, 0) rotateX(10deg) rotateY(250deg);
  }
}

.box-wrapper {
  width: 100vw;
  height: 100vh;
  /* background: #ffffff; */
  border: 1px solid white;
  position: fixed !important;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1;
}

.confetti-container {
  perspective: 700px;
  position: absolute;
  overflow: hidden;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
}

.confetti {
  position: absolute;
  z-index: 1;
  top: -10px;
  border-radius: 0%;
}

.confetti--animation-slow {
  animation: confetti-slow 2.25s linear 1 forwards;
}

.confetti--animation-medium {
  animation: confetti-medium 1.75s linear 1 forwards;
}

.confetti--animation-fast {
  animation: confetti-fast 1.25s linear 1 forwards;
}


.clock-wrapper {
  display: flex;
  gap: 0.5rem;
  background: rgb(255 255 255 / 80%);
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
  font-size: 1.5rem;
  align-items: center;
  font-weight: 600;
  justify-content: center;
}



@media (max-width:767px) {
  .card-title, .card-title > span {
    font-family: "Abhaya Libre", serif;
    font-weight: 800;
    font-size: 1.5rem;
    color: #212529;
}

.form_content_wrapper {
  margin: 1rem;
  background: #fff;
  width: 25rem;
  padding: 2rem 1rem;
  border-radius: 1rem;
}


:is(.mcqSc_wrapper,.mcqMc_wrapper) .options_wrapper {
  display: grid;
  gap: 1rem 0rem;
  grid-template-columns: repeat(1, 1fr);
  margin-top: 2rem;
  padding: 0 0rem;
}

.form-check.form-check-inline {
  padding-left: 0;
  margin-right: 0;
}

.prev-btn,.next-btn,.submit-btn {
    padding: 0.5rem 1rem;
    gap: 0.5rem;
}

.buttons-wrapper {
  padding: 0.5rem 0.5rem;
  border-radius: 0.5rem;
}

:is(.trueFalse_wrapper) .options_wrapper {
  display: grid;
  gap: 1rem 2rem;
  grid-template-columns: repeat(1, 1fr);
  margin-top: 2rem;
  padding: 0 1rem;
}

}


















.spin-container {
  position: fixed;
  top: 0;
  left: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100vh;
  background: #ffffff;
  z-index: 999;
}

.spin-container .spinner {
  margin: 100px auto;
  width: 50px;
  height: 40px;
  text-align: center;
  font-size: 10px;
}

.spin-container .spinner > div {
  background-color: #333;
  height: 100%;
  width: 6px;
  display: inline-block;
  
  -webkit-animation: sk-stretchdelay 1.2s infinite ease-in-out;
  animation: sk-stretchdelay 1.2s infinite ease-in-out;
}

.spin-container .spinner .rect2 {
  -webkit-animation-delay: -1.1s;
  animation-delay: -1.1s;
}

.spin-container .spinner .rect3 {
  -webkit-animation-delay: -1.0s;
  animation-delay: -1.0s;
}

.spin-container .spinner .rect4 {
  -webkit-animation-delay: -0.9s;
  animation-delay: -0.9s;
}

.spin-container .spinner .rect5 {
  -webkit-animation-delay: -0.8s;
  animation-delay: -0.8s;
}

@-webkit-keyframes sk-stretchdelay {
  0%, 40%, 100% { -webkit-transform: scaleY(0.4) }  
  20% { -webkit-transform: scaleY(1.0) }
}

@keyframes sk-stretchdelay {
  0%, 40%, 100% { 
    transform: scaleY(0.4);
    -webkit-transform: scaleY(0.4);
  }  20% { 
    transform: scaleY(1.0);
    -webkit-transform: scaleY(1.0);
  }
}