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

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

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

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

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

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

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

.custom-checkbox .custom-control-input:checked ~ .custom-control-label::after {
  position: absolute;
  content: "";
  display: block;
  left: -19px;
  width: 6px;
  height: 12px;
  border: solid transparent;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
  background: none !important;
}

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

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

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

.logo-container {
  text-align: left;
  width: 100%;
  max-width: 1600px;
}

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

.img-container {
  margin: 0 auto;
  text-align: center;
}

.img-container img,
#game-view img {
  max-height: 600px;
}

.image-double {
  display: flex;
  justify-content: center;
}

.buttonCont {
  margin-top: 2.5rem;
}

.button-container {
  padding: 0;
  width: 100%;
  margin: 1rem auto;
}

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

button i,
.cta i {
  padding-left: 2px;
}

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

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

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

.bottom-helper {
  height: 5rem;
}

.content {
  width: 100%;
  max-width: 1600px;
  margin: auto;
  padding: 1rem;
}

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

.content-background {
  padding: 2rem;
  justify-content: center;
  align-items: center;
}

#guess-the-picture .content-background {
  width: 100%;
}

.image-double.gtp,
#guess-the-picture .images {
  width: fit-content;
  margin: auto;
}

#game-view {
  width: 100%;
}

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

.copyright {
  text-align: center;
  margin-top: 2rem;
  padding: 0 1rem;
}

h1,
h2,
h3 {
  color: #662d91;
  font-size: 7vw;
}

h2 {
  color: #fff;
  margin: 0;
}

.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 {
  margin-bottom: 0.1rem;
}

/* kill autofill coloring */
input:-webkit-autofill {
  background-color: transparent !important;
}

/* safary date input fix */
#date-of-birth-input[type="date"],
#date-of-birth-input[type="text"] {
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  appearance: none;
  vertical-align: middle;
  width: 100%;
  min-height: 50px;
  line-height: 32px;
  padding: 0.375rem 1rem !important;
}

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

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

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

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

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

.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%);
}

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

.privacy-policy {
  margin: 0 auto;
}

.privacy-policy .heading-style {
  text-align: center;
  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%;
  }

  .logo {
    margin-left: 1rem;
  }

  .content-background {
    padding: 0;
  }
}

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

  #card-container {
    margin: auto;
  }

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

  .copyright {
    font-size: 1.9vw;
    margin: 1rem auto;
    text-align: center;
  }

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

  .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 1rem;
    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;
  }

  .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 {
    font-size: 2vw;
    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%;
    font-size: 2vw;
    height: 13vw;
    border: 0.4vw solid;
  }

  .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) {
  .logo {
    margin: 1.5rem;
    margin-left: 0;
    margin-right: 0;
    max-width: 160px;
    max-height: 80px;
    padding: 0 15px;
  }

  .description {
    margin-left: 0;
    margin-right: 0;
  }

  .img-container {
    margin: 0 auto;
  }

  .image-double {
    display: block;
    text-align: center;
  }

  #introduction {
    width: 90%;
  }

  #register {
    width: 90%;
  }

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

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

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

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

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

  .content {
    width: 100%;
  }

  .cta-buttons {
    justify-content: center;
    margin-left: auto;
  }
}

/* MEMORY GAME */

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

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

.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;
  margin-bottom: 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;
  font-size: 2rem;
  width: 300px;
  line-height: 1;
  font-weight: bold;
}

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

.header-game .game-icon {
  background-color: #fff;
  mask: url("https://storage.brame-gamification.com/campaign-data/91357c7f-4de0-11f0-8dbd-81b045d9d106/assets/icons/stopwatch.svg") no-repeat center / contain;
  height: 24px;
  width: 24px;
}

.header-game .time span {
  display: block;
  margin-left: 0.5rem;
}

.header-game #timer {
  color: #c69c6d;
}

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

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

@media only screen and (min-width: 361px) and (max-width: 767px) {
  #page-container .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: 28%;
    flex-basis: 28%;
  }

  .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: 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: 32%;
    flex-basis: 32%;
  }

  .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) {
  .game-item {
    -ms-flex-preferred-size: 19%;
    flex-basis: 19%;
  }

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

/* QUIZ  */

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

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

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

body #game-view .answer {
  text-decoration: none;
  padding: 1rem 2rem;
  text-align: left;
  margin: 0.5rem 0;
  border: 2px solid;
  word-wrap: break-word;
  background-color: white;
  border-color: #767676;
  color: #767676;
  user-select: none;
}

