@font-face {
  font-family: "Poppins";
  src: url(/static/fonts/Poppins-Regular.ttf);
}
* {
  margin: 0;
  padding: 0;
}
/* html {
  height: 100vh;
  width: 100%;
} */

body {
  font-family: "Poppins", sans-serif;
  color: #0c0c0c;
  overflow-x: hidden;
  background-color: #e4efe7;
  height: 100vh;
  width: 100%;
}
.main {
  position: relative;
  display: flex;
}
.holder {
  flex: 1;
  justify-content: center;
  display: flex;
  align-items: center;
  padding-top: 30px;
  padding-bottom: 10px;
  flex-direction: column;
  width: 100%;
}
.col-lg-4 {
  flex: 0 0 auto;
  width: 46.333333%;
}
.pages {
  position: relative;
  width: 100%;

  overflow: hidden;
}
.container {
  width: 100%;
  padding-right: 15px;
  padding-left: 15px;
  margin-right: auto;
  margin-left: auto;
}
.fs-16 {
  font-size: 16px;
}

.holder .detail-box {
  text-align: center;
  color: #064420;
}
.holder .detail-box .btn-box {
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  margin: 0 -5px;
  margin-top: 30px;
}
.holder .detail-box .btn-box .btn1 {
  display: inline-block;
  padding: 7px 7px;
  background-color: #064420;
  color: #ffffff;
  border-radius: 5px;
  -webkit-transition: all 0.3s;
  transition: all 0.3s;
  border: 1px solid #064420;
}
.holder .detail-box .btn-box a {
  margin: 5px;
  text-align: center;
  width: 185px;
  text-decoration: none;
}
.holder .row {
  align-items: center;
}
.row {
  display: flex;
  flex-wrap: wrap;
  margin-right: -15px;
}
.carousel-item.active {
  display: block;
}
.img-fluid {
  max-width: 100%;
  height: auto;
}
.img-size {
  width: 240px;
}
/* Accordion */

.accordion {
  margin: 60px auto;
  width: 100%;
}
.accordion .li {
  list-style: none;
  margin: 10px;
  padding: 0px;
  border-radius: 8px;
  background: #faf1e6;
  box-shadow: 6px 6px 10px -1px rgba(0, 0, 0, 0.15), -6px -6px 10px -1px rgba(255, 255, 255, 0.7);
}
.accordion .li label {
  display: flex;
  align-items: center;
  padding: 10px;
  font-size: 18px;
  font-weight: 600;
  cursor: pointer;
}
label::before {
  content: "+";
  margin-right: 10px;
  font-size: 24px;
  font-weight: 600;
}
input[type="radio"] {
  display: none;
}
.accordion .content {
  color: #555;
  padding: 0 10px;
  line-height: 26px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s, padding 0.5s;
}
.accordion input[type="radio"]:checked + label + .content {
  max-height: 400px;
  padding: 10px 10px 20px;
}
.accordion input[type="radio"]:checked + label::before {
  content: "-";
}
ul li .active .chk {
  display: flex;
}

/* Slider */

.testimonial {
  position: relative;
  max-width: 900px;
  width: 100%;
  padding: 50px 0;
  overflow: hidden;
}
.testimonial .slide {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  row-gap: 30px;
}
.container-slider {
  height: 30vh;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.slide p {
  text-align: center;
  font-size: 14px;
  font-weight: 400;
  color: #064420;
  padding: 0 100px;
}

/* Drag and Drop */

.container-dnd {
  max-width: 960px;
  margin: auto;
}

h1,
h3,
p {
  text-align: center;
}

main {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-gap: 5px;
}

.draggable-list {
  padding: 5px;
}

.ques-li {
  list-style: none;
  padding: 10px;
  margin: 5px;
  background-color: #cfd8dc;
  border: 1px solid #b0bec5;
  color: #263238;
  cursor: grab;
}

.over {
  background-color: #90a4ae;
}

table {
  max-width: 100%;
  margin: auto;
  margin-bottom: 20px;
}

th,
td {
  padding: 10px 10px;
}

td {
  border: 1px solid #90a4ae;
}

tr:nth-child(even) {
  background-color: #cfd8dc;
}

.btnrestart {
  margin: auto;
  cursor: pointer;
  display: block;
  padding: 10px;
  font-size: 16px;
  border-radius: 4px;
  border: none;
  background-color: #064420;
  color: #fff;
}

.btnrestart:hover {
  background-color: #516a75;
}
.w75 {
  width: 75%;
}

#endMessage {
  display: none;
}

