@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 {
  min-height: 100vh;
}

.left__content {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 30px;
  flex: 0 0 100%;
}


.center__content__wrap {
  display: flex;
  align-items: center;
}

.content {
  display: flex;
  flex: 0 0 60%;
  flex-direction: column;
  justify-content: center;
}

.outcome__content {
  padding: 30px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
}

.footer.outcome {
  width: 100%;
  justify-content: center;
  margin-bottom: 20px;
  padding: 0 20px;
}

.logo__wrap.outcome {
  align-self: flex-start;
}


h1 {
  font-weight: bold;
  margin-bottom: 2rem;
}

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

a:hover {
  color: #534741;
}

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




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

.headline__wrap {
  text-align: left;
  margin-top: 250px;
  flex: 0 0 30%;
  height: 100%;
}

.logo__wrap {
  display: flex;
  justify-content: flex-start;
  max-width: 320px;
  max-height: 70px;
  margin-bottom: 1rem;
}

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

.parent-container {
  padding: 0;
  width: 100%;
  display: flex;
  justify-content: space-between;
  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 {
  max-width: 100%;
  max-height: 20rem;
  object-fit: contain;

}

#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: 16px;
  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: 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  */
.left__content.register {
  flex: 0 0 100%;
  gap: 20px;
}

.register__content {
  display: flex;
  width: 100%;
  align-items: center;
}


.form__wrap {
  display: flex;
}

.register__right__wrap {
  flex: 0 0 50%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.form-control {
  color: #495057;
  background-color: rgb(199 178 153 / 0%);
  background-clip: padding-box;
  border: 1px solid #534741;
  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: 1rem;
}

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




.register__title {
  text-align: left;

}

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

/* .copyright  */

.copyright {
  text-align: start;
}

.footer {
  display: flex;
  justify-content: flex-start;
  width: 40%;
}

.footer p {
  margin-bottom: 0;
}

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



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


.lights {
  pointer-events: none;
  position: absolute;
  width: 790px;
  height: 788px;
  z-index: 3;
  opacity: 1;
  animation-name: flicker;
  animation-duration: 4s;
  animation-iteration-count: infinite;
  animation-fill-mode: forwards
}

.advent-wrap {
  display: flex;
  height: 790px;
  width: 100%;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background-size: contain !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
  position: relative;
}

.advent-column {
  display: flex;
  align-items: center;
  justify-content: center;
  transform: translateX(50px);
  z-index: 5;
  position: relative;
}


.advent-column.left {
  justify-content: flex-start;
  width: 500px;
}

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

.prize-square {
  width: 69px;
  height: 69px;
}



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

.prize-wrap>img {
  position: absolute;
  width: 100%;
  left: 0;
  height: 100%;
  object-fit: contain;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid #fff;
}

.tile {
  position: absolute;
  width: 100%;
  height: 100%;
  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;
}

/* prize box positioning */

#prize-box-3 {
  transform: translateY(-20px);
}

#prize-box-7 {
  transform: translate(-20px, 20px);

}

#prize-box-12 {
  transform: translateY(25px);
}

#prize-box-4 {
  transform: translateX(-7px);
}

#prize-box-20 {
  transform: translateX(-20px);
}

#prize-box-19 {
  transform: translateY(-30px);
}


#prize-box-5 {
  transform: translateY(20px);
}

#prize-box-23 {
  transform: translateY(11px);
}

#prize-box-14 {
  transform: translate(-30px, -30px);
}

#prize-box-21 {
  transform: translateX(-20px)
}


#prize-box-22 {
  transform: translate(20px, -30px);
}

#prize-box-16 {
  transform: translate(-20px, 40px);
}

#prize-box-6 {
  transform: translateY(17px);
}





/* 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 (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;
  animation-fill-mode: forwards
}

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

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

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

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

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


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



@keyframes flicker {
  0% {
    opacity: 0.2;
  }


  10% {
    opacity: 0.6;
  }

  15% {
    opacity: 0.85;
  }

  25% {
    opacity: 0.5;
  }

  30% {
    opacity: 1;
  }

  35% {
    opacity: 0.1;
  }

  40% {
    opacity: 0.25;
  }

  45% {
    opacity: 0.5;
  }

  60% {
    opacity: 1;
  }

  70% {
    opacity: 0.85;
  }

  80% {
    opacity: 0.4;
  }

  90% {
    opacity: 0.5;
  }

  100% {
    opacity: 1;
  }
}

.tile.flex-center {
  background-size: contain !important;
}

/* =============== MOB LAYOUT =============== */

.logo__wrap.mob,
.footer.mob,
.headline__wrap.mob,
.register__title.mob {
  display: none;
}


/* ========== MEDIA QUERY =========== */

@media only screen and (max-width: 1600px) {
  .advent-wrap {
    background-size: 800px !important;
  }

  .lights {
    width: 815px;
    height: 803px;
  }

  .prize-box {
    margin: 0;
  }

  .prize-square {
    width: 80px;
    height: 80px;
  }

  .left__content {
    padding-left: 30px;

  }

}

@media only screen and (max-width: 1300px) {
  .advent-wrap {
    background-size: 620px !important;
  }

  .prize-square {
    width: 60px;
    height: 60px;
  }

  .lights {
    width: 625px;
    height: 625px;
  }

  .advent-column.left {
    width: 370px;
  }

  .advent-column {
    transform: translateX(30px);
  }

  #prize-box-14 {
    transform: translate(0);
  }
}

