@font-face {
  font-family: Interstate-Regular;
  src: url("../assets/fonts/Interstate-Regular.otf");
}

@font-face {
  font-family: Interstate-Bold;
  src: url("../assets/fonts/Interstate-Bold.otf");
}

* {
  margin: 0%;
  overflow-wrap: break-word;
  word-break: break-word;
}

@media only screen and (max-width: 768px) {
  .privacy-policy {
    hyphens: auto;
  }
}

/* PREVENT STICKY BUTTONS ON TOUCH DEVICES */
@media (pointer: coarse) {
  [data-color-link-primary]:hover,
  [data-color-link-secondary]:hover,
  [data-menu]:hover,
  [data-color-social-primary]:hover,
  [data-color-social-secondary]:hover {
    opacity: 1 !important;
  }

  [data-button]:hover:not([disabled]) {
    opacity: 1 !important;
  }
}

[data-email] {
  position: relative;
  min-height: 100vh;
  background-color: black;
  flex-direction: row !important;
  align-items: center;
  justify-content: center;
}

body {
  position: relative;
}

html {
  height: fill-available;
}

.greenHelperLine {
  display: none;
}

.form-group {
  padding: 0;
}

.form-control {
  border-radius: 0 !important;
  height: calc(3rem + 2px);
  padding: 0.375rem 1rem;
}

.custom-control-label::before,
.custom-control-label::after {
  border-radius: 0 !important;
}

#main-content > div {
  position: relative;
  width: 100%;
  min-height: 100vh;
  padding: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  justify-content: space-between;
}

a {
  color: #fff;
  text-decoration: none;
  font-weight: bold;
}

.logo {
  margin: 1rem auto;
  max-width: 160px;
  max-height: 120px;
  object-fit: contain;
  margin-left: 3rem !important;
}

.intro-img-container,
.register-img-container {
  border: none;
  padding: 0;
  width: 100%;
  height: auto;
  margin: 0 auto;
}

.intro-img-container > img,
.register-img-container > img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.custom-control-label {
  text-align: left;
}

.custom-control-label::after {
  border: 1px solid;
  border-radius: 0.25rem;
}

.custom-checkbox .custom-control-label::before {
  background-color: transparent !important;
  border-radius: 0;
  border: 1px solid #333;
}

.custom-checkbox .custom-control-input:checked ~ .custom-control-label::after {
  background-image: none;
  transform: scale(0.7);
  border: none;
}

.custom-checkbox .custom-control-label::before,
.custom-checkbox .custom-control-label::after {
  top: calc(50% - 0.45rem);
}

.custom-checkbox .custom-control-label * {
  vertical-align: middle;
}

.buttonCont {
  margin-top: 2.5rem;
}

.button-container {
  width: 100%;
  text-align: left;
  margin: 1rem 0;
}

button {
  padding: 8px;
  min-width: 200px;
  max-width: 100%;
  font-size: inherit;
  cursor: pointer;
}

.button-container button:disabled {
  opacity: 0.45 !important;
}

/* .bottom-helper {
  min-height: 5rem;
} */

#game-view,
#quiz,
#swipe,
#survey {
  display: flex;
  flex-direction: column;
  width: 85%;
  margin: auto;
  align-items: center;
  border: 9px solid;
}

.content {
  width: 100%;
  margin: auto;
  padding: 0 1rem;
}

.content button {
  border: 3px solid;
  font-weight: 700;
  padding: 8px;
}

.content-background {
  padding: 3rem 0;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: nowrap;
}

#game-view {
  border: none;
  width: 100%;
}

/*#swipe,
#quiz,
#survey {
  margin-top: 5%;
}*/

.copyright {
  /* text-shadow: 1px 1px black; */
  text-align: center;
  margin-top: 2rem;
  padding: 0 1rem;
}

h1,
h2,
h3 {
  color: #662d91;
}

h2 {
  color: #fff;
  margin: 0;
  font-weight: 600;
}

.text-1 {
  margin-top: 5%;
}

.photos {
  padding: 4px;
  width: 72vw;
  border: 2px solid #662d91;
  margin-top: 10%;
  margin-bottom: 15%;
}

button:hover {
  color: #662d91;
  background: #fff;
}

.btn-border1 {
  border: 2px solid #662d91;
  padding: 2px;
  width: 65%;
  height: auto;
  margin-bottom: 15%;
}

button img {
  width: 6.5vw;
  position: relative;
  left: 7px;
}

.container-checkbox {
  width: 100%;
  margin-bottom: 20%;
  margin-top: 4%;
}

.wrapper-checkbox {
  position: relative;
  display: flex;
  padding: 4px;
}

label {
  text-align: justify;
}

