* {
  margin: 0;

  padding: 0;

  box-sizing: border-box;
}

@font-face {
  font-family: openSans;

  src: url("./assets/fonts/Open_Sans/OpenSans-VariableFont_wdth\,wght.ttf");
}

@font-face {
  font-family: WWF;

  src: url("./assets/fonts/WWF.otf");
}

html {
  scroll-behavior: smooth;
}

p {
  margin-bottom: 0;

  color: #000;

  font-size: 18px;

  line-height: 30px;
}

a {
  text-decoration: none;
}

a strong {
  color: #88b540;

  text-decoration: none;
}

.mt-50 {
  margin-top: 50px;
}

.mb-100 {
  margin-bottom: 100px;
}

.mb-200 {
  margin-bottom: 200px;
}

.pt-200 {
  padding-top: 200px;
}

.separator {
  height: 2px;

  width: 100%;

  background-color: #ddd;

  margin: 20px 0 !important;
}

ul li {
  color: #000;

  font-size: 15px;

  line-height: 25px;
}

header {
  background-color: #000;

  height: 70px;

  position: relative;

  width: 100%;

  position: fixed;

  left: 0;

  top: 0;

  z-index: 99999;
}

header .header-wp {
  display: flex;

  justify-content: space-between;
}

header .header-wp .logo-1 {
  position: absolute;

  top: 0;
}

header .header-wp .logo-1 img {
  max-width: 104px;
}

header .header-wp .secondary-span {
  margin-top: 10px;

  display: flex;

  align-items: center;

  gap: 40px;
}

header .header-wp .web-btn a {
  text-decoration: none;

  color: #fff;

  background-color: #88b540;

  padding: 12px 20px;

  border-radius: 2px;

  font-size: 18px;

  transition: 0.3s;
}

header .header-wp .web-btn a:hover {
  background-color: #5b7f22;
}

/* main style */

.main {
  background-image: url("assets/images/nature-nuggets-quiz-bg.jpeg");

  background-position: center center;

  background-repeat: no-repeat;

  background-size: cover;

  /* height: 100vh; */

  position: relative;

  margin-top: 70px;

  padding: 100px 0 200px 0;
}

.main .text-box {
  position: relative;

  width: 700px;

  height: 430px;

  border-radius: 5px;

  margin: 0 auto;
}

.main .text-box-overlay-1,
.main .text-box-overlay-2 {
  width: 100%;

  height: 100%;

  position: absolute;

  top: 0;

  left: 0;

  border-radius: 5px;
}

.main .text-box-overlay-1 {
  background-color: #88b540;

  transform: rotate(3deg);
}

.main .text-box-overlay-2 {
  background-color: yellow;

  transform: rotate(-3deg);
}

.main .text-box-wp {
  width: 100%;

  height: 100%;

  padding: 40px 20px;

  background: #fff;

  border-radius: 5px;

  margin: 0 auto;

  position: absolute;

  top: 0;

  left: 0;
}

.main .text-box-wp h2 {
  text-align: center;

  margin-bottom: 15px;

  font-family: WWF, sans-serif;
}

.main .text-box-wp .quiz-msg p {
  font-size: 18px;

  line-height: 30px;

  font-family: openSans, sans-serif;
}

.main .text-box-wp .quiz-note p {
  font-size: 16px;
}

.main .text-box-wp .quiz-btn {
  margin: 30px 0;

  text-align: center;
}

.main .text-box-wp .quiz-btn a,
.a-b {
  text-decoration: none;

  background-color: #88b540;

  color: #fff;

  font-size: 18px;

  border-radius: 5px;

  padding: 10px 15px;

  border: 2px dashed #4f711b;

  transition: 0.25s;
}

.main .text-box-wp .quiz-btn a:hover {
  background-color: #5b7f22;
}

/* quiz style */

.banner-area {
  background-image: url("assets/images/nature-nuggets-quiz-bg.jpeg");

  background-position: center 65%;

  background-repeat: no-repeat;

  background-size: cover;

  position: relative;

  margin-top: 70px;

  height: 250px;

  overflow: hidden;

  position: relative;

  display: flex;

  justify-content: center;

  align-items: center;
}

