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

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

@font-face {
  font-family: Nunito-ExtraBold;
  src: url("../assets/fonts/Nunito-ExtraBold.ttf");
}

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

/* custom default values */

.copyright {
  font-size: 14px !important;
  text-align: center;
  margin-top: 2rem;
  margin-bottom: 0;
  padding: 1rem;
  border-top-left-radius: 7px;
  border-top-right-radius: 7px;
}

.copyright span,
.copyright a {
  font-size: inherit !important;
}

#terms_checbox_2,
#privacy_checbox_2 {
  font-size: 14px !important;
}

h3>span,
h3>span>span {
  color: inherit;
  font-size: inherit;
  font-style: inherit;
  font-weight: inherit;
  font-family: inherit;
}

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

  .game-image {
    order: 2;
  }

  .quiz-span {
    display: flex;
    justify-content: center;
  }

  .game-description {
    order: 3;
  }
}

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

/* 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;
  }
}

div[data-background] {
  z-index: 0;
}

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

body {
  position: relative;
}

.logoContainer {
  width: 75%;
  margin: 0 auto 2rem;
  border-bottom-left-radius: 7px;
  border-bottom-right-radius: 7px;
}

.form-control {
  border-radius: 7px !important;
  background-color: transparent;
}

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

.custom-control-label::before {
  background-color: transparent;
  border: 1px solid #48535e;
}

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

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

.intro-img-container {
  border: 7px solid #fff;
  border-radius: 7px;
  max-width: 90%;
  margin: 0 auto;
  box-shadow: 0 0 10px rgb(0 0 0 / 26%);
}

.intro-img-container img {
  max-height: 24rem;
  object-fit: cover;
  width: 100%;
}

.button-container {
  margin: 1.5rem 0;
  display: flex;
  flex-direction: column;
}

.button-container button {
  cursor: pointer;
  padding: 0.7rem;
  max-width: 15rem;
}

.memory-game-bottom-helper {
  height: 5rem;
}

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

.content {
  font-weight: 500;
  width: 80%;
  margin: auto;
  padding: 0 1rem;
  flex-direction: column;
}

.content-background {
  border-radius: 10px;
  padding: 3rem;
  display: flex;
  justify-content: center;
  align-items: center;
}

#game-view .content-background {
  border-radius: 0 0 10px 10px;
}

.questionBackground {
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
}

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

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

h1,
h2 {
  font-weight: 700;
}

.quiz-span {
  display: flex;
  flex-flow: row nowrap;
}

h3 {
  font-weight: normal;
}

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

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

.btn-border1 {
  border: 2px solid #48535e;
  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 {
  padding-right: 15px;
}

input[type="checkbox"],
[type="radio"] {
  appearance: none;
  width: 6vw;
  height: 6vw;
  background-color: transparent;
  border: 1px solid #48535e;
  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;
}

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

.time-size {
  font-size: 5.5vw;
}

.time {
  width: 3vw;
}

#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: #48535e;
  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 {
  font-size: 5.5vw;
  padding: 10px;
  border: 1px solid #48535e;
  background-color: #48535e;
  width: 78%;
  text-align: center;
  cursor: pointer;
  margin: auto;
}

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

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

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

/* social icons */

.social__wrap {
  width: 100%;
  display: flex;
  flex-flow: row wrap;
  justify-content: center;
  align-items: center;
  gap: 0;
  list-style: none;
  margin: 2rem 0;
  padding: 0;
}

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

[data-social]:hover {
  transform: translateY(-10px);
  opacity: .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: 50%;
  max-height: 50%;
  width: 50%;
  height: auto;
  object-fit: contain;
  margin: auto;
}

@media screen and (min-width: 992px) {
  .social__wrap {
    justify-content: flex-start;
  }
}

.privacy-policy {
  margin: 2rem 0;
}

.privacy-policy .container {
  padding-left: 15px !important;
  padding-right: 15px !important;
  border-radius: 10px;
}

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

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

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

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