input[type="checkbox"],
[type="radio"] {
  appearance: none;
  width: 6vw;
  height: 6vw;
  background-color: transparent;
  border: 1px solid #662d91;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  align-self: center;
  margin: auto;
  outline: none;
}

input[type="radio"] {
  border-radius: 50%;
}

input[type="checkbox"]::after,
input[type="radio"]::after {
  content: "\2610";
  color: #fff;
  display: none;
  position: relative;
  background-color: #fff;
  font-size: 3vw;
  height: auto;
  width: 4vw;
}

input[type="radio"]::after {
  border-radius: 50%;
}

input[type="checkbox"]:checked::after,
input[type="radio"]:checked::after {
  display: block;
}

ul {
  width: 100%;
  list-style-type: none;
  display: flex;
  justify-content: center;
  padding: 0%;
  margin-bottom: 10%;
}

li {
  display: inline-flex;
  margin-right: 20px;
  justify-content: center;
  margin-left: 20px;
  border-radius: 50%;
}

li img {
  width: 12vw;
}

#quiz img {
  margin-bottom: 8%;
}

#answers {
  width: 88%;
  margin-bottom: 2%;
}

#answers button {
  width: 100%;
  margin-bottom: 3%;
}

#swiper {
  width: 100%;
  display: inline-flex;
  justify-content: center;
  margin-bottom: 10%;
}

#swiper button {
  background: #662d91;
  width: 16vw;
  height: 16vw;
  padding: 0%;
  margin: auto;
}

#swiper button img {
  left: 0%;
  width: 6vw;
}

.true {
  width: 7vw !important;
}

.container-survey {
  width: 100%;
  /*margin-bottom: 10%;*/
}

.container-survey label {
  padding: 10px;
  border: 1px solid #662d91;
  background-color: #662d91;
  width: 78%;
  text-align: left;
  cursor: pointer;
  margin: auto;
}

#survey .btn-border1 {
  width: 47%;
}

.single-answer .custom-checkbox .custom-control-label::before,
.single-answer .custom-checkbox .custom-control-label::after {
  border-radius: 50% !important;
}

.single-answer,
.multiple-answer {
  flex-direction: column;
  gap: 0;
}

@media only screen and (min-width: 768px) {
  .single-answer,
  .multiple-answer {
    flex-direction: row;
    gap: 1rem;
  }
}

textarea {
  width: 65vw;
  margin: auto;
  background-color: #fff;
  color: #662d91;
  border: 0.7vw solid #662d91;
  margin-bottom: 10%;
  outline: none;
  height: 28vw;
  padding: 1vw 2vw;
}

textarea::placeholder {
  color: #662d91;
}

#outcome-title,
.introduction_headline,
.register_headline {
  margin-bottom: 1rem;
  word-break: break-word;
}

/* social icons */

.social__wrap {
  width: 100%;
  display: flex;
  flex-flow: row wrap;
  justify-content: flex-start;
  align-items: center;
  gap: 10px;
  list-style: none;
  margin: 40px auto 0;
  padding: 0;
  margin-left: -0;
}

[data-social] {
  width: 32px;
  height: 32px;
  aspect-ratio: 1 / 1;
  border: none;
  border-radius: 50%;
  overflow: hidden;
  margin: 0;
  transition: transform 0.3s ease-out, opacity 0.5s ease-in;
}

[data-social]:hover {
  transform: translateY(-10px);
  opacity: 0.6;
}

[data-social] > a {
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0;
  text-decoration: none;
}

a > svg {
  max-width: 60%;
  max-height: 60%;
  width: 60%;
  height: auto;
  object-fit: contain;
  margin: auto;
}

.privacy-policy {
  margin: 0 auto;
}

.privacy-policy .heading-style {
  text-align: left;
  margin: 2rem 0;
}

.privacy-policy h4 {
  font-weight: 600;
}

.privacy-policy ul {
  list-style: disc;
  margin: 0;
  justify-content: left;
  width: auto;
  display: flex;
  flex-direction: column;
  margin-bottom: 1rem;
}

.privacy-policy li {
  margin: 0;
  display: list-item;
  border-radius: unset;
}

@media only screen and (min-width: 1650px) {
  .content {
    width: 100%;
  }
}

