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

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

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

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  overflow-wrap: break-word;
  word-break: break-word;
}

@media only screen and (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;
  }
}

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

#main-content {
  overflow: hidden;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  width: 100%;
  display: flex;
}

h1 {
  margin-bottom: 2rem;
}

a {
  color: #4f443e;
  font-weight: bold;
}

a:hover {
  color: #534741;
}

p,
label,
.form-control {
  font-weight: 500;
}

.form-control {
  color: #4c57498f;
  background-color: rgb(199 178 153 / 0%);
  background-clip: padding-box;
  border: 1px solid #534741;
  border-radius: 0;
  transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
  height: auto;
}

.form-control:focus {
  background-color: rgb(199 178 153 / 0%);
  border: 1px solid #534741;
  border-radius: 0;
  box-shadow: none;
}

label {
  display: inline-block;
  width: 100%;
  text-align: left;
  font-size: 12px;
  margin: 0;
}

.logo {
  max-width: 160px;
  max-height: 50px;
  margin: 0.5rem auto;
  margin-bottom: 1rem;
  display: flex;
  justify-content: center;
}

.logo img {
  object-fit: contain;
  width: 100%;
  height: 100%;
}

.parent-container {
  padding: 0;
  width: 100%;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.main-content {
  width: 60%;
  min-height: 100vh;
  align-items: center;
  position: relative;
  padding: 0 30px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

button,
button>span,
p[data-text]>a {
  font-size: inherit;
  font-family: inherit;
}

#start-button {
  border: solid 2px;
}

.mask_1 {
  position: absolute;
  bottom: 0;
  left: -12px;
  width: 24px;
  height: 80%;
  background-color: #06c;
  clip-path: polygon(0 0%, 100% 4%, 100% 100%, 0% 100%);
}

.mask_2 {
  position: absolute;
  bottom: 0;
  left: 10px;
  width: 20px;
  height: 60%;
  background-color: #06c;
  clip-path: polygon(0 0%, 100% 4%, 100% 100%, 0% 100%);
  opacity: 0.6;
}

.mask_3 {
  position: absolute;
  bottom: 0;
  left: -29px;
  width: 18px;
  height: 50%;
  background-color: #06c;
  clip-path: polygon(0 4%, 100% 0%, 100% 100%, 0% 100%);
  opacity: 0.8;
}

.image-double {
  width: 300px;
  height: 100%;
  position: relative;
  margin: 0 auto;
  border: 2px solid;
  border-radius: 50%;
  aspect-ratio: 1 / 1;
}

.main-image {
  max-width: 100%;
  max-height: 20rem;
  width: 300px;
  height: 300px;
  box-shadow: 0 0 15px 0 rgb(0 0 0 / 50%);
  border: 2px solid;
  border-radius: 50%;
  padding: 0.4rem;
  object-fit: cover;
}

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

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

.game {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
  aspect-ratio: 1 / 1;
  max-width: 100%;
  max-height: 20rem;
  box-shadow: 0 0 15px 0 rgb(0 0 0 / 50%);
  border-radius: 50%;
  padding: 0.4rem;
}

#introduction-text1,
#introduction-text2 {
  width: 90%;
  margin: 1rem auto;
}

.register-text1 {
  margin-bottom: 0;
}

#outcome-text {
  margin-bottom: 0;
}

#outcome-text2 {
  width: 90%;
  margin: 0 auto;
}

.custom-button {
  padding: 8px 50px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: inherit;
  border: 2px solid;
}

.custom-button:hover {
  cursor: pointer;
}

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

.answer {
  background-color: #06c;
  color: white;
  padding: 8px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-weight: bold;
  width: 24rem;
  margin: 0.5rem auto;
  white-space: normal;
  border: 2px solid;
  max-width: 100%;
}

.question-quiz {
  background-color: #534741;
  color: white;
  padding: 0.5rem;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 16px;
  box-shadow: 0 0 15px 0 rgb(0 0 0 / 50%);
  transform: skew(-10deg);
  font-weight: bold;
}

#question-text {
  font-size: 18px;
}

.custom-button:focus {
  outline: none;
  box-shadow: 0 0 15px 0 rgb(0 0 0 / 50%);
}