.banner-area::before {
  content: "";

  position: absolute;

  top: 0;

  left: 0;

  height: 100%;

  width: 100%;

  background-color: #00000081;
}

.banner-area .banner-area-head h1 {
  font-size: 55px;

  color: #fff;

  font-family: WWF, sans-serif;

  z-index: 9999;

  position: relative;
}

.quiz-timer {
  width: 800px;

  margin: 0 auto 20px;

  display: flex;

  justify-content: space-between;

  align-items: center;
}

.quiz-span-wp {
  width: 800px;

  margin: 0 auto;

  padding: 30px 50px 50px 50px;

  box-shadow: 0 0 10px #ccc;

  border-radius: 5px;
}

.quiz-span-wp .question p {
  color: #000;

  font-size: 18px;

  margin-bottom: 20px;

  line-height: 25px;

  width: 100%;

  text-align: justify;

  font-weight: 500;

  font-family: openSans, sans-serif;
}

.quiz-span-wp label {
  border: 2px solid #e2e7ed;

  border-radius: 5px;

  padding: 15px;

  width: 100%;

  cursor: pointer;

  font-size: 18px;

  font-family: openSans, sans-serif;
}

.quiz-span-wp label input {
  margin-right: 10px;
}

.nxt-btn,
.finish-btn,
.popup-wrapper form button {
  text-align: center;

  margin-top: 20px;
}

.nxt-btn a,
.finish-btn input,
.popup-wrapper form button {
  text-decoration: none;

  background-color: #88b540;

  color: #fff;

  border-radius: 5px;

  font-family: inherit;

  font-size: 18px;

  border: 0;

  opacity: 1;

  transition: opacity 0.3s ease;

  padding: 10px 15px;
}

.popup-wrapper form button {
  float: none;
}

.nxt-btn a:hover,
.finish-btn input:hover,
.popup-wrapper form button:hover {
  opacity: 0.8;
}

.quiz-span-wp .completion-message p span {
  background-color: #88b540;

  color: #fff;

  cursor: pointer;

  padding: 5px 10px;

  border-radius: 5px;
}

.quiz-span-wp .completion-message .msg-top {
  border-radius: 5px;

  overflow: hidden;

  padding: 10px 15px;
}

.quiz-span-wp .completion-message .cta-msg {
  border: 2.5px solid #88b540;

  border-radius: 2px;

  padding: 10px;

  background-color: #f3f3f3;
}

/* .quiz-span-wp .completion-message .msg-top p:nth-child(1) {

    background-color: #000000;

    color: #fff;

    padding: 10px 60px;

    font-size: 20px;

} */

/* .quiz-span-wp .completion-message .msg-top p:nth-child(2) {

    background-color: #88b540;

    color: #fff;

    padding: 44px 15px;

    font-size: 26px;

    cursor: pointer;

    font-weight: 600;

} */

.quiz-span-wp .completion-message .msg-top a {
  text-decoration: none;

  background-color: #88b540;

  color: #fff;

  padding: 10px 15px;

  font-size: 18px;

  cursor: pointer;

  border-radius: 5px;
}

.quiz-span-wp .completion-message-wrapper h2 {
  font-weight: 700;

  font-family: WWF, sans-serif;

  margin: 26px 0px;
}

.quiz-span-wp .single-quiz {
  display: none;
}

.popup,
.popup-header {
  background-color: #0000003d;

  width: 100%;

  height: 100vh;

  display: flex;

  justify-content: center;

  align-items: center;

  position: fixed;

  top: 0;

  right: 0;

  z-index: 99999;
}

.popup-wrapper {
  width: 370px;

  height: 610px;

  background-color: #fff;

  border-radius: 10px;

  padding: 25px;

  overflow-y: auto;
}

/* .popup-wrapper form {

    position: absolute;

    left: 50%;

    top: 50%;

    transform: translate(-50%, -50%);

    width: 88%;

} */

.popup-wrapper form input::placeholder {
  font-size: 1rem;
}