/* 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;
}

@media only screen and (min-width: 768px) {
  .game-image {
    order: 1;
  }

  .game-description {
    order: 2;
  }

  .logo {
    margin: 16px auto;
    width: 100%;
    text-align: center;
    display: block;
    max-width: 160px;
    max-height: 120px;
  }

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

  #card-container {
    margin: auto;
  }

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

  .copyright {
    font-size: 0.9vw;
    margin: 2rem auto 0;
    width: 50%;
    padding: 1rem;
    border-top-left-radius: 7px;
    border-top-right-radius: 7px;
    text-align: center;
  }

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

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

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

  button {
    width: 100%;
    padding: 7px;
  }

  .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-left: 1rem;
    margin-top: 1rem;
  }

  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;
  }

  .time-size {
    font-size: 2.5vw;
    margin-left: 32vw;
    margin-bottom: 2%;
  }

  .time {
    width: 1.5vw;
  }

  #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%;
  }

  .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) {
  .content-background {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
  }

  .copyright {
    width: 100%;
  }

  .logoContainer {
    width: 100%;
  }

  #introduction {
    width: 90%;
  }

  #register {
    width: 90%;
  }

  .button-container {
    margin: 0 auto;
  }

  .button-container button {
    width: 100%;
  }

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

  .checkbox-styling {
    padding-left: 15px;
    margin-top: 1rem;
    text-align: left;
  }

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

  .content {
    width: 90%;
  }
}

/* MEMORY GAME */

#page-container {
  width: 100%;
  text-align: center;
  border-radius: 7px;
  max-width: 1024px;
}

#page-container .container {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  max-width: 1060px;
}

#card-container {
  display: flex;
  flex-flow: row wrap;
  justify-content: center;
  padding: 0 0 2rem;
}

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

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

.header-game {
  display: -webkit-box;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -ms-flex-pack: distribute;
  justify-content: space-around;
  width: 100%;
  margin-top: 1rem;
}

.header-game .time {
  opacity: 0.9;
  border-radius: 20px;
  display: -webkit-box;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  margin-bottom: 0.5rem;
  font-weight: 900;
  font-size: 2rem;
  width: 300px;
}

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

.header-game .game-icon {
  background-color: #fff;
  mask: url("https://storage.brame-gamification.com/campaign-data/0c3d88e9-567f-11f0-a491-196fa639933d/assets/icons/stopwatch.svg") no-repeat center / contain;
  height: 24px;
  width: 24px;
}

/* quiz  */
@media only screen and (min-width: 768px) and (max-width: 1024px) {
  .game-item {
    -ms-flex-preferred-size: 20%;
    flex-basis: 20%;
  }

  .container {
    width: 100%;
  }

  #page-container {
    max-width: 700px;
  }

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

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

  .content {
    width: 90%;
  }

  .logoContainer {
    width: 100%;
  }

  .copyright {
    width: 100%;
  }
}

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

  .header-game {
    margin-top: 1rem;
  }

  .header-game .time {
    padding: 0.5rem 1.5rem;
    font-size: 1.25rem;
    margin-left: 0.5rem;
    margin-right: 0.5rem;
    border-radius: 14px;
  }

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

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

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

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

  .header-game {
    margin-top: 1rem;
  }

  .header-game .time {
    padding: 0 1.5rem;
    font-size: 1.25rem;
    margin-left: 0.5rem;
    margin-right: 0.5rem;
    border-radius: 14px;
    width: 300px;
  }

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

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

  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;
  }

  #page-container {
    max-width: 1024px;
  }

  #register .content-background {
    padding: 2rem;
  }

  .logoContainer {
    width: 60%;
  }

  .copyright {
    width: 60%;
  }

  #outcome .content-background {
    padding: 4rem 3rem;
  }

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

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

  .content-background {
    padding: 5rem;
  }

  #register .content-background {
    padding: 2rem 2.5rem;
  }

  #game-view .content-background {
    padding: 4rem;
  }

  .logoContainer {
    width: 45%;
  }

  #page-container {
    max-width: 1024px;
  }

  .copyright {
    width: 45%;
  }
}

/* QUIZ  */

#register .custom-checkbox .custom-control-input:checked~.custom-control-label::after {
  background-image: none;
  background-color: #48535e;
  transform: scale(0.65);
}