.gameView {
  width: 100%;
  min-height: 100vh;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.game-container {
  background-color: #534741;
  margin-top: -40px;
  margin-bottom: -40px;
  border-radius: 1.5rem;
}

.container-game {
  background-color: rgb(233 190 168 / 70%);
  width: 100%;
  padding: 15px;
}

.introduction-image {
  margin: 1.5rem auto;
}

.introduction-img {
  height: 360px;
  width: 360px;
  border: 10px solid;
  border-radius: 50%;
  border-color: #4f443e #4f443e transparent transparent;
  transform: rotate(45deg);
  z-index: 2;
}

.introduction-img img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  transform: rotate(-45deg);
  object-fit: cover;
}

.prize-description {
  background-color: rgb(233 190 168 / 70%);
}

.img-container {
  background-color: rgb(233 190 168 / 70%);
  overflow: hidden;
}

.fff {
  height: 100% !important;
}

.intro-content {
  margin: auto;
  color: white;
  height: 120%;
  border-radius: 1.5rem;
  background-color: #534741;
  margin-top: -20px;
  margin-bottom: -20px;
  padding: 5rem 3rem;
}

.intro-content h2 {
  font-weight: 700;
}

.prizeSpan {
  font-weight: bold;
}

/* game page  */

.game .parent-container {
  justify-content: center;
  align-items: center;
}

.box-bg {
  background-color: transparent;
  border-radius: 0;
  display: -webkit-box;
  display: flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  padding: 0 !important;
  width: 1200px;
  min-height: 600px;
  position: relative;
}

.box-bg::before {
  content: "";
  background-color: #fed731;
  width: 40%;
  height: 100%;
  display: block;
  position: absolute;
  left: 0;
  box-shadow: 0 0 2px 0 rgb(0 0 0 / 13%);
  clip-path: polygon(0 0, 100% 0, 70% 100%, 0% 100%);
}

.game-content.box-bg::before {
  display: none;
}

body #main-content .gameView {
  display: none;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  flex-direction: column;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
}

body #main-content .gameView .header-game {
  display: -webkit-box;
  display: flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -ms-flex-pack: distribute;
  justify-content: space-around;
  width: 100%;
}

body #main-content .gameView .header-game .time {
  opacity: 0.9;
  display: -webkit-box;
  display: flexbox;
  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-weight: 900;
  color: #000;
  font-size: 1.3rem;
  text-transform: capitalize;
  min-width: 170px;
}

body #main-content .gameView .header-game .time img {
  width: 30px;
  height: 30px;
}

#timer {
  margin-left: 0.5rem;
}

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

.header-game .game-icon {
  background-color: #fff;
  mask: url("https://live.brame-gamification.com/b9b6b8ce-afc2-11ee-9043-e9361f396691/assets/icons/stopwatch.svg") no-repeat center / contain;
  height: 20px;
  width: 20px;
}

body #main-content .gameView .game-content {
  display: -webkit-box;
  display: flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
}

.game__block {
  margin: 1rem auto;
  max-width: 600px;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  grid-template-rows: auto auto auto auto;
}

.game-item {
  display: inline-block;
  -ms-flex-preferred-size: 22%;
  flex-basis: 22%;
  margin: 10px;
}

.game-item img {
  -webkit-user-drag: none;
  border-radius: 50%;
}

a.btn {
  width: 75%;
}

body #main-content .great-job {
  display: none;
}

img.great-job {
  position: absolute;
  left: 0;
  bottom: 0 !important;
  width: 45%;
}

body #main-content .thank-you {
  display: none;
}

body #main-content .thank-you img.thank-you {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 47%;
}

.memory-card {
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 160px;
  height: 160px;
  object-fit: cover;
}

/* register  */

/* .form-control::placeholder {
    opacity: 0.5;
} */

.form-control,
.form-control:focus {
  border-bottom: 2px solid !important;
}

.register form {
  font-size: 1rem;
}

.register .parent-container .intro-content {
  padding: 2rem 3rem;
  font-weight: normal;
}

.register .parent-container .intro-content input {
  background-color: transparent;
  color: #fff;
  border-radius: 1.5rem;
}