@media only screen and (min-width: 768px) {
  #game-view,
  #quiz,
  #swipe,
  #survey {
    width: 75%;
    border: none;
  }

  #card-container {
    margin: auto;
  }

  #game-view {
    border: none;
    width: 100%;
  }

  [data-quiz="answers-container"],
  [data-personality-test="answers-container"] {
    max-width: 500px;
  }

  .copyright {
    margin: 1rem auto;
    text-align: left;
    /* text-shadow: 1px 1px black; */
  }

  .text-1 {
    margin-top: 2%;
  }

  .photos {
    width: 31vw;
    margin: 0%;
    position: absolute;
    margin-top: 5vw;
    left: 16%;
    border: 0.2vw solid #662d91;
    padding: 8px;
  }

  .btn-border1 {
    width: 20%;
    margin-bottom: 8%;
    margin-top: 2%;
    position: relative;
    left: 14%;
  }

  button {
    width: 200px;
    padding: 7px;
  }

  .form-group {
    padding: 0 15px;
  }

  .inputs {
    display: flex;
    flex-direction: column;
    width: 100%;
    margin-top: 1%;
  }

  .row-input {
    display: flex;
    width: 91%;
    margin-left: auto;
  }

  .container-checkbox {
    width: 100%;
    margin: 0%;
  }

  .checkbox-styling {
    padding: 0 30px;
    margin-top: 0;
  }

  input[type="checkbox"],
  [type="radio"] {
    appearance: none;
    width: 1.5vw;
    height: 1.5vw;
    margin-left: 8%;
    margin-right: 2%;
  }

  button img {
    width: 2vw;
  }

  input[type="checkbox"]::after,
  input[type="radio"]::after {
    height: 70%;
    font-size: 0;
    width: 70%;
  }

  ul {
    margin-top: 3%;
    margin-bottom: 5%;
    margin-left: 50%;
    width: 50%;
    justify-content: left;
  }

  li {
    margin-right: 0%;
    margin-left: 8%;
  }

  li img {
    width: 3vw;
  }

  #answers {
    margin-top: 3%;
    margin-left: 50%;
    width: 50%;
    margin-bottom: 5%;
  }

  #answers button {
    width: 55%;
    margin-left: 8%;
    padding: 5px;
  }

  #quiz {
    margin-top: 0%;
  }

  .container-survey {
    margin-left: 50%;
    margin-top: 8%;
    width: 50%;
    margin-bottom: 5%;
  }

  .container-survey label {
    width: 65%;
  }

  #survey .btn-border1 {
    width: 20%;
    left: 15%;
  }

  .survey-text {
    margin-left: 33%;
  }

  textarea {
    /* margin-left: 54%;
    margin-top: 8%;
    width: 35%; */
    margin-bottom: 1%;
    height: 13vw;
    border: none;
  }

  .survey-text-2 {
    margin-left: 20%;
  }

  .quiz-margin {
    margin-left: 30vw;
  }

  .swipe-text {
    width: 52%;
    margin-left: 5%;
  }

  #swipe img[src$="jpg"] {
    left: 34%;
  }

  #swiper button {
    width: 6vw;
    height: 6vw;
    margin-top: 20%;
    margin-bottom: 7%;
  }

  #swiper button img {
    left: 0%;
    width: 3vw;
  }

  .true {
    width: 4vw !important;
  }
}

@media only screen and (max-width: 767px) {
  .description {
    margin-left: 0;
    margin-right: 0;
  }

  .content-background {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column-reverse;
  }

  .intro-img-container {
    margin: 0 auto;
  }

  #introduction {
    width: 90%;
  }

  #register {
    width: 90%;
  }

  #outcome-title,
  .introduction_headline,
  .register_headline {
    margin-top: 2rem;
  }

  .button-container {
    text-align: left;
  }

  .game-description {
    text-align: left;
  }

  .checkbox-styling {
    padding: 0 1rem;
    margin-top: 0;
  }

  ul.social {
    text-align: left;
    margin-left: 0;
  }

  .content {
    width: 100%;
    margin-top: 0 !important;
  }

  textarea {
    width: 90% !important;
  }

  #swipe,
  #quiz,
  #survey {
    margin-top: 0%;
  }
}

/* MEMORY GAME */

#page-container {
  width: 100%;
  text-align: left;
}

#page-container .container {
  display: flex;
  align-items: center;
  margin: 0 auto;
  max-width: 1060px;
  min-height: 34rem;
}

#card-container {
  display: flex;
  flex-flow: row wrap;
  justify-content: center;
  padding-bottom: 1rem;
  width: calc(24rem + 40px);
}

.game-item {
  display: flex;
  justify-content: center;
  -ms-flex-preferred-size: 22%;
  flex-basis: 22%;
  margin: 10px;
}

.game-item img {
  -webkit-user-drag: none;
}

#memory {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  padding: 0;
}

#memory .container {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  width: auto;
  margin: 0;
  flex-basis: min-content;
}

.memory-card {
  font-size: 0;
  color: white;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  object-fit: cover;
  width: 12rem;
  height: 12rem;
  box-shadow: 0 8px 5px rgb(0 0 0 / 26%);
}

.header-game {
  display: -webkit-box;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -ms-flex-pack: distribute;
  justify-content: flex-start;
  width: auto;
  margin-bottom: 1rem;
  margin-left: 10px;
}

