:root {
  --shadow: 3px 3px 4px 0 rgba(0, 0, 0, 0.3);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  overflow-wrap: break-word;
  word-break: break-word;
}

body {
  font-size: 18px !important;
}

@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-color-social-primary]:hover,
  [data-color-social-secondary]:hover {
    opacity: 1 !important;
  }

  [data-button]:hover:not([disabled]) {
    opacity: 1 !important;
  }
}

[data-email] {
  position: relative;
  min-height: 100vh;
  background-color: black;
  flex-direction: row !important;
  align-items: center;
  justify-content: center;
}

h1,
h2,
h3,
p,
a {
  margin: 0;
}

h3 {
  font-weight: normal;
}

a,
a:hover {
  text-decoration: none;
  color: initial;
}

#main-content {
  overflow: hidden;
  align-items: center;
  justify-content: center;
  min-height: 100dvh;
  width: 100%;
  display: flex;
}

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

/* cta buttons ================================================= */
.cta-buttons {
  width: 100%;
  display: flex;
  flex-flow: row wrap;
  justify-content: center;
  align-items: center;
  margin: auto;
  gap: 15px;
}

.cta {
  display: none;
  min-width: 130px;
  min-height: 45px;
  margin: 0 !important;
}

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

[data-social] {
  width: 50px;
  height: 50px;
  aspect-ratio: 1 / 1;
  border: none;
  border-radius: 50%;
  overflow: hidden;
  margin: 1rem .5rem 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: 60%;
    max-height: 60%;
    width: 60%;
    height: auto;
    object-fit: contain;
    margin: auto;
}

/* swal toast icon small screen alignment fix */
.swal2-popup.swal2-toast .swal2-icon-show .swal2-icon-content {
    font-family: Arial, Helvetica, sans-serif !important;
}

/* tos and pp ================================================= */
.document__wrap {
    width: 90%;
    max-width: 1025px;
    height: fit-content;
    margin: 40px auto 80px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: start;
    gap: 25px;
    padding: 0 20px 50px;
}

.document__title {
    text-align: center;
    margin: 20px auto 50px;
}

.point {
    margin-bottom: 20px;
}

.document__wrap h4 {
    margin-bottom: 20px;
    font-weight: bold;
}

.document__wrap p {
    margin-bottom: 15px;
}

/* Limit reached ================================================= */
#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: 0;
  box-shadow: var(--shadow);
}

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

/* Pages ================================================= */
.content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 30px;
  text-align: center;
  padding: 0 15px;
}

.logo {
  width: 225px;
  max-height: 130px;
  height: auto;
  margin: 16px auto 0;
  display: flex;
  justify-content: center;
  object-fit: contain;
}

.footer {
  margin: auto auto 0;
  padding: 0 15px;
}

.copyright {
  margin: 20px auto;
}

.parent-container {
  width: 100%;
  max-width: 1400px;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 50px;
  z-index: 2;
}

.main-image {
  width: fit-content;
  max-width: 300px;
  max-height: 300px;
  object-fit: contain;
  margin: auto;
  box-shadow: var(--shadow);
}

.custom-button {
  padding: 10px 20px;
  text-align: center;
  min-width: 210px;
  margin: 45px auto 0;
}

/* Register  ================================================= */
.text__block {
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 15px;
}

#register .content {
  gap: 45px;
}

.form-group {
  margin: 0;
}

.form__box {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 16px;
}

.form-control {
  border: 2px solid;
  height: 50px;
  text-align: center;
  text-align: -webkit-center;
  border-radius: 0;
}

.custom-control {
  min-height: 30px;
  padding: 0;
}

.custom-control label {
  padding-left: 1.5rem;
  line-height: 1.5;
}

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

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

[input-group]>input {
  padding: 11px 20px ;
}

[input-group]>input,
[input-group]>select,
.span-select {
  background-color: rgba(240, 240, 240, 1);
}

/* input placeholder coloring fix */

/* WebKit browsers (Chrome, Safari, etc.) */
[input-group]>input::placeholder,
.span-select {
    color: inherit !important;
}

/* Firefox */
/* stylelint-disable-next-line selector-pseudo-class-no-unknown */
[input-group]>input:placeholder {
    color: inherit !important;
    opacity: 1 !important;
}

/* Edge */
/* stylelint-disable-next-line selector-pseudo-element-no-unknown */
[input-group]>input::input-placeholder {
    color: inherit !important;
}

