
@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: rgba(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: 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: 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: 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%;
  max-height: 20rem;
  object-fit: contain;
  border: 4px solid #ffffff;
  border-radius: 16px;
}

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


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

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

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

  .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: 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;
}
/* 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 {
  -webkit-animation: tile-animation 3s ease-out;
  transition: none !important;
  transform-origin: left;
  animation: tile-animation 3s ease-out;
  z-index: 25;
}
/* keyframes */
@-webkit-keyframes tile-animation {
  0% {
    transform: scale(1);
  }
  40% {
    transform: perspective(1200px) translateZ(0px) translateX(0px) translateY(0px) rotateY(-110deg);
  }
  100% {
    transform: perspective(1200px) translateZ(0px) translateX(0px) translateY(0px) rotateY(-105deg);
  }
}
@keyframes tile-animation {
  0% {
    transform: scale(1);
  }
  40% {
    transform: perspective(1200px) translateZ(0px) translateX(0px) translateY(0px) rotateY(-110deg);
  }
  100% {
    transform: perspective(1200px) translateZ(0px) translateX(0px) translateY(0px) rotateY(-105deg);
  }
}
.prize-animation {
  -webkit-animation: prize-animation 0.5s linear forwards;
  animation: prize-animation 0.5s linear forwards;
  animation-delay: 0.25s;
}
/* keyframes */
@-webkit-keyframes prize-animation {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
@keyframes prize-animation {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}