.custom-checkbox {
  font-weight: 500;
}

.custom-checkbox a {
  text-decoration: none;
}

.result a {
  text-decoration: none;
}

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

.custom-checkbox .custom-control-label::after {
  content: "";
  position: absolute;
  display: block;
  transform: scale(0.6);
  background-image: none !important;
}

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

.register .parent-container .intro-content input::placeholder {
  color: #fff;
}

/* .result */

ul.social {
  list-style: none;
  margin: 0 auto;
  padding: 0;
  display: block;
  text-align: center;
}

ul.social li {
  margin: 1rem;
  margin-bottom: 0;
  display: inline-block;
}

ul.social li a {
  text-decoration: none;
}

ul.social li a i {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid;
  border-radius: 50%;
  color: #000;
  font-size: 20px;
  transition: all 0.3s ease-in-out;
}

ul.social li a i:hover {
  opacity: 0.5;
}

/* .copyright  */

.copyright {
  bottom: 0;
  -ms-flex-align: end;
  align-content: flex-end;
  padding: 0 1rem;
}

.privacy-policy {
  max-width: 960px;
  margin: 0 auto;
}

.privacy-policy .main-content {
  width: 100%;
}

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

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

.privacy-policy .row {
  padding: 0 1.5rem;
}

.mobileArrow {
  padding-left: 4rem;
  display: none;
}

/* quiz same button content height */

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

body #game-view .answerSwipe {
  background-color: #06c;
  border: 2px solid;
  color: white;
  padding: 8px;
  text-align: center;
  text-decoration: none;
  font-weight: bold;
  margin: 0.5rem auto;
  white-space: normal;
  word-wrap: break-word;
  display: flex !important;
  align-items: center;
  justify-content: center;
  max-width: 16rem;
}

/* media queries  */

@media only screen and (width >= 1650px) {
  #card-container {
    max-width: 800px;
  }

  .desktopArrowContainerLeft {
    justify-content: flex-end;
  }

  .desktopArrowContainerRight {
    justify-content: flex-start;
  }

  .arrow {
    margin: 0 1rem;
  }

  .form-register {
    width: 80%;
    margin: 0 auto;
  }

  body #game-view .answerSwipe {
    margin-left: 3rem;
    margin-right: 3rem;
  }
}

@media only screen and (width >= 1025px) and (width <= 1650px) {
  @media only screen and (width >= 1350px) {
    #card-container {
      max-width: 800px;
    }

    .memory-card {
      width: 160px !important;
      height: 160px !important;
      object-fit: cover;
    }
  }

  .main-content {
    width: 55%;
  }

  h2.heading-style {
    font-size: 2rem;
  }

  .custom-control-label,
  .btn,
  p {
    font-size: 0.9rem;
  }

  .box-bg {
    width: 900px;
    height: 550px;
    padding: 2rem;
  }

  body #main-content .gameView .header-game {
    width: 100%;
  }

  body #main-content .gameView .header-game .time {
    padding: 10px;
  }

  body #main-content .gameView .game-content .game__block p {
    white-space: break-spaces;
  }

  body #main-content .gameView .game-content .game__block a.btn {
    width: 80%;
  }

  .memory-card {
    width: 115px;
    height: 115px;
    object-fit: cover;
  }

  body #main-content .great-job {
    display: none;
  }

  body #main-content .great-job img.great-job {
    width: 45%;
  }

  body #main-content .thank-you {
    display: none;
  }

  body #main-content .thank-you img.thank-you {
    width: 50%;
  }
}

@media only screen and (width >= 768px) and (width <= 1024px) {
  .main-content {
    width: 60%;
  }

  .game-item {
    flex-basis: 21%;
  }

  .box-bg {
    max-width: 760px;
    min-height: 400px;
  }

  .memory-card {
    width: 115px;
    height: 115px;
    object-fit: cover;
  }
}