.custom-checkbox .custom-control-label::before,
.custom-checkbox .custom-control-label::after {
  top: calc(50% - 0.7rem);
  left: 0;
  border-radius: 0;
}

@media screen and (min-width: 1025px) {
  .custom-checkbox .custom-control-label::before,
  .custom-checkbox .custom-control-label::after {
    top: calc(50% - 0.6rem);
  }
}

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

.custom-control-label::after {
    display: none;
    border: none;
}

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

.checkbox__wrap a {
  margin: 0 0 0 1px;
}

.checkbox__wrap {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}

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

/* kill autofill coloring */
input:-webkit-autofill {
    background-color: rgba(240, 240, 240, 1) !important;
}

select {
  appearance: none;
}

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

.span-select {
  pointer-events: none;
  position: absolute;
  inset: 0;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  line-height: 1;
  padding: 11px 20px;
}

#register .content,
.leadForm {
  width: 100%;
}

.leadForm {
  max-width: 450px;
}

@media screen and (min-width: 768px) {
  .leadForm {
    max-width: 90%;
  }

  .form__box {
    flex-flow: row wrap;
  }

  .form__box>div {
    flex: 0 0 calc(50% - 8px);
  }
}

@media screen and (min-width: 1025px) {
  #register .parent-container {
    max-width: 1016px;
  }

  .leadForm {
    max-width: 100%;
  }
}

/* Outcome ================================================= */
#outcome .content {
  gap: 45px;
}

/* ADVENT ================================================= */
.advent__wrap {
  width: 100%;
  max-width: 320px;
  display: flex;
  flex-flow: row wrap;
  justify-content: center;
  align-items: center;
  gap: 10px;
}

.advent-column {
  width: fit-content;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.prize-box {
  position: relative;
}

.prize-square {
  width: 90px;
  height: 90px;
  aspect-ratio: 1 / 1;
}

.prize-rectangle {
  width: 90px;
  height: 141px;
}

.prize-wrap {
  width: 100%;
  height: 100%;
  inset: 0;
  position: absolute;
  opacity: 0;
  box-shadow: 2px 2px 6px 0 rgba(0, 0, 0, 0.2);
}

.prize-wrap > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: auto;
  margin: auto;
  object-fit: contain;
}

.tile {
  position: absolute;
  width: 100%;
  height: 100%;
  background-size: cover !important;
  background-repeat: no-repeat !important;
  background-position: center !important;
  box-shadow: 2px 2px 6px 0 rgba(0, 0, 0, 0.2);
}

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

.date {
  font-size: 24px;
  color: #F0F0F0;
  font-weight: bold;
  line-height: 1;
  white-space: nowrap;
}

@media screen and (min-width: 360px) {
  .advent__wrap,
  .advent-column {
    gap: 15px;
  }
}

@media screen and (min-width: 1025px) {
  .main-image {
    max-width: 400px;
    max-height: 300px;
  }

  .parent-container {
    max-width: 945px;
    margin: 0 50px 0 auto;
  }

  .logo {
    width: 450px;
    margin: 30px auto 0;
  }

  .advent__wrap {
    max-width: 915px;
  }

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

  .prize-rectangle {
    width: 140px;
    height: 220px;
  }

  .copyright {
    margin: 0 auto 20px;
  }
}

@media screen and (min-width: 1360px) {
  .parent-container {
    margin: 0 170px 0 auto;
    max-width: 915px;
    gap: 65px;
  }

  .content {
    gap: 40px;
  }

  .content,
  .footer {
    padding: 0;
  }
}

/* animation */
.tile-animation {
  animation: tile-animation .8s linear forwards;
}

@keyframes tile-animation {
  0% {
    transform: rotateZ(0deg) rotateY(0deg);
    opacity: 1;
  }

  50% {
    transform: rotateZ(-10deg) rotateY(90deg);
    opacity: 1;
  }

  51% {
    transform: rotateZ(-10deg) rotateY(90deg);
    opacity: 0;
  }

  100% {
    transform: rotateZ(0deg) rotateY(0deg);
    opacity: 0;
  }
}

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

@keyframes prize-animation {
  0% {
    transform: rotateZ(-10deg) rotateY(90deg);
    opacity: 0;
  }

  1% {
    transform: rotateZ(-10deg) rotateY(90deg);
    opacity: 1;
  }

  100% {
    transform: rotateZ(0deg) rotateY(0deg);
    opacity: 1;
  }
}