.header-game .time {
  opacity: 1;
  display: -webkit-box;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: start;
  -ms-flex-pack: start;
  justify-content: flex-start;
  font-size: 2rem;
  line-height: 1;
  font-weight: bold;
}

.header-game .time-element {
  margin-bottom: 0;
}

@media only screen and (min-width: 768px) and (max-width: 1024px) {
  #page-container .container {
    min-height: 30rem;
  }

  .game-item {
    -ms-flex-preferred-size: 20%;
    flex-basis: 18%;
  }

  #card-container {
    width: calc(20rem + 40px);
  }

  .memory-card {
    width: 10rem;
    height: 10rem;
  }

  body #main-content .game .game-content .game__block a.btn {
    margin-bottom: 1rem;
    padding: 0.75rem 2rem;
  }

  .content {
    width: 100%;
  }

  .intro-img-container,
  .register-img-container {
    padding-right: 15px;
  }
}

@media only screen and (min-width: 361px) and (max-width: 767px) {
  #page-container .container {
    padding: 0;
  }

  .game-item {
    -ms-flex-preferred-size: 28%;
    flex-basis: 28%;
  }

  #card-container {
    width: calc(62vw + 40px);
  }

  .memory-card {
    width: 31vw;
    height: 31vw;
  }

  body #main-content .game .game-content .game__block a.btn {
    margin-bottom: 1rem;
    padding: 0.75rem 2rem;
  }
}

@media only screen and (max-width: 360px) {
  #page-container .container {
    padding: 0;
  }

  .header-game {
    margin-top: 0;
  }

  .game-item {
    -ms-flex-preferred-size: 32%;
    flex-basis: 32%;
  }

  #card-container {
    width: calc(64vw + 40px);
  }

  .memory-card {
    width: 32vw;
    height: 32vw;
  }

  body #main-content .game .game-content .game__block a.btn {
    margin-bottom: 1rem;
    padding: 0.75rem 2rem;
  }
}

@media only screen and (min-width: 1024px) {
  .content-background {
    padding: 4rem 0;
  }
  #introduction .content-background {
    padding: 1rem 0;
  }

  .game-item {
    -ms-flex-preferred-size: 19%;
    flex-basis: 19%;
  }

  #card-container {
    width: calc(48rem + 80px);
  }

  .memory-card {
    width: 12rem;
    height: 12rem;
  }
}

/* QUIZ  */

.items-border {
  border: none;
}

.game {
  height: auto;
  padding: 0;
  width: 100%;
  max-height: 600px;
  object-fit: cover;
}

#game-view .intro-img-container {
  max-width: 100%;
}

body #game-view .answer {
  text-decoration: none;
  padding: 8px;
  text-align: left;
  margin: 0.5rem 0;
  border: 3px solid;
  word-wrap: break-word;
}

body #game-view .answerSwipe {
  text-decoration: none;
  text-align: left;
  border: 3px solid;
  white-space: normal;
  word-wrap: break-word;
  margin: 0.5rem auto;
  padding: 8px;
}

@media only screen and (max-width: 767px) {
  .content-background {
    flex-direction: column;
    padding-top: 0;
    padding-bottom: 0;
  }

  #game-view .intro-img-container {
    margin-top: 2rem;
  }

  .intro-text-container {
    margin-top: 2rem;
  }

  .game {
    /*max-width: 80%;*/
    height: auto;
    margin: auto;
    padding: 0;
  }
}

/* SWIPE  */

.introduction-img {
  position: relative;
  height: 330px;
  width: 330px;
}

.introduction-img img {
  position: absolute;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.swipe-container {
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 1500px;
}

.game-container-swipe {
  width: 60%;
  margin: 1rem auto;
  padding: 1rem;
  border-radius: 1.5rem;
}

.questionHeading {
  font-weight: 600;
}

.images {
  position: relative;
  margin: auto;
}

.answerSwipe {
  display: flex !important;
  justify-content: center;
  align-items: center;
  height: calc(100% - 1rem);
}

.mobileArrow {
  position: absolute;
  top: calc(50% - 30px);
  left: 0;
}

.arrowsSmallDeviceContainer {
  display: none;
}

.mobileArrow2 {
  position: absolute;
  top: calc(50% - 30px);
  right: 0;
}

.mirror {
  transform: scaleX(-1);
}

.arrowSwipe {
  font-size: 60px;
}

@media only screen and (max-width: 767px) {
  .logo {
    margin-left: 1rem !important;
  }

  .answersSwipeContainer > div {
    padding-left: 0;
    padding-right: 0;
  }

  .images {
    max-width: 100%;
  }

  .game {
    max-width: 100%;
  }

  #introduction .content-background,
  #register .content-background,
  #outcome .content-background {
    flex-direction: column-reverse;
  }

  .game-container-swipe {
    width: 100%;
    padding: 0.5rem;
  }

  /*body #game-view .answerSwipe {
    width: 90%;
  }*/

  .arrowSwipe {
    font-size: 50px;
  }

  .mobileArrow,
  .mobileArrow2 {
    top: calc(50% - 25px);
  }

  .introduction-img {
    height: 240px;
    width: 240px;
  }
}