.custom-checkbox .custom-control-input:checked~.custom-control-label::before {
  background-color: transparent !important;
}

input[type="checkbox"] {
  border: 1px solid;
}

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


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

select {
  appearance: none;
}

.game {
  max-width: 100%;
  height: auto;
  width: 100%;
  max-height: 24rem;
  object-fit: cover;
}

.image-double {
  border: 7px solid;
  border-radius: 7px;
  box-shadow: 0 0 10px rgb(0 0 0 / 26%);
}

.answer {
  padding: 0.7rem;
  margin-top: 1rem;
  box-shadow: 0 0 10px rgb(0 0 0 / 26%);
}

.question-text {
  text-align: left;
  padding-left: 1rem;
}

.registerText {
  margin-bottom: 1.5rem;
}

.game-info h3 {
  display: inline-block;
}

@media only screen and (max-width: 767px) {
  .question-text {
    margin-top: 2rem;
    justify-content: center;
    padding-left: 0;
    text-align: center;
  }

  #answers-container {
    margin-bottom: 2rem;
  }

  #page-container {
    max-width: 90%;
  }

  .timeContainer {
    order: 1;
  }

  .content-background {
    padding: 2rem 0;
  }

  .registerText {
    text-align: center;
  }

  .register_headline {
    text-align: center;
  }

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

  .intro-img-container {
    max-width: 26rem;
  }
}

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

/* quiz same button content height */

.game-controls-container {
  display: flex;
  flex: 1;
}

.game-controls {
  display: flex;
  flex: 1;
}

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

body #game-view .answerSwipe {
  text-decoration: none;
  text-align: center;
  border: 2px solid;
  display: flex !important;
  flex: 1;
  align-items: center;
  justify-content: center;
  white-space: normal;
  word-wrap: break-word;
  margin: 0.5rem auto;
  padding: 0.7rem;
}

@media only screen and (max-width: 767px) {
  .intro-img-container {
    margin-top: 2rem;
  }

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

  .game {
    max-width: 80%;
    height: auto;
    margin: auto;
  }
}

/* SWIPE  */

.game-container-swipe h3 span {
  font-weight: 600;
}

.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;
  border-radius: 10px;
  padding: 0 0.5rem;
}

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

.questionHeading {
  font-weight: 600;
}

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

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

.arrowsSmallDeviceContainer {
  display: none;
}

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

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

.arrowSwipe {
  font-size: 60px;
}

@media only screen and (max-width: 520px) {

  .mobileArrowSmallDevice,
  .mobileArrowSmallDevice2 {
    font-size: 40px;
  }

  .arrowsSmallDeviceContainer {
    display: flex;
  }

  .mobileArrow,
  .mobileArrow2 {
    display: none;
  }
}

@media only screen and (max-width: 767px) {
  .answersSwipeContainer>div {
    padding-left: 0;
    padding-right: 0;
  }

  .images {
    max-width: 100%;
  }

  .game {
    max-width: 100%;
  }

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

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

  .arrowSwipe {
    font-size: 50px;
  }

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

  .mobileArrow {
    left: -5rem;
  }

  .mobileArrow2 {
    right: -5rem;
  }

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

@media only screen and (min-width: 768px) and (max-width: 991px) {
  .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;
  }
}

@media screen and (max-width: 991px) {
  .game-description {
    text-align: center;
  }

  .cta-buttons {
    align-items: center;
    justify-content: center;
  }

  #social {
    text-align: center;
  }

  .button-container {
    align-items: center;
  }

  #start-button {
    align-self: center;
  }
}

@media screen and (min-width: 603px) and (max-width: 991px) {
  .cta-buttons {
    flex-flow: row wrap;
  }
}

@media screen and (min-width: 992px) {
  .cta-buttons {
    align-items: flex-start;
  }
}

#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;
}

/* gtp animation fix */

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

input:focus,
select:focus {
  background-color: transparent !important;
}

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

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

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

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

.text-section {
  text-align: start;
}

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

