@font-face {
  font-family: Sarabun-Regular;
  src: url("../assets/fonts/Sarabun-Regular.ttf");
}
@font-face {
  font-family: Sarabun-Medium;
  src: url("../assets/fonts/Sarabun-Medium.ttf");
}
@font-face {
  font-family: Sarabun-ExtraBold;
  src: url("../assets/fonts/Sarabun-ExtraBold.ttf");
}
@font-face {
  font-family: Sarabun-Lighta;
  src: url("../assets/fonts/Sarabun-Lighta.ttf");
}
@font-face {
  font-family: Sarabun-Lightb;
  src: url("../assets/fonts/Sarabun-Lightb.ttf");
}
@font-face {
  font-family: Sarabun-LightItalic;
  src: url("../assets/fonts/Sarabun-LightItalic.ttf");
}
@font-face {
  font-family: Sarabun-ThinItalic;
  src: url("../assets/fonts/Sarabun-ThinItalic.ttf");
}

* {
  margin: 0;
  padding: 0;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;

  overflow-wrap: break-word;
  word-break: break-word;
}
h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: bold;
}

@media only screen and (max-width: 768px) {
  .privacy-policy {
    -webkit-hyphens: auto;
    -moz-hyphens: auto;
    -ms-hyphens: auto;
    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-button]:hover,
  [data-color-social-primary]:hover,
  [data-color-social-secondary]:hover {
    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 {
  font-weight: bold;
  margin-bottom: 2rem;
}

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

a:hover {
  color: #534741;
}

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

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

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

.form-group {
  margin-bottom: 0.5rem;
}

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

.logo {
  max-width: 160px;
  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: 100%;
  min-height: 100vh;
  align-items: center;
  margin-left: auto;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.main-image,
.game {
  max-width: 100%;
  max-height: 20rem;
  object-fit: contain;
  -webkit-box-shadow: 0px 0px 15px 0px rgba(0, 0, 0, 0.5);
  -moz-box-shadow: 0px 0px 15px 0px rgba(0, 0, 0, 0.5);
  box-shadow: 0px 0px 15px 0px rgba(0, 0, 0, 0.5);
  border: 10px solid #ffffff;
}

#introduction-text1 {
  width: 90%;
  margin: 2rem auto;
}

#introduction-text2 {
  width: 100%;
  padding: 0.5rem;
  margin: 2rem auto;
}

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

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

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

.introduction-button {
  padding: 8px 50px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 18px;
}

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

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

.answer {
  background-color: #0066cc;
  color: white;
  padding: 0.7rem;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 16px;
  font-weight: bold;
  width: 24rem;
  margin: 0.5rem auto;
  white-space: normal;
}

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

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

.introduction-button:focus {
  outline: none;
  -webkit-box-shadow: 0px 0px 15px 0px rgba(0, 0, 0, 0.5);
  -moz-box-shadow: 0px 0px 15px 0px rgba(0, 0, 0, 0.5);
  box-shadow: 0px 0px 15px 0px rgba(0, 0, 0, 0.5);
}

.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: rgba(233, 190, 168, 0.7);
  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: rgba(233, 190, 168, 0.7);
}

.img-container {
  background-color: rgba(233, 190, 168, 0.7);
  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: -ms-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;
  -webkit-box-shadow: 0px 0px 2px 0px rgba(0, 0, 0, 0.13);
  box-shadow: 0px 0px 2px 0px rgba(0, 0, 0, 0.13);
  -webkit-clip-path: polygon(0 0, 100% 0, 80% 100%, 0% 100%);
  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;
  -ms-flex-direction: column;
  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: -ms-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: -ms-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/6a4a9b53-ae7a-11ec-8f24-ebe0420a5ad7/assets/icons/stopwatch.svg") no-repeat center / contain;
  -webkit-mask: url("https://live.brame-gamification.com/6a4a9b53-ae7a-11ec-8f24-ebe0420a5ad7/assets/icons/stopwatch.svg") no-repeat center / contain;
  height: 20px;
  width: 20px;
}

body #main-content .gameView .game-content {
  display: -webkit-box;
  display: -ms-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;
}

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

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

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,
.form-control:focus {
  border: 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: #ffffff;
  border-radius: 1.5rem;
}

.custom-checkbox {
  font-weight: 500;
  margin-bottom: 0.5rem;
}

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

.result a {
  text-decoration: none;
}

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

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

.custom-checkbox .custom-control-label::before {
  background-color: transparent;
  border-radius: 0;
}

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

/* .result */

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

ul.social li {
  margin: 1rem;
  margin-bottom: 0rem;
  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;
  background-color: #ffffff;
  color: #000000;
  border-radius: 3px;
  font-size: 20px;
  -webkit-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
}

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

/* .copyright  */
.heading-style {
  display: flex;
  flex-flow: row nowrap;
}
.copyright {
  bottom: 0px;
  -ms-flex-align: end;
  align-content: flex-end;
  padding: 0 1rem;
}

.privacy-policy {
  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;
}
/*quiz same button content height*/

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

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

body #game-view .answerSwipe {
  background-color: #0066cc;
  color: white;
  padding: 0.7rem;
  text-align: center;
  text-decoration: none;
  font-size: 16px;
  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 (min-width: 1650px) {
  #card-container {
    max-width: 800px;
  }

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