@media only screen and (min-width: 768px) and (max-width: 991px) {
  .logo {
    margin-left: 1rem !important;
  }

  .game-container-swipe {
    width: 80%;
    padding: 1rem;
  }

  .introduction-img {
    height: 290px;
    width: 290px;
  }
}

@media only screen and (min-width: 992px) and (max-width: 1199px) {
  .game-container-swipe {
    width: 80%;
    padding: 1rem;
  }
}

#privacy_checbox_1 {
  text-align: left !important;
  display: inline-block;
}

#privacy_checbox_2 {
  text-align: left !important;
  display: inline-block;
}

#privacy_checbox_3 {
  text-align: left !important;
  display: inline-block;
}

select {
  appearance: none;
}

/* cta buttons */
.cta-buttons {
  width: 100%;
  display: flex;
  flex-flow: row wrap;
  justify-content: flex-start;
  margin: 10px auto;
}

.cta {
  display: none;
  width: 150px;
  min-height: 45px;
  padding: 5px 10px;
  margin: 10px;
  margin-left: 0;
}

/* gtp animation fix */
#gtp .game {
  padding: 0;
}

.gtp-tile-wrap {
  display: flex;
  flex-wrap: wrap;
}

.gtp-tile {
  background-color: #fff !important;
}

#gtp .image-double {
  padding: 0;
}

[data-quiz="answers-container"],
[data-personality-test="answers-container"] {
  padding: 0;
}

/* --------------------------------------------------------------------------- */

/* ============================= SPIN THE WHEEL ============================== */

/* --------------------------------------------------------------------------- */
.po-none {
  pointer-events: none;
}

.spin-the-wheel {
  width: 100%;
  height: auto;
  margin: auto;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.text-section,
.wheel-section {
  flex: 0 0 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  text-align: start;
}

.wheel-section {
  align-self: center;
  align-items: center;
}

.text-section {
  width: 100%;
}

.legend {
  width: fit-content;
  display: flex;
  flex-direction: column;
  /* max-width: 480px; */
  margin: 0 !important;
}

.legend-element {
  display: flex;
  flex-direction: row;
  align-items: center;
  margin-bottom: 20px;
}

.legend-element span {
  line-height: 1.4;
  min-height: 1rem;
  margin-left: 5px;
}

.sector {
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  flex-shrink: 0;
}

.sector > img {
  max-width: 100%;
  width: 50px;
  height: 50px;
}

.spin-the-wheel .button-container {
  padding: 0;
  width: auto;
}

.spin-the-wheel button {
  padding: 10px 20px;
  max-width: 300px;
}

.ticker-layer,
.center-layer {
  position: absolute;
  width: 100%;
  height: 100%;
  display: flex;
  z-index: 1;
}

.wheel-ticker {
  width: 44px;
  height: 43px;
  object-fit: contain;
  margin: auto -5px auto auto;
  transform: rotate(139deg);
}

.wheel-center {
  width: 40px;
  height: 40px;
  margin: auto;
  border-radius: 50%;
}

.canvas-container {
  width: 260px;
  height: 260px;
  border: 10px solid rgba(0, 158, 224, 1);
  border-radius: 50%;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  transform: rotate(-135deg);
  margin: 1rem 0;
}

.spin-the-wheel canvas {
  width: 230px;
  height: 230px;
  transform: rotate(90deg);
  border-radius: 50%;
  cursor: pointer;
}

@media screen and (min-width: 410px) {
  .canvas-container {
    width: 380px;
    height: 380px;
  }

  .spin-the-wheel canvas {
    width: 350px;
    height: 350px;
  }
}

@media screen and (min-width: 600px) {
  .canvas-container {
    width: 450px;
    height: 450px;
  }

  .spin-the-wheel canvas {
    width: 420px;
    height: 420px;
  }
}

@media screen and (min-width: 800px) {
  .canvas-container {
    width: 480px;
    height: 480px;
  }

  .spin-the-wheel canvas {
    width: 450px;
    height: 450px;
  }
}

@media screen and (min-width: 992px) {
  .spin-the-wheel.content {
    flex-direction: row;
    gap: 60px;
    align-items: center;
  }

  .text-section,
  .wheel-section {
    flex: 0 0 45%;
  }
}

/* ================================== SCRATCH CARD ================================== */
#scratch-card {
  justify-content: flex-start;
  padding-bottom: 0;
}