#game {
  padding: 0 !important;
}

#game #result {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
  position: absolute;
  justify-content: center;
  width: 95%;
}

#game .fields {
  display: flex;
  justify-content: center;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  width: 40%;
  padding-inline: 30px;
}

.startgame {
  margin-right: 22%;
  margin-left: 3%;
  border-radius: 10px;
  background: #00abe4;
  color: white;
  font-weight: 400;
}

.startgame:hover {
  background: white;
  color: #00abe4;
  font-weight: 600;
  border: none;
}

.get {
  margin-right: 22%;
  margin-left: 3%;
  border-radius: 10px;
  background: #00abe4;
  color: white;
  font-weight: 400;
}

#game #result p,
#result span {
  text-align: center;
  font-size: 18px;
  margin: 0;
}

#result p {
  padding-top: 50px;
}

#resetButton {
  border: 1px solid #a45800;
  border-radius: 5px;
  padding: 7px 40px;
  cursor: pointer;
  font-size: 12px;
  font-weight: 700;
}
.drag-container {
  justify-content: center;
}

.drop-zone {
  border: 2px dashed #ccc;
  padding: 15px;
  min-height: 150px;
  width: 94%;
  margin: 10px;
  position: relative;
}

.draggable-card {
  cursor: move;
  margin-right: 10px;
  transition: opacity 0.5s ease-in-out;
  background-color: #f0f0f0;
  border: 1px solid #ccc;
  padding: 10px;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.hidden {
  display: none;
}

.fade-out {
  opacity: 0.5;
}

/* other */
.disabled {
  opacity: 0.5;
  color: #999; /* Example: Change text color to gray */
  pointer-events: none; /* Disable pointer events */
  text-decoration: none; /* Remove underline */
  cursor: not-allowed; /* Change cursor to not-allowed */
}
@media (max-width: 1000px) {
  .col-lg-4 {
    flex: 0 0 auto;
    width: 100%;
  }
}

@media (max-width: 768px) {
  ul {
    flex-direction: row;
    margin-bottom: 0;
  }
  .col-lg-4 {
    flex: 0 0 auto;
    width: 100%;
  }
  .holder {
    flex: 1;
    justify-content: center;
    display: flex;
    align-items: center;
    padding-top: 30px;
    padding-bottom: 0px;
    flex-direction: column;
  }
  .holder .detail-box .btn-box {
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    margin: 0 0px;
    margin-top: 0px;
  }
  .img-size {
    width: 267px;
  }
  .accordion {
    margin: 10px 0;
    width: 100%;
  }
  .container {
    width: 100%;
    padding-right: 0px;
    padding-left: 0px;
    margin-right: auto;
    margin-left: auto;
  }
  .slide p {
    text-align: center;
    font-size: 14px;
    font-weight: 400;
    color: #064420;
    padding: 0 60px;
  }
  .container-slider {
    height: 40vh;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .testimonial {
    position: relative;
    max-width: 900px;
    width: 100%;
    padding: 15px 0;
    overflow: hidden;
  }
  .testimonial .slide {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    row-gap: 0px;
  }
  .draggable-list {
    padding: 0px;
  }
  .container-dnd {
    max-width: 960px;
    width: 585px;
    margin: auto;
  }
}
@media (max-width: 600px) {
  main {
    display: grid;
    grid-template-columns: none;
    grid-gap: 0px;
  }
  table {
    max-width: 100%;
    margin: 0 20px;
    margin-bottom: 20px;
  }
}

@media (max-width: 660px) {
  .header {
    display: flex;
    justify-content: center;
    align-items: center;
    scale: 0.8;
  }
}
@media (max-width: 500px) {
  .header {
    display: flex;
    justify-content: center;
    align-items: center;
    scale: 0.7;
  }
}
@media (max-width: 425px) {
  .page1-div {
    flex-direction: column;
    margin-bottom: 15px;
  }
  .holder {
    flex: 1;
    justify-content: center;
    display: flex;
    align-items: center;
    padding-top: 15px;
    padding-bottom: 0;
    flex-direction: column;
    width: 100%;
    max-width: 425px;
    overflow: hidden;
    margin: 10px;
  }
  main {
    display: grid;
    grid-template-columns: none;
    grid-gap: 0px;
  }
  .fron-img-size {
    width: 370px;
  }
  .accordion {
    margin: 10px 0;
    width: 100%;
  }
  .accordion .li label {
    display: flex;
    align-items: center;
    padding: 10px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
  }
  .accordion input[type="radio"]:checked + label + .content {
    max-height: 400px;
    padding: 0px 10px 0px;
  }
  .accordion .content {
    color: #555;
    padding: 0 10px;
    line-height: 20px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s, padding 0.5s;
  }
  .ques-li {
    list-style: none;
    padding: 5px;
    margin: 5px 20px;
    background-color: #cfd8dc;
    border: 1px solid #b0bec5;
    color: #263238;
    cursor: grab;
    font-size: 14px;
  }
  h5 {
    font-size: 14px;
  }
  .pr-40 {
    padding-right: 40px;
  }
  .container-dnd {
    max-width: 960px;
    width: 325px;
    margin: auto;
  }
  .holder .detail-box {
    text-align: center;
    color: #064420;
  }
  .holder .detail-box .btn-box .btn1 {
    display: inline-block;
    padding: 7px 7px;
    background-color: #064420;
    color: #ffffff;
    border-radius: 5px;
    -webkit-transition: all 0.3s;
    transition: all 0.3s;
    border: 1px solid #064420;
  }
  .holder .detail-box .btn-box a {
    margin: 5px;
    text-align: center;
    width: 185px;
    text-decoration: none;
  }
  .fs-20 {
    font-size: 20px;
  }
  .accordion {
    margin: 10px 0;
    width: 80%;
  }
  .align-center {
    align-items: center;
  }
  table {
    max-width: 100%;
    margin: 0 20px;
    margin-bottom: 20px;
  }
  td {
    padding: 10px 0px;
  }
}

@media (max-width: 375px) {
  .holder {
    flex: 1;
    justify-content: center;
    display: flex;
    align-items: center;
    padding-top: 15px;
    padding-bottom: 0;
    flex-direction: column;
    width: 100%;
    max-width: 375px;
    overflow: hidden;
    margin: 10px;
  }
  .holder .detail-box .btn-box a {
    margin: 5px;
    text-align: center;
    width: 140px;
    text-decoration: none;
  }
  .fs-20 {
    font-size: 20px;
  }
  .accordion {
    margin: 10px 0;
    width: 80%;
  }
  .align-center {
    align-items: center;
  }
  table {
    max-width: 100%;
    margin: 0 20px;
    margin-bottom: 20px;
  }
  td {
    padding: 10px 0px;
  }
}
@media (max-width: 320px) {
  .holder {
    flex: 1;
    justify-content: center;
    display: flex;
    align-items: center;
    padding-top: 15px;
    padding-bottom: 0;
    flex-direction: column;
    width: 100%;
    max-width: 320px;
    overflow: hidden;
    margin: 5px;
  }
  .holder .detail-box {
    text-align: center;
    color: #064420;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
  .container-dnd {
    max-width: 960px;
    width: 320px;
    margin: auto;
  }
  .holder .detail-box .btn-box a {
    margin: 5px;
    text-align: center;
    width: 140px;
    text-decoration: none;
  }
  .fs-20 {
    font-size: 18px;
  }
  .fron-img-size {
    width: 301px;
    margin-left: 10px;
  }
  .accordion {
    margin: 10px 0;
    width: 80%;
  }
  .align-center {
    align-items: center;
  }
  table {
    max-width: 100%;
    margin: 0 20px;
    margin-bottom: 20px;
  }
  td {
    padding: 10px 0px;
  }
  .mrt-15 {
    top: 43%;
  }
}

/* Absolute Center Spinner */
.loading {
  position: fixed;
  z-index: 999;
  height: 2em;
  width: 2em;
  overflow: show;
  margin: auto;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
}

/* Transparent Overlay */
.loading:before {
  content: "";
  display: block;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(rgba(254, 254, 254, 0.8), rgba(0, 0, 0, 0.8));

  background: -webkit-radial-gradient(rgba(20, 20, 20, 0.8), rgba(0, 0, 0, 0.8));
}

/* :not(:required) hides these rules from IE9 and below */
.loading:not(:required) {
  /* hide "loading..." text */
  font: 0/0 a;
  color: transparent;
  text-shadow: none;
  background-color: transparent;
  border: 0;
}

.loading:not(:required):after {
  content: "";
  display: block;
  font-size: 10px;
  width: 1em;
  height: 1em;
  margin-top: -0.5em;
  -webkit-animation: spinner 150ms infinite linear;
  -moz-animation: spinner 150ms infinite linear;
  -ms-animation: spinner 150ms infinite linear;
  -o-animation: spinner 150ms infinite linear;
  animation: spinner 150ms infinite linear;
  border-radius: 0.5em;
  -webkit-box-shadow: rgba(255, 255, 255, 0.75) 1.5em 0 0 0,
    rgba(255, 255, 255, 0.75) 1.1em 1.1em 0 0, rgba(255, 255, 255, 0.75) 0 1.5em 0 0,
    rgba(255, 255, 255, 0.75) -1.1em 1.1em 0 0, rgba(255, 255, 255, 0.75) -1.5em 0 0 0,
    rgba(255, 255, 255, 0.75) -1.1em -1.1em 0 0, rgba(255, 255, 255, 0.75) 0 -1.5em 0 0,
    rgba(255, 255, 255, 0.75) 1.1em -1.1em 0 0;
  box-shadow: rgba(255, 255, 255, 0.75) 1.5em 0 0 0, rgba(255, 255, 255, 0.75) 1.1em 1.1em 0 0,
    rgba(255, 255, 255, 0.75) 0 1.5em 0 0, rgba(255, 255, 255, 0.75) -1.1em 1.1em 0 0,
    rgba(255, 255, 255, 0.75) -1.5em 0 0 0, rgba(255, 255, 255, 0.75) -1.1em -1.1em 0 0,
    rgba(255, 255, 255, 0.75) 0 -1.5em 0 0, rgba(255, 255, 255, 0.75) 1.1em -1.1em 0 0;
}

/* Animation */

@-webkit-keyframes spinner {
  0% {
    -webkit-transform: rotate(0deg);
    -moz-transform: rotate(0deg);
    -ms-transform: rotate(0deg);
    -o-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(360deg);
    -moz-transform: rotate(360deg);
    -ms-transform: rotate(360deg);
    -o-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}
@-moz-keyframes spinner {
  0% {
    -webkit-transform: rotate(0deg);
    -moz-transform: rotate(0deg);
    -ms-transform: rotate(0deg);
    -o-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(360deg);
    -moz-transform: rotate(360deg);
    -ms-transform: rotate(360deg);
    -o-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}
@-o-keyframes spinner {
  0% {
    -webkit-transform: rotate(0deg);
    -moz-transform: rotate(0deg);
    -ms-transform: rotate(0deg);
    -o-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(360deg);
    -moz-transform: rotate(360deg);
    -ms-transform: rotate(360deg);
    -o-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}
@keyframes spinner {
  0% {
    -webkit-transform: rotate(0deg);
    -moz-transform: rotate(0deg);
    -ms-transform: rotate(0deg);
    -o-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(360deg);
    -moz-transform: rotate(360deg);
    -ms-transform: rotate(360deg);
    -o-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}