.popup-wrapper .close-btn,
.popup-wrapper .close-btn-header {
  position: absolute;

  top: 6px;

  right: 12px;

  height: 22px;

  width: 22px;

  background-color: #b5b3b3;

  display: flex;

  justify-content: center;

  align-items: center;

  text-decoration: none;

  font-size: 16px;

  font-weight: 700;
}

.popup-wrapper .close-btn a,
.popup-wrapper .close-btn-header a {
  color: #fff;

  font-size: 12px;

  text-decoration: none;
}

.popup-wrapper form legend {
  font-size: 17px;

  text-align: center;

  font-weight: 500;
}

.user-new,
.user-exist,
.user-new-header,
.user-exist-header {
  text-align: center;

  margin-top: 10px;
}

.user-new a,
.user-exist a,
.user-new-header a,
.user-exist-header a {
  color: #88b540;

  text-decoration: none;
}

.icon_ga {
  position: absolute;

  right: 7%;

  top: 50%;

  transform: translate(0%, -35%);

  text-align: center;

  width: 18%;
}

.score-range h1 {
  font-family: WWF, sans-serif;

  margin-bottom: 24px;
}

.congrats-icon img {
  width: 55px;
}

/* footer style */

footer {
  background-color: #000;

  height: 70px;

  display: flex;

  align-items: center;

  justify-content: center;

  width: 100%;
}

footer p {
  color: #fff;
}

footer a {
  text-decoration: none;

  color: #fff;
}

footer a:hover {
  color: #fff;
}

/* leader board table style */

#leaderboard-table {
  border: 1.5px solid #ccc;

  border-radius: 5px;

  width: 100%;
}

#leaderboard-table th {
  background-color: #8a8a8a;

  color: #fff;
}

#leaderboard-table th,
#leaderboard-table td {
  border: 1.5px solid #ccc;

  font-size: 18px;

  padding: 8px 0 8px 10px;

  text-align: left;
}

#leaderboard-table .winner {
  background-color: #88b540 !important;

  color: #fff !important;
}

#leaderboard-table tbody tr:nth-child(even) {
  background-color: #dcdcdc;

  color: #000;
}

#leaderboard-table tbody tr:nth-child(odd) {
  background-color: transparent;

  color: #000;
}

.load-more,
.leadership-board-single {
  margin: 35px 0;
}

.load-more a,
.leadership-board-single a {
  background-color: #83b341;

  text-decoration: none;

  color: #fff;

  padding: 10px 15px;

  border-radius: 5px;
}

.leadership-board-single a {
  cursor: not-allowed;

  background-color: #000;
}

/* winner page style */

.quiz-filter {
  margin: 20px 0;
}

.quiz-filter-wp {
  width: 300px;

  border: 2px solid #88b540;

  margin: 0 auto;

  padding: 10px;

  border-radius: 10px;

  display: flex;

  gap: 10px;
}

.quiz-filter-wp a {
  color: #88b540;

  padding: 10px 15px;

  flex: 0 0 48%;

  text-align: center;

  text-decoration: none;

  border-radius: 5px;

  border: 1.5px solid #88b540;
}

.quiz-filter-wp a.active {
  background-color: #88b540;

  color: #fff;

  border: 1.5px solid #fff;
}

.winner-block {
  padding: 40px 0 100px 0;
}

.winner-block .winner-block-single {
  text-align: center;
}

.highlight-winner {
  border: 2px solid #88b540;

  padding: 50px 0;

  border-radius: 10px;
}

.highlight-winner-2 {

  padding: 50px 0;
}

.winner-block .winner-block-single .avatar-img {
  position: relative;

  width: 120px;

  margin: 0 auto;
}

.winner-block .winner-block-single .avatar-img::before {
  content: "";

  position: absolute;

  top: -10px;

  left: -10px;

  width: calc(100% + 20px);

  height: calc(100% + 20px);

  clip-path: polygon(50% 0, 100% 28%, 100% 73%, 50% 100%, 0 74%, 0 28%);
}

.winner-block .winner-block-single.highlight-winner .avatar-img::before {
  background-color: #88b540;
}

.winner-block .winner-block-single.first-runner .avatar-img::before,
.winner-block .winner-block-single.second-runner .avatar-img::before {
  background-color: #44c8f5;
}