body #game-view .answerSwipe {
  text-decoration: none;
  padding: 1rem 2rem;
  text-align: center;
  margin: 0.5rem;
  border: 2px solid;
  word-wrap: break-word;
  background-color: white;
  border-color: #767676;
  color: #767676;
  user-select: none;
}

@media only screen and (max-width: 767px) {
  .logo-container {
    text-align: center;
  }

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

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

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

  body #game-view .answer,
  body #game-view .answerSwipe {
    text-align: center;
    padding: 1rem;
  }
}

/* SWIPE  */

.swipe-img {
  position: relative;
  height: 28vw;
  width: 50vw;
  max-height: 400px;
  max-width: 720px;
}

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

.swipe-container {
  display: flex;
  flex-direction: column;
}

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

.questionHeading {
  font-weight: 600;
}

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

.answersSwipeContainer > div {
  display: flex;
}

.answerSwipe {
  display: flex !important;
  justify-content: center;
  align-items: center;
  flex: 1;
}

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

  .swipe-img {
    height: 42vw;
    width: 75vw;
  }
}

@media only screen and (max-width: 767px) {
  .content-background {
    padding: 1rem 0;
  }

  .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: -6rem;
  }

  .mobileArrow2 {
    right: -6rem;
  }
}

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

@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;
  padding-right: 20px;
  display: inline-block;
}

select.minimal {
  background-image: linear-gradient(45deg, transparent 50%, gray 50%),
    linear-gradient(135deg, gray 50%, transparent 50%);
  background-position: calc(100% - 20px) calc(1em + 5px),
    calc(100% - 15px) calc(1em + 5px), calc(0%) 0.5em;
  background-size: 5px 5px, 5px 5px, 1px 1.5em;
  background-repeat: no-repeat;
}

#modal-overlay {
  background-color: #0000005e;
  backdrop-filter: blur(4px);
  transition: 0.3s all ease;
  height: 100% !important;
  display: flex;
  justify-content: center;
  align-items: center;
}

#modal-container {
  max-width: 800px !important;
  box-shadow: 0 4px 64px rgb(0 0 0 / 35%);
  margin-top: auto !important;
  width: auto !important;
}

.popup-img {
  height: 96px !important;
  margin-bottom: 3rem !important;
}

.popup-title {
  font-size: 18px !important;
  font-family: PTSans-Regular, sans-serif !important;
  color: rgb(0 0 0 / 100%) !important;
  line-height: 1.5 !important;
}

.btn-popup {
  background-color: #009ee2;
  border-color: #009ee2;
  color: white;
  transition: 0.3s all ease;
  box-shadow: none !important;
  padding: 1rem;
  font-family: PTSans-Regular, sans-serif;
  max-width: 300px;
  margin-top: 2rem;
}

.btn-popup:hover {
  opacity: 0.45;
}

@media only screen and (max-width: 768px) {
  #modal-container {
    padding: 30px 15px !important;
    width: 100% !important;
  }

  .popup-img {
    height: 64px !important;
    margin-bottom: 2rem !important;
  }

  .popup-title {
    font-size: 16px !important;
  }

  .btn-popup {
    margin-top: 1rem;
  }
}

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

/* ============================= 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: center;
  text-align: start;
}

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

.text-section {
  width: 100%;
}

.legend {
  width: fit-content;
  display: flex;
  flex-direction: column;
  max-width: 480px;
}

.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: 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 {
  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;
}

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

.canvas-container {
  width: 260px;
  height: 260px;
  border: 10px solid rgb(47 88 54);
  border-radius: 50%;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

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

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

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

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

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

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

@media screen and (min-width: 1024px) {
  .spin-the-wheel {
    flex-flow: row wrap;
    align-items: center;
    justify-content: space-between;
  }

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

  .wheel-section {
    order: 1;
    align-items: flex-end;
  }

  .text-section {
    order: 2;
    align-items: flex-start;
  }

  .spin-the-wheel .button-container {
    order: 3;
    margin: 1rem 0;
  }
}

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

/* ================================ RTL SUPPORT ================================ */
#outcome-text {
  margin: auto;
}

[dir="rtl"] button:not(.cta) {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 5px;
  margin: auto;
}

[dir="rtl"] button:not(.cta) > i {
  transform: rotate(180deg);
}

[dir="rtl"] .counter {
  display: flex;
  flex-direction: row;
  justify-content: center;
  direction: rtl;
}

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

