@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: Poppins-SemiBold;
  src: url("../assets/fonts/Poppins-SemiBold.ttf");
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  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-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;
}

#main-content > div {
  justify-content: space-between;
}

.content {
  display: flex;
  flex-direction: column;
}

#register .content,
#outcome .content,
#limit-reached .content {
  margin: auto;
}

#outcome .content {
  flex-direction: row;
}

#outcome,
#limit-reached,
#register {
  min-height: 100dvh;
  position: relative;
}

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: transparent;
  border: 1px solid #534741;
  border-radius: none !important;
  transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
  height: auto;
  min-height: 60px;
  text-align: center;
  text-align: -webkit-center;
  padding-left: 20px !important;
}

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

.form-group {
  /* margin-bottom: 0.5rem; */
  padding-left: 0.25rem !important;
  padding-right: 0.25rem !important;
}

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

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

.parent-container {
  width: 82%;
  padding: 0 0 0 8rem;
  max-width: 1400px;
  min-height: calc(100vh - 100px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;

  /* background: rgba(0,0,0, 0.5);
  background: linear-gradient(270deg, rgba(0,0,0,0.75) 0%, rgba(0,0,0,0.25) 95%, rgba(0,0,0,0) 100%); */
  z-index: 2;
}

#outcome .parent-container,
#limit-reached .parent-container {
  width: 100%;
  padding: 0 !important;
  max-width: 100% !important;
}