@media screen and (max-width: 992px) {
  #scratch-card .mb-mob {
    margin-top: 40px;
    order: 3;
  }

  #scratch-card .legend-inner h2 {
    margin-bottom: 20px;
  }

  #scratch-card .legend-element .sector {
    max-width: 46px;
    max-height: 46px;
  }

  #scratch-card .descriptionQuiz.legend {
    padding: 0px;
  }

  #scratch-card .descriptionQuiz.legend {
    text-align: center;
  }

  #scratch-card .descriptionQuiz.legend .legend-element {
    margin: 0 auto;
  }

  #scratch-card .legend-inner {
    gap: 12px !important;
    grid-template-rows: repeat(1, 1fr) !important;
  }
}

.content {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin: auto;
}

#scratch-card .content {
  gap: 2rem;
}

@media screen and (min-width: 992px) {
  #scratch-card .content {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-around;
    margin: auto;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 0;
  }

  #scratch-card .quiz-heading-style {
    width: 100%;
  }

  #game-view .content .container {
    /* width: auto; */
    width: 50%;
  }
}

#scratch-card .legend .legend-element {
  margin-bottom: 0 !important;
}

.footer-container {
  margin-top: auto;
  justify-content: center;
}

@media screen and (min-width: 360px) {
  #scratch-card .quiz-heading-style {
    padding: 0 15px;
  }
}

/* -------------- retry modal -------------- */
.retry-modal {
  width: 90%;
  max-width: 550px;
  height: fit-content;
  min-height: 300px;
  position: absolute;
  inset: 200px 0 0;
  margin: 0 auto;
  z-index: 10;
  box-shadow: 0 10px 20px rgb(0 0 0 / 30%);
  top: 200px;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 999;
}

.retry-modal__body {
  width: 100%;
  min-height: 300px;
  padding: 70px 10px 40px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  text-align: center;
}

.retry-modal__body > h1 {
  margin-bottom: 40px;
  color: white !important;
  font-size: 28px !important;
}

/* -------------- CARD CONTAINER -------------- */
.scratch-card__container {
  max-width: 800px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(3, 1fr);
  gap: 10px;
  width: 100%;
}

.scratch-card__container > .card {
  min-width: 80px;
  min-height: 80px;
  aspect-ratio: 1 / 1;
  position: relative;
  cursor: pointer;
  user-select: none;
  box-shadow: 0 0 8px rgb(0 0 0 / 50%);

  /* border: 4px solid white; */

  /* border-radius: 0; */
}

.card-canvas {
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  aspect-ratio: 1 / 1;
  position: absolute;
  inset: 0;
  z-index: 11;
  border-radius: inherit;
}

.card img {
  background-size: contain;
  width: 100%;
  height: 100%;
}

.prize-cover {
  width: 100%;
  position: absolute;
  inset: 0;
  z-index: 9;
  border-radius: inherit;
}

.prize {
  position: relative;
  z-index: 10;
}

/* ANIMATIONS */
.card-outline {
  box-shadow: 0 0 2px 5px rgb(0 0 0 / 20%);
}

.card-match {
  box-shadow: 0 0 6px 8px rgb(0 0 0 / 30%);
  animation: blink 0.5s infinite;
}

@keyframes blink {
  0% {
    box-shadow: 0 0 0 0 rgb(0 0 0 / 30%);
  }

  100% {
    box-shadow: 0 0 6px 8px rgb(0 0 0 / 30%);
  }
}

@keyframes blink {
  0% {
    box-shadow: 0 0 0 0 rgb(0 0 0 / 30%);
  }

  100% {
    box-shadow: 0 0 6px 8px rgb(0 0 0 / 30%);
  }
}

@keyframes blink {
  0% {
    box-shadow: 0 0 0 0 rgb(0 0 0 / 30%);
  }

  100% {
    box-shadow: 0 0 6px 8px rgb(0 0 0 / 30%);
  }
}

@keyframes blink {
  0% {
    box-shadow: 0 0 0 0 rgb(0 0 0 / 30%);
  }

  100% {
    box-shadow: 0 0 6px 8px rgb(0 0 0 / 30%);
  }
}

/* -------------- LEGEND -------------- */
#scratch-card .legend-inner {
  width: fit-content;
  max-width: 100%;
  height: auto;
  /* margin: auto; */
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: repeat(4, 1fr);
  gap: 30px;
  justify-items: start;
  position: relative;
}

#scratch-card .legend-element {
  width: 350px;
  max-width: 100%;
  display: flex;
  flex-direction: row;
}

/* #scratch-card .legend .legend-element .sector {
  border: 1px solid #2f5836;
} */

#scratch-card .legend h2 {
  font-size: 26px;
  color: #2e5935;
  font-weight: 600;
  margin: 0 auto 24px;
}