@media only screen and (min-width: 1025px) and (max-width: 1650px) {
  @media only screen and (min-width: 1350px) {
    #card-container {
      max-width: 800px;
    }
    .memory-card {
      width: 160px !important;
      height: 160px !important;
      object-fit: cover;
    }
  }
  .main-content {
    width: 60%;
  }
  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%;
  }
}
/* custom default values */
h3,
.heading-style,
.header-game {
  font-size: 22px !important;
}
.copyright > span {
  font-family: Sarabun-Lightb !important;
}
#gtp-q-wrap,
#question-wrap,
#q-q-click {
  font-family: Sarabun-ExtraBold !important;
  font-size: 22px !important;
}
.copyright > a,
#mg-time,
#gtp-timer,
.col-md-12 > .custom-control.custom-checkbox > label > a {
  font-family: Sarabun-LightItalic !important;
}
.col-md-12 > .custom-control.custom-checkbox > label > span {
  font-family: Sarabun-Lightb !important;
}
.header-game > .time > h3 > span,
div[data-text] > h3,
div[data-text] > h3 > span,
h3[data-text] > span,
#mg-time span,
#gtp-timer > span {
  font-family: inherit !important;
  font-size: inherit !important;
  color: inherit !important;
}

@media only screen and (min-width: 768px) and (max-width: 1024px) {
  .main-content {
    width: 100%;
  }

  .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 (max-width: 767px) {
  body {
    height: auto;
    background-size: auto;
  }
  #card-container {
    display: flex;
    flex-flow: row wrap;
    justify-content: center;
  }
  .form-register {
    padding: 1rem;
  }

  .main-image {
    max-width: 90%;
  }
  .mobileArrow {
    padding-left: 2rem;
  }

  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%;
  }
  .answer {
    max-width: 80%;
  }

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

  .main-content {
    width: 100%;
    min-height: 100vh;
  }

  .introduction-img {
    height: 200px;
    width: 200px;
  }
  .img-container {
    text-align: -webkit-center;
    background-color: transparent;
  }

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

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

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

  .memory-card {
    width: 24vw;
    height: 24vw;
  }
}
@media only screen and (max-width: 581px) {
  body #main-content .game .header-game {
    margin: 0px;
  }
  .main-content {
    width: 100%;
  }
  .memory-card {
    width: 27vw;
    height: 27vw;
  }
}

/* QUIZ  */

/* swipe css  */

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

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

.game {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
}
.game {
  padding: 1px;
}
.gtp-tile-wrap {
  display: flex;
  flex-wrap: wrap;
}
.arrow {
  font-size: 42px;
  margin: 0 4px;
}

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

.game-controls {
  display: -webkit-box;
  display: -ms-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;
}

.desktopArrow {
  display: block;
}

.mobileArrow {
  display: block;
}

@media only screen and (max-width: 520px) {
  body .main-content .quiz-image {
    margin: 0rem 1rem;
    position: relative;
    height: 250px;
  }

  .answer {
    font-size: 4vw !important;
  }
  .game {
    width: 100%;
    height: 100%;
    -o-object-fit: cover;
    object-fit: cover;

    position: absolute;
    top: 0;
    left: 0;
  }
}

.image-double {
  height: 100%;
  max-width: 500px;
  position: relative;
  margin: 0 auto;
}

#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 {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}
@media screen and (min-width: 1025px) {
  .main-content {
    width: 60%;
  }
}

/* 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;
  padding: 5px 10px;
  margin: 10px;
}
/* SPIN THE WHEEL */
.spin-the-wheel {
  width: 100%;
  min-height: 100vh;
  display: flex;
  flex-flow: row wrap;
  margin: 0 auto;
}
.logo-section,
.text-section,
.wheel-section {
  flex-basis: 100%;
}
.legend,
.wheel-section {
  display: flex;
  flex-direction: column;
}
.text-section {
  padding: 0 10px;
  margin: 30px 0;
  position: relative;
}
.legend {
  width: fit-content;
  margin: 0 auto;
}
.legend-element {
  display: flex;
  flex-direction: row;
  margin: 10px 0;
}
.sector {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  flex-shrink: 0;
}
.sector img {
  width: 70%;
  height: 70%;
}
.legend-element span {
  line-height: 1;
  min-height: 1rem;
  margin: auto 0 auto 20px;
}
.canvas-container {
  width: 300px;
  height: 300px;
  border: 10px solid #028b79;
  border-radius: 50%;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 30px;
}
.spin-the-wheel button {
  padding: 10px 20px;
  margin-bottom: 30px;
}
.ticker-layer,
.center-layer {
  position: absolute;
  width: 100%;
  height: 100%;
  display: flex;
  z-index: 1;
}
.wheel-ticker {
  width: 40px;
  margin: auto -5px auto auto;
}
.wheel-center {
  width: 35px;
  margin: auto;
}
.po-none {
  pointer-events: none;
}
canvas {
  transform: rotate(90deg);
  width: 250px;
  height: 250px;
}
.wheel-section {
  width: 280px;
}
.canvas-container {
  width: 280px;
  height: 280px;
}
.spin-the-wheel .button-container {
  display: flex;
  justify-content: center;
  position: relative;
}
.wheel-section {
  align-items: center;
}
.logo-container {
  display: flex;
  justify-content: center;
  align-items: flex-start;
}
.logo-section {
  position: relative;
}
@media screen and (min-width: 410px) {
  .canvas-container {
    width: 400px;
    height: 400px;
  }
  canvas {
    width: 370px;
    height: 370px;
  }
  .wheel-ticker {
    width: 50px;
  }
  .wheel-center {
    width: 40px;
  }
}
@media screen and (min-width: 1025px) {
  .spin-the-wheel {
    width: 80%;
  }
  .logo-container {
    width: 50%;
  }
  .logo-section {
    flex-basis: 100%;
    display: flex;
    justify-content: flex-end;
  }
  .wheel-section,
  .text-section {
    flex-basis: 50%;
  }
  .text-section {
    margin: unset;
    height: fit-content;
  }
  .legend {
    margin: unset;
    margin-left: auto;
  }
}