.main-content {
  width: 60%;
  min-height: 100vh;
  align-items: center;
  margin-left: auto;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.main-image {
  max-width: 100%;
  max-height: 20rem;
  object-fit: cover;
  width: 100%;
}

@media screen and (min-width: 768px) {
  .main-image {
    object-fit: contain;
  }
}

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

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

.custom-button {
  padding: 15px 40px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: inherit;
  font-weight: bold;
  min-width: 250px;
}

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

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

.fff {
  height: 100% !important;
}

.prizeSpan {
  font-weight: bold;
}

/* game page  */
.box-bg {
  background-color: transparent;
  border-radius: 0;
  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;
  padding: 0 !important;
  width: 1200px;
  min-height: 600px;
  position: relative;
}

a.btn {
  width: 75%;
}

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

/* register  */

.form-control,
.form-control:focus {
  border: 1px 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;
}

.date-input[type="date"],
.date-input[type="text"] {
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  appearance: none;
  vertical-align: middle;
  padding: 14px 20px !important;
}

[input-group] > input {
  padding: 14px 20px !important;
}

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

.result a {
  text-decoration: none;
}

.custom-control-label {
  margin-left: 6px;
}

.custom-control {
  padding-left: 2rem;
  padding-right: 1.4rem;
  margin-bottom: 0.5rem;
}

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

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

.custom-checkbox .custom-control-label::before {
  background-color: transparent !important;
  border-radius: 0;
  border: 1px solid #534741;
  outline: none;
  box-shadow: none !important;
}

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

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

::-webkit-calendar-picker-indicator {
  filter: invert(1);
}

/* ----- kill outline on focus ------ */
button:focus,
button:focus-visible {
  outline: none !important;
}

/* .result */

/* social icons */

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

[data-social] {
  width: 40px;
  height: 40px;
  aspect-ratio: 1 / 1;
  border: none;
  border-radius: 50%;
  overflow: hidden;
  /* margin: 1rem 0.5rem 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: #009ee0; */
}

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

/* .copyright  */

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

.privacy-policy {
  justify-content: center !important;
}

.privacy-policy .parent-container {
  /* background: rgb(0 0 0 / 50%) !important; */
  padding: 0 15px;
}

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

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

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

/* media queries  */

@media only screen and (min-width: 1025px) and (max-width: 1650px) {
  h2.heading-style {
    font-size: 2rem;
  }

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

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

  .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 (min-width: 769px) and (max-width: 992px) {
  .box-bg {
      max-width: 760px;
      min-height: 400px;
  }
} */

@media only screen and (max-width: 992px) {
  body {
    height: auto;
    background-size: auto;
  }

  .parent-container {
    width: 100%;
    padding-left: 0;

    /* background: linear-gradient(180deg, rgba(0,0,0,0.75) 0%, rgba(0,0,0,0.5) 85%, rgba(0,0,0,0) 100%); */
  }

  /* .content {
    padding-bottom: 30px;
  } */

  .footer {
    min-height: 10vh;
    display: flex;
    align-items: end;
    padding-top: 30px;
  }

  .form-register {
    padding: 1rem;
  }

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

  h1 {
    font-size: 1.7rem;
  }

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

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

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

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

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

@media only screen and (max-width: 424px) {
  .main-content {
    width: 90%;
  }
}

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

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

option {
  color: white !important;
}

.span-select {
  pointer-events: none;
  position: absolute;
  inset: 0;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* ADVENT CSS */
.main {
  position: relative;
}

.advent-wrap {
  display: flex;
  flex-flow: wrap;
  justify-content: center;
  align-items: center;
  max-width: 60rem;
}

.prize-box {
  position: relative;
  margin: 0 0.4rem 0.8rem;
}

.prize-square {
  width: 9rem;
  height: 9rem;
}

.prize-rectangle {
  width: 9rem;
  height: 14rem;
}

.prize-wrap {
  width: 98%;
  height: 98%;
  top: 1%;
  left: 1%;
  position: absolute;
  border-radius: 8px;
  opacity: 0;
}

.prize-wrap > img {
  position: absolute;
  inset: 0;
  width: 80%;
  aspect-ratio: 1 / 1;
  margin: auto;
  object-fit: contain;
  border-radius: 5px;
}

.tile {
  position: absolute;
  width: 100%;
  height: 100%;
  background-size: cover !important;
  background-repeat: no-repeat !important;
  background-position: center !important;
  border-radius: 8px;
}

.tile-inner {
  width: 100%;
  height: 100%;
  padding: 8px;
  position: relative;
}

.date {
  font-size: 24px;
  color: var(--brown-dark);
  font-weight: bold;
  line-height: 1;
  white-space: nowrap;
}

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

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

/* positioning classes for date number in chocolate cube */
.num-pos-1 {
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
}

.num-pos-2 {
  display: flex;
  align-items: flex-start;
  justify-content: center;
}

.num-pos-3 {
  display: flex;
  align-items: flex-start;
  justify-content: flex-end;
}

.num-pos-4 {
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.num-pos-5 {
  display: flex;
  align-items: center;
  justify-content: center;
}

.num-pos-6 {
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.num-pos-7 {
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
}

.num-pos-8 {
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.num-pos-9 {
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
}

@media only screen and (min-width: 425px) and (max-width: 986px) {
  .advent-wrap {
    max-width: 24rem;
  }
}

@media only screen and (min-width: 425px) and (max-width: 1450px) {
  .prize-square {
    width: 6rem;
    height: 6rem;
  }

  .prize-rectangle {
    width: 6rem;
    height: 10rem;
  }
}

@media only screen and (max-width: 424px) {
  .prize-square {
    width: 6rem;
    height: 6rem;
  }

  .prize-rectangle {
    width: 6rem;
    height: 10rem;
  }
}

/* animation */

/* animation */
.tile-animation {
  transition: none !important;
  transform-origin: bottom;
  z-index: 25;
  animation: tile-animation 2s 0.8s ease-out forwards;
}

.tile-animation::after {
  content: " ";
  width: 50px;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  background: radial-gradient(circle, #fff 70%, #e0e0e0 100%);
  box-shadow: inset 0 0 15px rgb(0 0 0 / 50%);
  filter: blur(3px);
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  margin: auto;
  animation: snowball 0.8s ease-in forwards;
  opacity: 0;
  z-index: 26;
}

@keyframes tile-animation {
  0% {
    transform: translate(0, 0) perspective(500px) rotateX(0deg) scale(1);
  }

  50% {
    transform: translate(0, -10%) perspective(500px) rotateX(90deg) scale(0.8);
  }

  100% {
    transform: translate(0, -20%) perspective(500px) rotateX(90deg) scale(0.7);
  }
}

@keyframes tile-animation {
  0% {
    transform: translate(0, 0) perspective(500px) rotateX(0deg) scale(1);
  }

  50% {
    transform: translate(0, -10%) perspective(500px) rotateX(90deg) scale(0.8);
  }

  100% {
    transform: translate(0, -20%) perspective(500px) rotateX(90deg) scale(0.7);
  }
}

@keyframes snowball {
  0% {
    transform: translate3d(50%, 100vh, 100px);
    opacity: 0;
  }

  20% {
    transform: translate3d(50%, 100vh, 100px);
    opacity: 1;
  }

  90% {
    transform: translate3d(0);
    opacity: 1;
  }

  91% {
    transform: translate3d(0) scale(1.2);
    opacity: 1;
  }

  100% {
    transform: translate3d(0) scale(1.2);
    opacity: 1;
  }
}

@keyframes snowball {
  0% {
    transform: translate3d(50%, 100vh, 100px);
    opacity: 0;
  }

  20% {
    transform: translate3d(50%, 100vh, 100px);
    opacity: 1;
  }

  90% {
    transform: translate3d(0);
    opacity: 1;
  }

  91% {
    transform: translate3d(0) scale(1.2);
    opacity: 1;
  }

  100% {
    transform: translate3d(0) scale(1.2);
    opacity: 1;
  }
}

.prize-animation {
  animation: prize-animation 0.5s 0.5s linear forwards;
}

/* keyframes */
@keyframes prize-animation {
  0% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }
}

@keyframes prize-animation {
  0% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }
}

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

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

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

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

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

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

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

[dir="rtl"] .parent-container > .w100.mt-1 {
  max-width: 1085px;
}

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

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

@media screen and (min-width: 1025px) {
  [dir="rtl"] .parent-container {
    margin-left: auto;
    padding-right: 0;
    padding-left: 8rem;
  }
}

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

[dir="rtl"] #terms .parent-container,
[dir="rtl"] #privacy .parent-container {
  margin-left: auto;
  margin-right: auto;
  padding: 0;
}

/* RTL calendar number positions */
[dir="rtl"] .num-pos-1,
[dir="rtl"] .num-pos-4,
[dir="rtl"] .num-pos-7 {
  justify-content: flex-end;
}

[dir="rtl"] .num-pos-3,
[dir="rtl"] .num-pos-6,
[dir="rtl"] .num-pos-9 {
  justify-content: flex-start;
}

/* ================================================== */
.form-wrap {
  width: 95%;
  margin: 0 auto;
  display: flex;
  flex-flow: row wrap;
  justify-content: center;
  gap: 15px;
}

.form-wrap > div {
  flex: unset;
  max-width: 450px;
  margin: 0;
  padding: 0;
}

.checkbox-wrap {
  width: 100%;
  max-width: 450px;
}

.form-wrap > .checkbox-wrap > div {
  padding: 0;
  margin: 0 -15px;
}

[data-button] {
  font-family: inherit !important;
  font-weight: 600;
}

button > span {
  font-family: inherit;
}

@media screen and (min-width: 1025px) {
  .form-wrap {
    width: 100%;
  }

  .form-wrap > div {
    flex: unset;
    max-width: calc(50% - 10px);
    margin: 0;
    padding: 0;
  }

  .checkbox-wrap {
    padding: 0 50px;
    max-width: 100% !important;
  }
}

#game-view,
#register,
#outcome {
  flex-direction: column !important;
  align-items: flex-end;
}

[data-button] {
  min-height: 50px;
  min-width: 150px;
}

.content-background {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  margin-bottom: 4rem;
  margin-top: 0;
}

#outcome .content {
  flex-direction: column;
}

.content-background > :nth-child(1),
#outcome .content > :nth-child(1) {
  order: 2;
}
.content-background > :nth-child(2),
#outcome .content > :nth-child(2) {
  order: 1;
}

@media screen and (min-width: 992px) {
  .content-background > :nth-child(1),
  #outcome .content > :nth-child(1) {
    order: 1;
  }
  .content-background > :nth-child(2),
  #outcome .content > :nth-child(2) {
    order: 2;
  }
  .content-background {
    flex-direction: row;
    margin-top: 3rem;
  }

  #outcome .content {
    flex-direction: row;
  }
}

input,
select {
  border-radius: 0 !important;
}
h1[data-text] {
  font-weight: 400;
  margin-bottom: 1rem;
}

@media (min-width: 1200px) {
  .col-xl-6 {
    -ms-flex: 0 0 50%;
    flex: 0 0 50%;
    max-width: 48% !important;
  }
}

.img-fluid {
  width: 100%;
}

.register-img-container img {
  object-fit: cover;
  max-height: 40rem;
}

@media screen and (min-width: 768px) {
  .register-img-container img {
    object-fit: contain;
  }
}

.custom-padding {
  padding-left: 0px;
  padding-right: 0px;
}

@media screen and (min-width: 767px) {
  .custom-padding {
    padding-left: 15px;
    padding-right: 15px;
  }
}

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

#game-view {
  background-image: url("https://storage.brame-gamification.com/campaign-data/e8af3e43-c609-11f1-84a7-ddcca264a174/assets/images/bg-game.png") !important;
  background-size: cover !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
  position: relative;
  min-height: 100dvh;
}