@media screen and (min-width: 768px) {
  #scratch-card .legend h2 {
    max-width: 80%;
  }
}

@media screen and (min-width: 992px) {
  #scratch-card .legend h2 {
    max-width: 80%;
    margin: 0 auto 30px 0;
  }
}

[dir="rtl"] .legend span {
  text-align: right;
}

#scratch-card .legend-element > span {
  display: flex;
  align-items: center;
  text-align: left;
}

#scratch-card .sector {
  width: 60px;
  height: 60px;
  margin-right: 5px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-shrink: 0;
}

#scratch-card .sector > img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

@media screen and (min-width: 768px) {
  #scratch-card .legend-inner {
    grid-template-columns: repeat(1, 2fr);
    grid-template-rows: repeat(1, 2fr);
  }

  #scratch-card .descriptionQuiz.legend {
    margin-left: 20px;
  }
}

@media screen and (min-width: 992px) {
  #scratch-card .descriptionQuiz.legend {
    width: 49%;
  }
}

/*  ===== LIMIT REACHED PAGE ===== */
#limit-reached {
  width: 100%;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

#limit-reached > div {
  flex: 0 0 100%;
}

#limit-reached .content-background {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 70vh;
}

.limit-container {
  width: 100%;
  max-width: 600px;
  height: auto;
  margin: auto;
  padding: 20px 10px;
  text-align: center;
}

.limit-container h2 {
  margin: 0;
}

@media screen and (min-width: 410px) {
  .limit-container {
    padding: 30px 20px;
  }
}

option {
  color: white !important;
}

/* ================================ RTL SUPPORT ================================ */
[dir="rtl"] #terms,
[dir="rtl"] #privacy {
  direction: rtl;
  text-align: right;
}

[dir="rtl"] #time-wrap,
[dir="rtl"] #question-element,
[dir="rtl"] .question-element,
[dir="rtl"] .counter-element,
#picture-element {
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  gap: 8px;
}

[dir="rtl"] #status-text {
  display: flex !important;
  flex-direction: row-reverse;
}

[dir="rtl"] #status-txt,
[dir="rtl"] #status-txt-swipe {
  display: flex !important;
  flex-direction: row;
}

[dir="rtl"] .custom-control.custom-checkbox {
  text-align: right;
  padding: 0 1.5rem 0 0 !important;
}

[dir="rtl"] .custom-control-label::before,
[dir="rtl"] .custom-control-label::after {
  right: -1.5rem !important;
}

[dir="rtl"] [data-mode-swipe] .answersSwipeContainer {
  direction: ltr;
}

[dir="rtl"] #terms .container > .row > .col-md-8.offset-md-2,
[dir="rtl"] #privacy .container > .row > .col-md-8.offset-md-2 {
  margin-left: auto;
  margin-right: auto;
}

[dir="rtl"] .custom-control-label {
  text-align: right;
  direction: rtl;
}

[dir="rtl"] .arrowsSmallDeviceContainer {
  flex-direction: row-reverse;
}

input,
select,
textarea {
  text-align: left !important;
  min-height: 48px !important;
  box-sizing: border-box;
  -webkit-appearance: none !important;
  appearance: none !important;
  background-color: transparent !important;
}

textarea {
  background-color: white !important;
  margin-right: 2rem;
}

input[type="date"] {
  -webkit-appearance: none !important;
  appearance: none !important;
  width: 100%;
  text-align: left;
  padding: 0 10px !important;
  min-height: 48px !important;
  color: transparent;
}

@supports (-webkit-touch-callout: none) {
  input[type="date"] {
    padding: 0 10px !important;
    min-height: 48px !important;
    line-height: 48px !important;
    text-indent: -194px !important;
  }

  input[type="date"]:focus {
    color: initial;
  }
}

#scratch-card {
  width: 100%;
  max-width: 1250px;
  margin-top: 2rem;
}

#scratch-card .content > :nth-child(1) {
  order: 1;
}

#scratch-card .content > :nth-child(2) {
  order: 2;
}

@media screen and (max-width: 1024px) {
  #scratch-card .content > :nth-child(1) {
    order: 2;
  }

  #scratch-card .content > :nth-child(2) {
    order: 1;
  }
}

#gtp {
  padding-inline: 0;
}

[data-color-link-secondary] {
  color: #009ee0 !important;
}

.survey__question-counter {
  margin-bottom: 2.5rem;
}

.survey__navigation {
  margin-top: 2.5rem;
  display: flex;
}

@media (max-width: 767.98px) {
  .survey__question-counter {
    margin-top: 12px;
    text-align: left;
  }
}

#game-view,
#quiz,
#swipe,
#survey {
  width: 75%;
  border: none;
}

#survey .survey__image {
  object-fit: cover;
}