@media only screen and (width <= 767px) {
  body {
    height: auto;
    background-size: auto;
  }

  .game__block {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto auto auto;
  }

  .form-register {
    padding: 1rem;
  }

  .main-image {
    max-width: 90%;
  }

  .mask_2 {
    display: none;
  }

  .mask_1 {
    left: -15px;
    width: 20px;
  }

  h1 {
    font-size: 1.7rem;
  }

  body #main-content .gameView .header-game {
    width: 100%;
  }

  body #main-content .gameView .header-game .time {
    font-size: 1rem;
  }

  .box-bg {
    max-width: 1200px;
    width: auto;
    min-height: auto;
  }

  .game-item {
    flex-basis: 35%;
  }

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

  .answer {
    max-width: 100%;
  }

  .intro-content {
    padding: 1rem 2rem;
    margin-top: 0;
  }

  .main-content {
    width: 100%;
    min-height: 100vh;
    padding: 0 12px;
  }

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

  .img-container {
    text-align: -webkit-center;
    background-color: transparent;
  }

  .privacy-policy .main-content {
    width: 90%;
  }

  .privacy-policy .row {
    padding: 0 0.5rem;
  }
}

@media screen and (width <= 1023px) {
  .mobileArrow {
    padding-left: 2rem;
    display: block;
  }

  .desktopArrowContainerRight,
  .desktopArrowContainerLeft {
    display: none;
  }
}

@media only screen and (width >= 582px) and (width <= 767px) {
  .main-content {
    width: 100%;
  }
}

@media only screen and (width <= 424px) {
  body #main-content .game .header-game {
    margin: 0;
  }

  .main-content {
    width: 100%;
  }

  .memory-card {
    width: 100px;
    height: 100px;
  }
}

/* QUIZ  */

/* swipe css  */

body .main-content .image {
  margin: 2rem 0;
  position: relative;
  height: 300px;
}

body .main-content .quiz-image {
  margin: 0.5rem 0;
  position: relative;
}

.arrow {
  font-size: 42px;
  margin: 0 4px;
}

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

.game-controls {
  display: -webkit-box;
  display: flexbox;
  display: flex;
  flex: 1;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
}

.desktopArrow {
  display: block;
}

@media only screen and (width <= 520px) {
  body .main-content .quiz-image {
    margin: 0;
    position: relative;
  }

  .main-image {
    width: 250px;
    height: 250px;
  }

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

  .image-double {
    height: 100%;
    width: 280px;
    position: relative;
    margin: 0 auto;
    aspect-ratio: 1 / 1;
  }
}

#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 {
  opacity: 0;
  appearance: none;
}

input[type="date"] {
  padding: 0.31rem;
}

/* additional css to manage centering selectpicker in safari */
#div-select {
  position: relative;
}

.span-select {
  pointer-events: none;
  position: absolute;
  bottom: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  width: calc(100% - 2rem);
}

/* making gtp animation to fit circular image */
.gtp-tile-wrap {
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: 50%;
  display: flex;
  flex-flow: row wrap;
  gap: 0;
}

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

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

/* Spin the wheel
--------------------------------- */
.spin-the-wheel .logo-container {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.spin-the-wheel canvas {
  width: 250px;
  height: 250px;
  border-radius: 50%;
  cursor: pointer;
}

.spin-the-wheel {
  width: 100%;
}

.spin-the-wheel .main-content {
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

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

.spin-the-wheel .legend {
  width: 100%;
  display: flex;
  flex-flow: row wrap;
  justify-content: center;
  margin: 20px 0;
}

.spin-the-wheel .legend-element {
  flex: 0 0 100%;
  display: flex;
  flex-flow: row nowrap;
  align-items: center;
  margin: 10px 0;
  justify-content: center;
}

.spin-the-wheel .reverse {
  flex-direction: row-reverse;
}

.spin-the-wheel .sector {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  margin: 5px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.spin-the-wheel .sector img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
}

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

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

.wheel-ticker {
  width: 40px;
  height: 43px;
  object-fit: contain;
  margin: -25px auto auto;
}

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

.spin-the-wheel .button-container {
  display: flex;
  justify-content: center;
  width: 100%;
  margin: 30px 0;
}

.spin-the-wheel button {
  padding: 10px 30px;
}

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

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

@media screen and (width >= 768px) {
  .spin-the-wheel .game-wrap {
    align-items: flex-start;
  }

  .spin-the-wheel .logo-container {
    justify-content: flex-start;
  }

  .spin-the-wheel .legend-element {
    justify-content: flex-start;
  }

  .spin-the-wheel .reverse {
    justify-content: flex-end;
  }
}

@media screen and (width <= 767px) {
  .spin-the-wheel .reverse {
    flex-direction: row;
  }
}

@media screen and (width >= 1025px) {
  .spin-the-wheel {
    width: 55%;
    margin: 0 auto 0 0;
  }

  .wheel-section {
    margin: 0 auto;
  }

  .spin-the-wheel .legend-element {
    flex: 0 0 50%;
  }

  .spin-the-wheel .reverse {
    justify-content: flex-start;
  }

  .spin-the-wheel .button-container {
    width: 150%;
    display: flex;
    justify-content: flex-end;
    position: relative;
  }

  .spin-the-wheel .button-container button {
    transform: translateY(-200%);
  }

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

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

  .spin-the-wheel .logo-container {
    justify-content: center;
  }
}

/* ============================= SCRATCH CARD ============================= */
#scratch-card {
  width: 100%;
  height: auto;
  position: relative;
}

#scratch-card .game-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
  margin-top: 40px;
}