[dir="rtl"] [input-group] label {
  width: 100%;
  text-align: right;
  direction: rtl;
}

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

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

[dir="rtl"] .custom-control-label::after {
  right: -1.2rem;
}

/* SWIPE GAMES */
[dir="rtl"] [data-mode-swipe] {
  direction: ltr;
}

[dir="rtl"] .counter-element {
  display: flex !important;
  flex-direction: row;
  justify-content: center;
  direction: rtl;
}

/* stw */
[dir="rtl"] .legend-element span {
  margin-left: 0;
  margin-right: 20px;
  text-align: right;
}

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

@media screen and (min-width: 768px) {
  #outcome-text {
    margin: unset;
  }

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

  [dir="rtl"] .answer,
  [dir="rtl"] #outcome-text {
    text-align: right !important;
  }

  [dir="rtl"] button:not(.cta) {
    margin: unset;
    margin-left: auto;
  }
}

.gtp-tile-wrap {
  width: 100%;
  height: 100%;
  display: flex;
  flex-flow: row wrap;
  gap: 0;
}

.counter {
  display: flex !important;
  flex-direction: row;
  justify-content: center;
}

[dir="rtl"] [data-email] p,
[dir="rtl"] #limit-reached h2 {
  text-align: center;
}

[dir="rtl"] p > img {
  margin-left: auto !important;
  margin-right: auto !important;
}

button {
  font-size: inherit;
}

/* ================================== 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: 0 16px;
  }

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

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

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

.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 {
  width: 800px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(3, 1fr);
  gap: 10px;
}

.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: 10;
  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: 8;
}

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

#scratch-card .sector {
  width: 60px;
  height: 60px;
  margin-right: 20px;
  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;
  text-align: center;
}

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

#limit-reached h2 {
  margin: 0;
  position: relative;
  z-index: 3;
}

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

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

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

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

  .card img {
    background-size: contain;
    width: 118px;
    height: 118px;
  }
}

@media screen and (max-width: 520px) {
  .scratch-card__container {
    max-width: 350px;
  }
}

/* GTP */
.gtp-tile-wrap {
  display: flex;
  flex-flow: row wrap;
  gap: 0;
}

/* social icons */

.social__wrap {
  width: 100%;
  display: flex;
  flex-flow: row wrap;
  justify-content: center;
  align-items: center;
  gap: 0;
  list-style: none;
  margin: 20px auto 10px;
  padding: 0;
  position: relative;
  z-index: 5;
}

[data-social] {
  width: 40px;
  height: 40px;
  aspect-ratio: 1 / 1;
  border: none;
  border-radius: 0;
  background-color: transparent;
  overflow: hidden;
  margin: 10px 5px 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;
  background-color: transparent;
}

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

@media screen and (min-width: 768px) {
  .social__wrap {
    justify-content: flex-start;
    margin: 35px auto 0 -5px;
  }
}

/* ================================ RTL SUPPORT ================================ */
[dir="rtl"] #privacy_checbox_1,
[dir="rtl"] #privacy_checbox_2,
[dir="rtl"] #privacy_checbox_3 {
  text-align: right !important;
}

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

[dir="rtl"] #terms,
[dir="rtl"] #privacy,
[dir="rtl"] .legend,
[dir="rtl"] .question-text,
[dir="rtl"] .survey__question-text,
[dir="rtl"] textarea {
  direction: rtl;
  text-align: right;
}

[dir="rtl"] .heading-style,
[dir="rtl"] .survey__question-counter > h3 {
  display: flex;
  flex-direction: row;
  justify-content: center;
  gap: 8px;
}

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

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

[dir="rtl"] #register label {
  width: 100%;
  direction: rtl;
  text-align: right;
}

[dir="rtl"] #register .custom-checkbox label {
  width: fit-content;
}

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

@media screen and (max-width: 1024px) {
  [dir="rtl"] .single-answer,
  [dir="rtl"] .multiple-answer {
    flex-direction: column;
    align-items: flex-end;
  }

  [dir="rtl"] .scale {
    display: flex;
  }
}

@media screen and (max-width: 1023px) {
  .scale__line {
    width: 1px !important;
  }

  [dir="rtl"] .scale__line {
    left: unset;
    right: 10px;
    width: 1px !important;
  }

  [dir="rtl"] .scale__sector__text {
    padding-left: unset;
    padding-right: 10px;
    text-align: right;
    direction: rtl;
  }
}

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