.legend {
  width: fit-content;
  margin: 30px auto;
  display: flex;
  flex-direction: column;
  max-width: 400px;
}

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

.legend-element span {
  line-height: 1;
  min-height: 1rem;
  margin: auto 0 auto 20px;
}

.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 {
  align-items: center;
  min-width: 200px;
}

.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 auto -4px;
}

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

.po-none {
  pointer-events: none;
  user-select: none;
  -webkit-user-drag: none;
  -khtml-user-drag: none;
  -moz-user-drag: none;
  -o-user-drag: none;
}

canvas {
  width: 260px;
  height: 260px;
  border-radius: 50%;
  cursor: pointer;
}

.canvas-container {
  width: 280px;
  height: 280px;
  border: 10px solid #fcff80;
  border-radius: 50%;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 30px;
}

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

  canvas {
    width: 370px;
    height: 370px;
  }

  .wheel-ticker {
    width: 59px;
  }
}

@media screen and (min-width: 1024px) {
  .spin-the-wheel {
    flex-direction: row;
    gap: 50px;
  }

  .text-section,
  .spin-the-wheel .button-container {
    margin: 40px unset unset;
  }

  .legend-element {
    flex-direction: row;
  }

  .wheel-section {
    align-items: flex-end;
    order: 1;
    margin-top: -40px;
  }

  .spin-the-wheel .button-container {
    order: 2;
  }

  .text-section {
    order: 3;
    justify-content: normal;
    align-items: flex-start;
  }

  .legend {
    margin: 0;
  }
}

@media screen and (min-width: 1400px) {
  .spin-the-wheel {
    gap: 100px;
  }

  .canvas-container {
    width: 500px;
    height: 500px;
  }

  canvas {
    width: 470px;
    height: 470px;
  }

  .wheel-section {
    margin-top: -80px;
  }
}

/* ========================= SURVEY ============================== */

/* ----- kill outline on focus ------ */

textarea:focus-visible {
  outline: none;
}

.single-answer ::before,
.multiple-answer ::before {
  outline: none;
  box-shadow: none !important;
}

button:focus,
button:focus-visible {
  outline: none !important;
}

/* ---- radio buttons for single choice answers ---- */

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

/* ----- Question counter ------ */

/* ---- DISABLE BOOTSTRAP GREY TEXT WHEN ANSWER IS DISABLED ---- */

.survey__text-section .custom-control-input:disabled~.custom-control-label {
  color: unset;
}

#surveyGame {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

#surveyGame label {
  padding: 0 !important;
}

.survey__question-text-pc {
  display: none;
}

.main-wrapper {
  width: 100%;
  margin: auto;
  display: flex;
  flex-flow: row wrap;
}

.text-wrapper {
  margin: auto;
}

.survey__picture-section {
  width: 100%;
}

.survey__text-section {
  width: fit-content !important;
  margin: auto;
}

.survey__question-counter {
  margin: auto auto 20px;
}

.survey__question-text {
  width: 100%;
  margin: 20px auto;
  text-align: center;
}

.survey__image {
  width: 90%;
  max-width: 400px;
  height: auto;
  margin: auto;
  border: 7px solid;
  border-radius: 7px;
  object-fit: cover;
  box-shadow: 0 0 10px rgb(0 0 0 / 26%);
}

@media screen and (min-width: 1024px) {
  .survey__question-text {
    display: none;
  }

  .survey__question-text-pc {
    display: block;
  }

  .survey__picture-section {
    width: 40%;
  }

  .text-wrapper {
    width: 60%;
  }

  .survey__image {
    width: 100%;
  }
}

/* ----- single and multiple answers ------ */

.single-answer,
.multiple-answer {
  width: fit-content;
  display: flex;
  flex-direction: column;
  margin: auto;
}

.second>div {
  margin-top: 15px;
}

.survey__answers-container {
  width: fit-content;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

#surveyGame .custom-checkbox .custom-control-label::before {
  border: 2px solid;
}

.multiple-answer .custom-checkbox .custom-control-label::before {
  border-radius: 2px !important;
}

.single-answer .custom-control-input:checked~.custom-control-label::after {
  transform: scale(0.5);
}