@media only screen and (max-width: 1023px) {
  .register__right__wrap {
    width: 100%;
    max-width: 80%;
    margin: 20px 0;
  }

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


  .form__wrap {
    flex-direction: column-reverse;
    align-items: center;
  }

  #register .logo__wrap {
    max-width: 100%;
    justify-content: center;
    padding: 20px 0;
  }

  #register .logo__wrap img {
    max-width: 170px;

  }

  #register .footer {
    width: 100%;
    justify-content: center;
    text-align: center;
    align-items: center;
  }

  .left__content.register {
    display: block;
    padding: 0 20px;
  }

  .register__content {
    align-items: center;
    flex-direction: column-reverse;
  }

  .register__title {
    text-align: center;
    width: 80%;
    margin: 0 auto;
  }

  .logo__wrap {
    padding: 20px 0;
  }

  .left__content {
    align-items: center;
    padding: 0 20px;
  }

  .footer {
    width: 100%;
    align-items: center;
    justify-content: center;
  }

  .center__content__wrap {
    flex-direction: column;
    align-items: center;
  }

  .headline__wrap {
    flex: auto;
    height: auto;
    margin: 20px 0;
    width: 60%;
    text-align: center;
  }

  .col-sm-6 {
    flex: 0 0 100%;
    max-width: 100%;
  }

  .submit__btn {
    justify-content: center;
  }

  /* outcome */

  .logo__wrap.outcome {
    align-self: center;
  }

  /* content */

  .content {
    padding: 0 20px;
    flex: auto;
    display: grid;
  }



  .copyright {
    text-align: center;
  }

  .advent-wrap {
    height: 100%;
    min-height: 630px;
    background-size: 630px !important;
  }

  .lights {
    width: 631px;
    height: 633px;
  }

  .prize-square {
    width: 60px;
    height: 60px;
  }
}

@media only screen and (max-width: 700px) {
  .form-register {
    width: 100%;
  }

  .advent-column {
    transform: translateX(24px);
  }

  .advent-wrap {
    min-height: 510px;
    background-size: 500px !important;
  }

  .lights {
    width: 501px;
    height: 503px;
  }

  .prize-square {
    width: 47px;
    height: 47px;
  }

  .advent-column.left {
    width: 305px;
  }
}

@media only screen and (max-width: 505px) {
  .headline__wrap {
    width: 100%;
  }


  #prize-box-12 {
    transform: translate(-7px, 11px);
  }

  .logo__wrap.mob {
    max-width: 160px;
  }

  .headline__wrap.mob {
    width: 90%;
  }

  .advent-column {
    transform: translateX(21px);
  }

  .advent-wrap {
    max-height: 430px;
    min-height: 420px;
    background-size: 415px !important;
  }

  .lights {
    width: 401px;
    height: 403px;
  }

  .prize-square {
    width: 37px;
    height: 37px;
  }

  .advent-column.left {
    width: 255px;
  }
}

@media only screen and (max-width: 450px) {
  #prize-box-7 {
    transform: translate(-5px, 6px);
  }

  .advent-column {
    transform: translateX(17px);
  }

  .advent-wrap {
    max-height: 400px;
    min-height: 390px;
    background-size: 385px !important;
  }

  .lights {
    width: 351px;
    height: 353px;
  }

  .prize-square {
    width: 33px;
    height: 33px;
  }

  .advent-column.left {
    width: 200px;
  }
}

@media only screen and (max-width: 400px) {
  .advent-column {
    transform: translateX(17px);
  }

  .advent-wrap {
    max-height: 365px;
    min-height: 355px;
    background-size: 345px !important;
  }

  .lights {
    width: 346px;
    height: 348px;
  }

  .prize-square {
    width: 33px;
    height: 33px;
  }

  .advent-column.left {
    width: 200px;
  }

  #prize-box-3 {
    transform: translateY(-9px);
  }

  #prize-box-16 {
    transform: translate(-15px, 10px);
  }
}

@media only screen and (max-width: 350px) {
  .advent-column {
    transform: translateX(15px);
  }

  .advent-wrap {
    max-height: 325px;
    min-height: 315px;
    background-size: 305px !important;
  }

  .lights {
    width: 306px;
    height: 308px;
  }

  .advent-column.left {
    width: 178px;
  }


  #prize-box-22 {
    transform: translate(0, -6px);
  }

  .prize-square {
    width: 28px;
    height: 28px;
  }
}


@media only screen and (max-width: 320px) {
  .advent-column {
    transform: translateX(15px);
  }

  .advent-wrap {
    max-height: 290px;
    min-height: 280px;
    background-size: 270px !important;
  }

  .lights {
    width: 271px;
    height: 272px;
  }

  .prize-square {
    width: 25px;
    height: 25px;
  }
}

#outcome-title:hover,
#outcome-text:hover,
#outcome-image:hover {
  opacity: 1 !important;
}



/* register page fix */

@media only screen and (min-width: 1023px) {
  .register__content .left {
    flex: 0 0 50%;
  }

  .register__right__wrap {
    max-width: 400px;
    flex: 0 0 50%;
    margin: 0 auto;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
}

#limit-reached,
#limit-reached .left__content.register {
  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-reached .parent-container {
  min-height: 100vh;
}

@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"] #terms,
[dir="rtl"] #privacy {
  direction: rtl;
  text-align: right;
}

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

[dir="rtl"] .register__title,
[dir="rtl"] .headline__wrap {
  text-align: center;
  direction: rtl;
}

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

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

@media screen and (min-width: 1024px) {
  [dir="rtl"] .headline__wrap,
  [dir="rtl"] .register__title {
    text-align: right;
  }
}

[dir="rtl"] .advent-wrap {
  direction: ltr;
}

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