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

@font-face {
  font-family: Oxygen-Bold;
  src: url("../assets/fonts/Oxygen-Bold.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: flex-end;
}

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

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: rgb(199 178 153 / 0%);
  background-clip: padding-box;
  border: 1px solid #534741;
  border-radius: 8px;
  transition: border-color .15s ease-in-out,box-shadow .15s ease-in-out;
  height: auto;
  min-height: 48px;
  text-align: center;
  text-align: -webkit-center;
}

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

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

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

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

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

.parent-container {
  padding: 0;
  width: 82%;
  padding-left: 8rem;
  max-width: 1400px;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: rgb(0 0 0 / 50%);
  background: linear-gradient(270deg, rgb(0 0 0 / 75%) 0%, rgb(0 0 0 / 25%) 95%, rgb(0 0 0 / 0%) 100%);
  z-index: 2;
}

.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 {
	width: 800px;
  max-width: 100%;
  max-height: 400px;
  object-fit: contain;
  border: none;
  border-radius: 0;
}

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

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

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

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

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

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


/* .result */

/* social icons */

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

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

[data-social]:hover {
  transform: translateY(-10px);
  opacity: .6;
}

[data-social]>a {
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0;
  text-decoration: none;
}

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

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



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

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

  .parent-container {
    width: 100%;
    padding-left: 0;
    background: linear-gradient(180deg, rgb(0 0 0 / 75%) 0%, rgb(0 0 0 / 50%) 85%, rgb(0 0 0 / 0%) 100%);
  }

  .content {
    padding-bottom: 6rem;
  }

  .footer {
    background: rgb(0 0 0 / 50%);
    background: linear-gradient(0deg, rgb(0 0 0 / 85%) 0%, rgb(0 0 0 / 25%) 80%, rgb(0 0 0 / 0%) 100%);
    min-height: 10vh;
    display: flex;
    align-items: end;
  }

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

@media only screen and (min-width: 582px) and (max-width: 1024px) {
  .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: black !important;
}

.span-select {
  pointer-events: none;
  position: absolute;
  top: 0;
  left: 15px;
  right: 15px;
  width: calc(100% - 30px);
  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;
  margin-bottom: 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;
  width: 80%;
  left: 10%;
  height: 100%;
  object-fit: contain;
}

.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: center;
  margin: 10px auto;
}

.cta {
  display: none;
  min-width: 130px;
  min-height: 45px;
  padding: 5px 10px;
  margin: 10px;
  font-size: 14px;
}

/* 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 */
.tile-animation {
  transition: none !important;
  transform-origin: left;
  animation: tile-animation 3s ease-out;
  z-index: 25;
}

/* keyframes */
@keyframes tile-animation {
  0% {
    transform: scale(1);
  }

  40% {
    transform: perspective(1200px) translateZ(0) translateX(0) translateY(0) rotateY(-110deg);
  }

  100% {
    transform: perspective(1200px) translateZ(0) translateX(0) translateY(0) rotateY(-105deg);
  }
}

@keyframes tile-animation {
  0% {
    transform: scale(1);
  }

  40% {
    transform: perspective(1200px) translateZ(0) translateX(0) translateY(0) rotateY(-110deg);
  }

  100% {
    transform: perspective(1200px) translateZ(0) translateX(0) translateY(0) rotateY(-105deg);
  }
}

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

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

/* Popup styles */

.popup-overlay {
  display: none;
  position: fixed !important;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 9998;
}

.popup {
  display: none;
  position: fixed !important;
  top: 5%;
  left: 50%;
  transform: translateX(-50%);
  background: white !important;
  padding: 20px;
  width: 60% !important;
  max-width: 600px;
  height: 100% !important;
  max-height: 800px !important;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
  z-index: 99999;
  overflow: hidden;
  min-width: auto !important;
  min-height: auto !important;
  padding-right: 0px;
}

.popup iframe {
  width: 100%;
  border: none;
  max-width: 600px;
  left: 50%;
  position: absolute;
  transform: translateX(-50%);
  height: 100%;
  max-height: 800px;
}

.popup-close {
  position: absolute !important;
  top: 15px;
  right: 17px;
  background: #000;
  color: #fff;
  border: none;
  padding: 5px 6px;
  cursor: pointer;
  z-index: 9999;
}

#popup-content {
  width: 100%;
  height: 100%;
  overflow-y: scroll;
  color: black !important;
}

@media screen and (max-width: 380px) {
  .popup {
    top: 5%;
    width: 90% !important;
    max-width: 600px !important;
    max-height: 600px !important;
  }
}