.multiple-answer .custom-control-input:checked~.custom-control-label::after {
  background-size: 50% 50%;
}

@media screen and (min-width: 768px) {

  .single-answer,
  .multiple-answer {
    flex-flow: row nowrap;
  }

  .second>div {
    margin-top: 0;
    margin-left: 50px;
  }
}

/* ------- free text answer -------- */

.text-answer {
  width: 100%;
}

.text-answer textarea {
  width: 100%;
  min-height: 200px;
  padding: 10px 20px;
  border: 7px solid;
  border-radius: 7px;
}

@media screen and (min-width: 410px) {
  .text-answer textarea {
    width: 350px;
  }
}

@media screen and (min-width: 600px) {
  .text-answer textarea {
    width: 500px;
  }
}

/* ----- navigation ------ */

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

.survey__navigation>button {
  width: unset;
  margin: 0;
  min-width: 200px;
  padding: 10px 20px;
}

.survey__navigation #previous-btn {
  order: 5;
}

@media screen and (min-width: 600px) {
  .survey__navigation {
    flex-direction: row;
  }

  .survey__navigation #previous-btn {
    order: -1;
  }
}

/* ======================== 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 {
  height: 88%;
  margin: auto 0;
  background: #000;
  position: absolute;
  left: 17px;
  top: 0;
  bottom: 0;
}

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

.scale__sector__button {
  width: 19px;
  height: 19px;
  border-radius: 50%;
  background-color: #000;
  margin: 0;
  flex-shrink: 0;
  cursor: pointer;
  position: relative;
}

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

.scale__marker::after {
  content: "";
  border: solid 6px;
  background-color: transparent;
  transition: all 0.1s ease-out;
  border-radius: 50%;
  position: absolute;
  width: 31px;
  height: 31px;
  top: -6px;
  left: -6px;
}

@media screen and (max-width: 1023px) {
  span[data-scale-line] {
    width: 5px !important;
  }

  .scale-container>.scale>.scale__sector {
    width: 100% !important;
  }

  .scale_last_visible {
    align-items: flex-end;
  }

  .survey__picture-section {
    width: 100% !important;
  }

  .scale {
    min-height: 170px;
  }
}

@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: 0;
    width: 88%;
    height: 5px;
    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;
  }
}

/* ================================== SCRATCH CARD ============================= */

.scratch__card__content {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 30px;
}

.scratch__card__content .text__wrap {
  flex: 0 0 50%;
}

.text-container {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

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

#scratch-card .legend-element {
  width: fit-content;
  max-width: 100%;
  display: flex;
  flex-direction: row;
  align-items: center;
}

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

#scratch-card .sector {
  width: 60px;
  height: 60px;
  margin-right: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-shrink: 0;
  border-radius: 10px;
  overflow: hidden;
}

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

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

.scratch-card__container>.card {
  position: relative;
  cursor: pointer;
  user-select: none;
  aspect-ratio: 1 / 1;
  background: transparent;
  box-shadow: 0 0 8px rgb(0 0 0 / 50%);
  border-radius: 0;
  border: 4px solid white;
}

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

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

#scratch-card .prize {
  position: relative;
  z-index: 8;
}

.scratch-card__container img {
  width: 100%;
  height: 100%;
  max-width: 100%;
  object-fit: cover;
  border-radius: inherit;
  aspect-ratio: 1 / 1;
}

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

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

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

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

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

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

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

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

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

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

/* --------------- RETRY MODAL --------------- */
.retry-modal {
  width: 90%;
  max-width: 400px;
  height: fit-content;
  min-height: 300px;
  position: absolute;
  inset: 200px 0 0;
  margin: 0 auto;
  z-index: 10;
  border: 6px solid white;
  border-radius: 10px;
  box-shadow: 0 10px 20px rgb(0 0 0 / 30%);
  padding: 0 20px;
  background-color: rgb(0 0 0 / 60%) !important;
}

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

.retry-modal__body>h1 {
  margin-bottom: 40px;
}

.retry-modal__body>button {
  min-width: 200px;
  padding: 10px 20px;
  margin: 0;
}

