
@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;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;

  overflow-wrap: break-word;
  word-break: break-word;
}

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

#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: transparent;
  border: 1px solid #534741;
  border-radius: 30px;
  transition: border-color .15s ease-in-out,box-shadow .15s ease-in-out;
  height: auto;
  min-height: 60px;
  text-align: center;
  text-align: -webkit-center;
}

.form-control:focus{
  background-color: rgba(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: 220px;
  max-height: 130px;
  height: auto;
  margin: 25px auto;
  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: 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;
}

.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%;
  height: 28rem;
  object-fit: contain;
  border-radius: 16px;
}

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

#outcome-text2 {
  width: 90%;
  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: rgba(233, 190, 168, 0.7);
  overflow: hidden;
}

.fff {
  height: 100% !important;
}

.prizeSpan {
  font-weight: bold;
}



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

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: #ffffff;
  border-radius: 1.5rem;
}
.date-input[type="date"],
.date-input[type="text"] {
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  -webkit-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;
}

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

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

::-webkit-calendar-picker-indicator {
  filter: invert(1);
}
/* ----- kill outline on focus ------ */
.custom-checkbox .custom-control-label::before {
  outline: none;
  box-shadow: none !important;
}

button:focus,
button:focus-visible {
  outline: none !important;
}

/* .result */

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

ul.social li {
  margin: 1rem 0.5rem;
  margin-bottom: 0rem;
  display: inline-block;
  border-radius: 50%;
  overflow: hidden;
}

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

ul.social li a i {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  -webkit-transition: all .3s ease-in-out;
  transition: all .3s ease-in-out;
}

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



/* .copyright  */

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

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

.privacy-policy .parent-container {
  background: rgba(0,0,0, 0.5) !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, 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 {
    background: rgba(0,0,0, 0.5);
    background: linear-gradient(0deg, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.25) 80%, rgba(0,0,0,0) 100%);
    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 .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 {
  -webkit-appearance: none;
  -moz-appearance: none;
  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: 0;
  right: 0;
  bottom: 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;
  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;
  top: 0;
  right: 0;
  bottom: 0;
  left: 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: center;
  margin: 10px auto;
}
.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;
  -webkit-animation: tile-animation 2s 0.8s ease-out forwards;
  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, #ffffff 70%, #e0e0e0 100%);
  box-shadow: inset 0 0 15px rgba(0, 0, 0, 0.5);
  filter: blur(3px);
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  margin: auto;
  animation: snowball 0.8s ease-in forwards;
  -webkit-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);
  }
}

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

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

  100% {
    -webkit-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;
  }
}

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

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

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

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

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

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

/* keyframes */
@-webkit-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-left: 0;
    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;
}
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;
  }
}