.winner-block .winner-block-single .avatar-img img {
  width: 100%;

  display: block;

  clip-path: polygon(50% 0, 100% 28%, 100% 73%, 50% 100%, 0 74%, 0 28%);
}

.winner-block .winner-block-single .avatar-name {
  margin-top: 20px;
}

.winner-block .winner-block-single .avatar-name p {
  font-size: 30px;

  font-family: WWF, sans-serif;
}

.winner-block .winner-block-single .avatar-rank {
  margin-top: 15px;
}

.winner-block .winner-block-single .avatar-rank p {
  color: #44c8f5;

  font-size: 40px;

  font-family: WWF, sans-serif;
}

.winner-block .winner-block-single .avatar-score {
  margin-top: 15px;
}

.winner-block .winner-block-single .avatar-score p:nth-of-type(1) {
  font-size: 20px;

  font-weight: 500;

  text-transform: uppercase;

  margin-bottom: 10px;
}

.winner-block .winner-block-single .avatar-score p:nth-of-type(2) {
  font-weight: 500;

  font-size: 50px;

  font-family: WWF, sans-serif;
}

.winner-greet h1 {
  font-family: WWF, sans-serif;
}

.msg-con-wp {
  margin-bottom: 100px;

  background-color: #f1f0f0;

  padding: 20px 100px;

  text-align: center;

  border-radius: 10px;
}

.msg-con-wp p {
  font-size: 18px;

  line-height: 30px;

  font-family: openSans, sans-serif;

  margin-bottom: 20px;
}

.msg-con-wp a.win-lm {
  background-color: #88b540;

  color: #fff;

  font-size: 18px;

  border-radius: 2px;

  padding: 5px 10px;
}

@media (max-width: 600px) {
  .pt-200 {
    padding-top: 100px;
  }

  .main .text-box {
    width: 320px;

    height: 660px;
  }

  .main .text-box-wp p {
    font-size: 15px;
  }

  .quiz-span-wp {
    width: 320px;

    padding: 50px 18px;
  }

  header .header-wp .secondary-span {
    margin-top: 20px;

    gap: 15px;
  }

  header .header-wp .logo-1 img {
    max-width: 85px;
  }

  header .header-wp .logo-2 img {
    width: 90px;
  }

  header .header-wp .web-btn a {
    padding: 7px 10px;

    font-size: 14px;
  }

  .banner-area .banner-area-head h1 {
    font-size: 36px;
  }

  .quiz-span-wp .question p,
  .quiz-span-wp label {
    font-size: 15px;
  }

  .leaderboard-btm {
    flex-direction: column;
  }

  .quiz-timer {
    width: auto;

    justify-content: start;

    align-items: center;

    flex-direction: column;
  }

  .winner-block .winner-block-single {
    width: 80%;

    margin: 0 auto;
  }

  .msg-con-wp {
    padding: 20px 10px;
  }
}

/* .view-win {
  display: none;
} */

.fullscreen-loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(255, 255, 255, 0.8);
  z-index: 999999;
  display: none;
}

/* .rank4,
.rank5 {
  width: 50%;
} */

.pt-100 {
  padding-top: 100px;
}



/* Picture based questions css  */

.question-image {
  width: 100%;
  max-height: 400px;
  object-fit: contain;
  border-radius: 15px;
  margin-bottom: 30px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.option-card {
  border: 3px solid #e9ecef;
  border-radius: 15px;
  padding: 20px;
  margin-bottom: 20px;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  width: 100%;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.option-card:hover {
  border-color: #4facfe;
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(79, 172, 254, 0.2);
}

.option-card.selected {
  border-color: #4facfe;
  background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
  color: white;
}

.option-image {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 10px;
  margin-right: 20px;
}

.option-content {
  display: flex;
  align-items: center;
}

.option-text {
  flex: 1;
  font-weight: 500;
}

@media (max-width: 768px) {
  .option-image {
    width: 60px;
    height: 60px;
    margin-right: 15px;
  }

  .option-content {
    flex-direction: column;
    text-align: start !important;
  }

  .option-image {
    margin-right: 0;
    margin-bottom: 15px;
  }
}