/* ====================== MEDIA QUERY ================== */
@media screen and (max-width: 1300px) {
  .scratch__card__content .text__wrap {
    flex: 0 0 45%;
  }
}

@media screen and (max-width: 1023px) {
  .scratch__card__content {
    flex-direction: column-reverse;
  }

  .text-container h1 {
    text-align: center;
  }

  .scratch__card__content .text__wrap {
    flex: initial;
  }
}

#limit-reached {
  width: 100%;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

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

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

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

/* mozzila image fix */
@supports (-moz-appearance: button) and (contain: paint) {
  .card-canvas {
    object-fit: cover;
  }
}

@media screen and (min-width: 520px) and (max-width: 1024px) {
  .scratch-card__container>.card {
    width: 120px;
    height: 120px;
  }

  .scratch-card__container {
    max-width: 380px;
  }
}

/* ================================ RTL SUPPORT ================================ */
[dir="rtl"] h1,
[dir="rtl"] h2,
[dir="rtl"] h3,
[dir="rtl"] h4,
[dir="rtl"] p,
[dir="rtl"] label {
  direction: rtl;
}

@media screen and (min-width: 1024px) {

  [dir="rtl"] h1,
  [dir="rtl"] h2,
  [dir="rtl"] h3,
  [dir="rtl"] h4,
  [dir="rtl"] p,
  [dir="rtl"] label {
    text-align: right;
  }

  [dir="rtl"] [data-email] h1,
  [dir="rtl"] [data-email] h2,
  [dir="rtl"] [data-email] h3,
  [dir="rtl"] [data-email] h4,
  [dir="rtl"] [data-email] p,
  [dir="rtl"] [data-email] label {
    text-align: center;
  }
}

[dir="rtl"] .copyright {
  text-align: center !important;
}

[dir="rtl"] #main-content {
  direction: ltr;
}

@media screen and (min-width: 1024px) {
  [dir="rtl"] .button-container:not(#register .button-container) {
    align-items: flex-end;
  }
}

[dir="rtl"] form {
  direction: rtl;
}

[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;
}

/* click/swipe games */
[dir="rtl"] [data-mode-swipe] p[data-personality-test="question-text"],
[dir="rtl"] [data-mode-swipe] p[data-quiz="question-text"],
[dir="rtl"] [data-survey="question-text"] {
  text-align: center !important;
}

/* scratch card and STW games */
[dir="rtl"] .legend {
  direction: rtl;
  text-align: right;
}

[dir="rtl"] #scratch-card .sector {
  margin-right: 0 !important;
  margin-left: 20px;
}

[dir="rtl"] .spin-the-wheel .legend-element>span {
  margin: auto 20px auto 0;
}

[dir="rtl"] #scratch-card .text-container {
  align-items: flex-end;
}

/* SURVEY */
[dir="rtl"] .survey__answers-container {
  align-items: flex-end;
}

[dir="rtl"] textarea {
  direction: rtl;
}

[dir="rtl"] .survey__navigation,
[dir="rtl"] .scale-container {
  direction: rtl;
}

[dir="rtl"] .scale__line {
  left: unset;
  right: 17px;
}

[dir="rtl"] .scale__sector__text {
  margin-left: unset;
  margin-right: 10px;
}

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

[dir="rtl"] #default-email img {
  margin-right: auto !important;
  margin-left: auto !important;
}

.checkbox-styling {
  text-align: left;
}

[dir="rtl"] .checkbox-styling {
  text-align: right;
}

@media screen and (min-width: 768px) {
  [dir="rtl"] .checkbox-styling {
    padding-left: 0;
    padding-right: 1rem;
  }
}

@media screen and (max-width: 767px) {
  [dir="rtl"] .checkbox-styling {
    padding-left: 0;
    padding-right: 15px;
  }
}

@media screen and (min-width: 1024px) {
  [dir="rtl"] .scale__line {
    left: 0;
    right: 0;
  }
}

.custom-control-input:checked~.custom-control-label::after {
  background-image: none !important;
  transform: scale(0.5);
}