/* Survey layout tweaks: center on large screens, full-bleed image on mobile */
@media (min-width: 992px) {
  #survey {
    justify-content: center;
  }

  #survey .container {
    display: flex;
    align-items: center;
    justify-content: center;
  }
}

@media (max-width: 767.98px) {
  #survey .container {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  #survey .row.border-gold {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  #survey .items {
    padding: 0 !important;
  }

  #survey .survey__image {
    display: block;
    width: 100%;
    height: auto;
    margin: 0 !important;
  }

  /* Add safe padding for text block on mobile */
  .survey__question-text,
  .survey__question-counter,
  .survey__answers-container,
  .survey__navigation {
    padding-left: 16px !important;
    padding-right: 16px !important;
    flex-wrap: wrap;
  }

  #survey button {
    margin-bottom: 0.2rem !important;
  }
}

@media (min-width: 992px) {
  #survey .survey__image {
    width: 640px;
    height: 360px;
  }
}

/* ==================== SCALE ELEMENT ===================== */

.scale-container {
  width: 100%;
}

.scale {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: fit-content;
  margin: auto;
}

.scale__line {
  width: 1px !important;
  height: auto;
  margin: 0;
  background: #000;
  position: absolute;
  left: 22px;
  top: 0;
  bottom: 0;
  z-index: 1 !important;
  pointer-events: none;
}

.scale__sector {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  position: relative;
  z-index: 1;
  margin: 10px;
}

.scale__sector__button {
  width: 25px;
  height: 25px;
  border-radius: 50%;
  margin: 0;
  flex-shrink: 0;
  cursor: pointer;
  position: relative;
  background: white;
  z-index: 3;
}

.scale__sector__text {
  margin: 0;
  line-height: 1.2;
  cursor: pointer;
  margin-left: 10px;
  text-align: start;
}

.scale__marker {
  outline-offset: 3px;
  background-color: rgb(255 255 255);
  transition: all 0.1s ease-out;
  display: flex;
  justify-content: center;
  align-items: center;
}

.scale__marker::after {
  content: "";
  background-color: rgb(255, 255, 255);
  transition: all 0.1s ease-out;
  padding: 3;
  border-radius: 50%;
  position: absolute;
  width: 15px;
  height: 15px;
}

@media screen and (min-width: 1024px) {
  .scale-container {
    width: 100%;
    margin: 30px auto;
    min-width: 500px;
    max-width: 1000px;
  }

  .scale {
    width: 100%;
    min-height: auto;
    flex-direction: row;
    margin-top: 15px;
  }

  .scale__line {
    top: 4px;
    width: 90% !important;
    height: 2px;
    left: 0;
    right: 0;
    margin: 0 auto;
  }

  .scale__sector {
    height: auto;
    flex-direction: column;
    align-items: center;
    margin: 0;
  }

  .scale__sector__button {
    margin: -8px 0 0;
  }

  .scale__sector__text {
    width: 100%;
    text-overflow: ellipsis;
    word-wrap: break-word;
    margin: 10px 0;
    padding: 0 5px;
    text-align: center;
    line-height: 1em;
  }
}

#previous-btn {
  background-color: white !important;
  color: #000 !important;
  border: 1px solid #009ee0 !important;
  border: 1px solid #009ee0 !important;
  margin-right: 0.5rem !important;
}

.custom-checkbox .custom-control-input:checked ~ [data-color-secondary-text-checkbox]::after {
  background-color: rgb(255, 255, 255) !important;
}

@media screen and (min-width: 1024px) {
  .content-background {
    width: 100%;
  }
  .main-image,
  .game-description,
  .register-description {
    max-width: 500px !important;
  }
}

.multiple-answer {
  gap: 0.5rem;
}

.survey__text-section {
  padding-left: 2rem;
}

@media screen and (min-width: 1024px) {
  .survey__text-section {
    padding-left: 0rem;
  }
}

.legend-header {
  text-align: center;
  gap: 1rem;
  display: flex;
  flex-direction: column;
}

@media screen and (min-width: 992px) {
  .legend-header {
    text-align: left;
  }
}

.scratch-text {
  width: 100%;
}

@media screen and (min-width: 992px) {
  .scratch-text {
    width: 50%;
  }
}

[data-personality-test="items"] img,
[data-quiz="items"] img {
  height: auto;
  object-fit: contain;
}

[data-personality-test="items"],
[data-quiz="items"] {
  height: auto;
}

@media only screen and (max-width: 768px) {
  [data-personality-test="items"] img,
  [data-quiz="items"] img {
    height: 400px;
    object-fit: cover;
  }
  [data-personality-test="items"],
  [data-quiz="items"] {
    height: 400px;
  }
}

option {
  background-color: black !important;
  color: white !important;
}

input[type="date" i] {
  color-scheme: dark;
}