#scratch-card h1 {
  margin: auto;
  margin-bottom: 40px;
}

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

.scratch-card__container {
  width: 90%;
  max-width: 450px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(3, 1fr);
  gap: 16px;
  margin: auto;
}

.scratch-card__container > .card {
  position: relative;
  cursor: pointer;
  user-select: none;
  background: transparent;
  border: 2px solid #d34f74;
  border-radius: 50%;
}

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

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

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

.card-match {
  box-shadow: 0 0 10px 12px rgb(255 255 255 / 100%);
  animation: blink 0.5s infinite;
}

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

  100% {
    box-shadow: 0 0 10px 12px rgb(255 255 255 / 100%);
  }
}

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

  100% {
    box-shadow: 0 0 10px 12px rgb(255 255 255 / 100%);
  }
}

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

  100% {
    box-shadow: 0 0 10px 12px rgb(255 255 255 / 100%);
  }
}

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

  100% {
    box-shadow: 0 0 10px 12px rgb(255 255 255 / 100%);
  }
}

/* -------------- LEGEND -------------- */
#scratch-card .legend {
  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;
  text-align: start;
}

#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: 50%;
  overflow: hidden;
}

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

@media screen and (width >= 1024px) {
  #scratch-card .legend {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, 1fr);
    margin: 30px auto 40px;
  }

  #scratch-card .reverse {
    flex-flow: row-reverse nowrap;
    justify-self: self-end;
    text-align: end;
  }

  #scratch-card .reverse .sector {
    margin: 0 0 0 20px;
  }
}

/* --------------- 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-radius: 10px;
  box-shadow: 0 10px 20px rgb(0 0 0 / 30%);
  background-color: rgb(255 255 255 / 100%);
}

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

/*  ===== 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;
  border-radius: 24px;
}

.limit-container h2 {
  margin: 0;
}

@media screen and (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 (width >= 520px) and (width <= 1024px) {
  .scratch-card__container > .card {
    width: 120px;
    height: 120px;
  }

  .scratch-card__container {
    max-width: 380px;
    padding-top: 20px;
    padding-bottom: 20px;
  }
}

/* ================================ RTL SUPPORT ================================ */
[dir="rtl"] label {
  direction: rtl;
  text-align: right !important;
}

[dir="rtl"] [data-background] {
  transform: scaleX(-1);
}

[dir="rtl"] .offset-1 {
  margin-left: unset;
  margin-right: 8.3333%;
}

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

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

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

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

/* SC and STW games */
[dir="rtl"] #scratch-card .sector {
  margin-right: unset;
  margin-left: 20px;
}

@media screen and (width >= 1024px) {
  [dir="rtl"] #scratch-card .reverse .sector {
    margin-left: unset;
    margin-right: 20px;
  }
}

[dir="rtl"] .spin-the-wheel {
  margin: 0 0 0 auto;
}

@media screen and (width >= 768px) {
  [dir="rtl"] .offset-md-1 {
    margin-left: unset;
    margin-right: 8.3333%;
  }
}

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

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

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