/* GLOBAL STYLES */
* {
  overflow-wrap: break-word;
  word-break: break-word;
  box-sizing: border-box;
}

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

:root {
  --white: rgb(255 255 255 / 100%);
  --clr-primary: rgb(239 185 112 / 100%);
  --clr-text: rgb(25 67 96 / 100%);
}

a,
#social a:hover {
  text-decoration: none;
}

h3 > span,
h3 > span > span {
  color: inherit;
  font-size: inherit;
  font-style: inherit;
  font-weight: inherit;
}

#terms,
#privacy {
  max-width: 90% !important;
  margin: 0 auto !important;
}

.heading-style {
  text-align: center;
  margin-bottom: 50px;
}

/* ------ CTA BUTTONS ------ */
.cta-buttons {
  display: flex;
  flex-flow: row wrap;
  gap: 20px;
  width: 100%;
  justify-content: center;
  padding: 20px 0;
}

.cta {
  width: 100%;
  max-width: 312px;
  padding: 15px 25px;
  display: none;
  cursor: pointer;
}

/* social icons */

.social-container {
  display: flex;
  justify-content: flex-start;
}

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

[data-social] {
  width: 40px;
  height: 40px;
  aspect-ratio: 1 / 1;
  border: none;
  border-radius: 50%;
  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;
}

/* ------ positioning classes for date number ------ */
.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,
.flex-center {
  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;
}

/* end of positioning classes for date number */

/* ========== GENERAL LAYOUT ========== */
.page-wrap {
  width: 100%;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  text-align: center;
}

.logo-container {
  width: 100%;
  height: auto;
  margin: 20px 0 30px;
  display: flex;
  justify-content: center;
}

.logo {
  min-width: 150px;
  max-width: 250px;
  max-height: 100px;
  object-fit: contain;
}

.footer-container {
  width: 100%;
  height: auto;
  margin: auto 0 0;
  display: flex;
  justify-content: center;
  text-align: center;
}

.footer {
  margin: 40px 0 15px;
}

.text {
  margin-bottom: 15px;
}

/* ========== END OF GENERAL LAYOUT ========== */

/* ========== ADVENT CALENDAR STYLES ========== */
.calendar-container {
  width: 100%;
  max-width: 700px;
  height: auto;
  display: flex;
  flex-flow: row wrap;
  place-content: center center;
  pointer-events: all;
  margin: auto;
}

.wrap {
  width: 286px;
  height: auto;
  aspect-ratio: 1 / 1;
  position: relative;
  margin: 0 auto;
}

.wrap-2,
.wrpa-3,
.wrap-4 {
  margin: -5px auto 0;
}

.wrap>div {
  position: absolute;
  border-radius: 50%;
  width: 31%;
  height: 31%;
  aspect-ratio: 1 / 1;
  animation-duration: 2.5s;
  animation-timing-function: cubic-bezier(0.250, 0.460, 0.450, 0.940);
  animation-delay: 1s;
  animation-fill-mode: forwards;
}

.wrap>div.big {
  width: 37%;
  height: 37%;
}

.wrap-up>div {
  top: 35%;
  left: 34%;
  z-index: 1;
}

.wrap-down>div {
  top: 30%;
  left: 32%;
  z-index: 1;
}

.wrap-up>div.big {
  top: 33%;
  left: 31%;
  z-index: 2;
}

.wrap-down>div.big {
  top: 27%;
  left: 30%;
  z-index: 2;
}

@media screen and (min-width: 360px) {
  .wrap {
    width: 350px;
    margin: 0 auto 10px ;
  }
}

@media screen and (min-width: 410px) {
  .wrap {
    width: 400px;
  }
}

@media screen and (min-width: 500px) {
  .wrap {
    width: 450px;
  }
}

@media screen and (min-width: 600px) {
  .wrap {
    width: 500px;
  }
}

@media screen and (min-width: 768px) {
  .wrap {
    width: 700px;
  }
}

@media screen and (min-width: 1024px) {
  .page-wrap {
    width: 70%;
    max-width: 750px;
    padding-left: 100px;
    margin: 0 auto 0 0;
  }

  .calendar-container {
    width: 100%;
    max-width: 750px;
  }

  .text {
    margin-bottom: 25px;
  }

  .wrap {
    flex: 0 0 50%;
    margin: 0;
  }

  .wrap-2,
  .wrap-4 {
    margin-left: -15px !important;
  }

  .wrap-3,
  .wrap-4 {
    margin-top: -25px !important;
  }
}

.prize-box {
  width: 100%;
  height: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  position: relative;
  z-index: 2;
}

.prize-wrap {
  width: 100%;
  height: 100%;
  position: relative;
  z-index: 1;
  opacity: 0;
  border-radius: inherit;
  aspect-ratio: 1 / 1;
  box-shadow: 0 0 10px rgb(0 0 0 / 30%);
}

.prize {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: inherit;
  aspect-ratio: 1 / 1;
}

.tile {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 2;
  background-size: cover !important;
  background-repeat: no-repeat !important;
  background-position: center !important;
  border-radius: inherit;
  aspect-ratio: 1 / 1;
  box-shadow: 0 0 10px rgb(0 0 0 / 30%);
}

.tile-inner {
  width: 50%;
  height: 85%;
  display: flex;
  border-radius: inherit;
}

.tile-inner>p {
  line-height: 1;
  margin: 0 !important;
}

/* ============================== ANIMATIONS ============================== */
.wrap-up .one {
  animation-name: up-animation-1;

}

.wrap-up .two {
  animation-name: up-animation-2;
}

.wrap-up .three {
  animation-name: up-animation-3;
}

.wrap-up .four {
  animation-name: up-animation-4;
}

.wrap-up .five {
  animation-name: up-animation-5;
}

.wrap-up .six {
  animation-name: up-animation-6;
}

.wrap-down .one {
  animation-name: down-animation-1;
}

.wrap-down .two {
  animation-name: down-animation-2;
}

.wrap-down .three {
  animation-name: down-animation-3;
}

.wrap-down .five {
  animation-name: down-animation-4;
}

.wrap-down .six {
  animation-name: down-animation-5;
}

@keyframes up-animation-1 {
  0% {
    top: 35%;
    left: 34%;
  }

  30% {
    top: 0;
    left: 34%;
  }

  100% {
    top: 0;
    left: 34%;
    z-index: 2;
  }
}

@keyframes up-animation-2 {
  0% {
    top: 35%;
    left: 34%;
  }

  30% {
    top: 24%;
    left: 0;
  }

  100% {
    top: 24%;
    left: 0;
    z-index: 2;
  }
}

@keyframes up-animation-4 {
  0% {
    top: 35%;
    left: 34%;
  }

  30% {
    top: 24%;
    left: 68%;
  }

  100% {
    top: 24%;
    left: 68%;
    z-index: 2;
  }
}

@keyframes up-animation-5 {
  0% {
    top: 35%;
    left: 34%;
  }

  30% {
    top: 66%;
    left: 15%;
  }

  100% {
    top: 66%;
    left: 15%;
    z-index: 2;
  }
}

@keyframes up-animation-6 {
  0% {
    top: 35%;
    left: 34%;
  }

  30% {
    top: 66%;
    left: 53%;
  }

  100% {
    top: 66%;
    left: 53%;
    z-index: 2;
  }
}

@keyframes down-animation-1 {
  0% {
    top: 30%;
    left: 32%;
  }

  30% {
    top: 0;
    left: 14%;
  }

  100% {
    top: 0;
    left: 14%;
    z-index: 2;
  }
}

@keyframes down-animation-2 {
  0% {
    top: 30%;
    left: 32%;
  }

  30% {
    top: 0;
    left: 53%;
  }

  100% {
    top: 0;
    left: 53%;
    z-index: 2;
  }
}

@keyframes down-animation-3 {
  0% {
    top: 30%;
    left: 32%;
  }

  30% {
    top: 44%;
    left: 0;
  }

  100% {
    top: 44%;
    left: 0;
    z-index: 2;
  }
}

@keyframes down-animation-4 {
  0% {
    top: 30%;
    left: 32%;
  }

  30% {
    top: 44%;
    left: 66%;
  }

  100% {
    top: 44%;
    left: 66%;
    z-index: 2;
  }
}

@keyframes down-animation-5 {
  0% {
    top: 30%;
    left: 32%;
  }

  30% {
    top: 66%;
    left: 34%;
  }

  100% {
    top: 66%;
    left: 34%;
    z-index: 2;
  }
}

/* WEBKITTED */
@keyframes up-animation-1 {
  0% {
    top: 34%;
    left: 34%;
  }

  30% {
    top: 0;
    left: 34%;
  }

  100% {
    top: 0;
    left: 34%;
    z-index: 2;
  }
}

@keyframes up-animation-2 {
  0% {
    top: 34%;
    left: 34%;
  }

  30% {
    top: 24%;
    left: 0;
  }

  100% {
    top: 24%;
    left: 0;
    z-index: 2;
  }
}

@keyframes up-animation-4 {
  0% {
    top: 34%;
    left: 34%;
  }

  30% {
    top: 24%;
    left: 68%;
  }

  100% {
    top: 24%;
    left: 68%;
    z-index: 2;
  }
}

@keyframes up-animation-5 {
  0% {
    top: 34%;
    left: 34%;
  }

  30% {
    top: 66%;
    left: 15%;
  }

  100% {
    top: 66%;
    left: 15%;
    z-index: 2;
  }
}

@keyframes up-animation-6 {
  0% {
    top: 34%;
    left: 34%;
  }

  30% {
    top: 66%;
    left: 53%;
  }

  100% {
    top: 66%;
    left: 53%;
    z-index: 2;
  }
}

@keyframes down-animation-1 {
  0% {
    top: 30%;
    left: 32%;
  }

  30% {
    top: 0;
    left: 14%;
  }

  100% {
    top: 0;
    left: 14%;
    z-index: 2;
  }
}

@keyframes down-animation-2 {
  0% {
    top: 30%;
    left: 32%;
  }

  30% {
    top: 0;
    left: 53%;
  }

  100% {
    top: 0;
    left: 53%;
    z-index: 2;
  }
}

@keyframes down-animation-3 {
  0% {
    top: 30%;
    left: 32%;
  }

  30% {
    top: 44%;
    left: 0;
  }

  100% {
    top: 44%;
    left: 0;
    z-index: 2;
  }
}

@keyframes down-animation-4 {
  0% {
    top: 30%;
    left: 32%;
  }

  30% {
    top: 44%;
    left: 66%;
  }

  100% {
    top: 44%;
    left: 66%;
    z-index: 2;
  }
}

@keyframes down-animation-5 {
  0% {
    top: 30%;
    left: 32%;
  }

  30% {
    top: 66%;
    left: 34%;
  }

  100% {
    top: 66%;
    left: 34%;
    z-index: 2;
  }
}

/* ------ PRIZE ANIMATION ------ */
.tile-animation {
  animation: tile-animation 0.5s linear forwards;
}

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

/* PRIZE KEYFRAMES */
@keyframes tile-animation {
  0% {
    transform: rotateY(0deg);
  }

  100% {
    transform: rotateY(90deg);
    display: none;
  }
}

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

  100% {
    transform: rotateY(90deg);
    display: none;
  }
}

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

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

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

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

/* ============================== END OF ANIMATIONS ============================== */

/* ========== END OF ADVENT CALENDAR STYLES ========== */

/* ==================== REGISTER ==================== */
#register .calendar-container,
#outcome .calendar-container {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.form {
  width: 100%;
  max-width: 450px;
}

.text-container {
  width: 90%;
  height: auto;
  display: flex;
  flex-direction: column;
  text-align: center;
  margin: 0 auto 15px;
}

.text-container h1,
.text-container h3 {
  margin-bottom: 10px;
}

.text-container p {
  margin-bottom: 10px;
}

.separator {
  margin-bottom: 25px !important;
}

.content-image {
  width: 90%;
  max-width: 400px;
  max-height: 400px;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  margin: 0 auto 20px;
}

.form-wrap,
.checkbox-container {
  width: 90%;
  height: auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin: 0 auto 20px;
}

div[input-group]>input,
div[input-group]>select,
.span-select {
  width: 100%;
  height: 59px;
  border: 1px solid black;
  border-radius: 50px;
  padding: 15px 20px;
  text-align: center;
  background-color: rgba(255, 255, 255, 0.6);
}

div[input-group] {
  flex-grow: 1 !important;
}

#register input::placeholder {
  text-align: center;
}

#div-select {
  position: relative;
}

.span-select {
  width: 100%;
  position: absolute;
  top: 0;
  left: 0;
  border: none;
  pointer-events: none;
  background-color: transparent !important;
}

.checkbox-container {
  text-align: start;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.custom-checkbox .custom-control-label::before {
  border: 1px solid;
  background-color: rgba(255, 255, 255, 0.6) !important;
  border-radius: 3px;
}

.custom-checkbox .custom-control-input:checked~.custom-control-label::before {
  background-color: transparent;
  outline: none;
}

.custom-checkbox .custom-control-input:checked~.custom-control-label::after {
  background-image: none !important;
  border-radius: 3px;
  transform: scale(0.6);
}

#register input:focus-visible,
#register select:focus-visible,
.custom-control-input:focus ~ .custom-control-label::before {
  outline: none !important;
  box-shadow: none !important;
}

#register .custom-checkbox .custom-control-label::before,
#register .custom-checkbox .custom-control-label::after {
  top: calc(50% - 0.55rem);
}

.button-container {
  width: 90%;
  height: auto;
  display: flex;
  justify-content: center;
  margin: 0 auto;
}

.button-container button {
  width: 100%;
  max-width: 300px;
  padding: 15px 25px;
}

@media screen and (min-width: 1024px) {
  #register.page-wrap {
    max-width: 900px;
  }

  .form {
    max-width: 100%;
  }

  .form-wrap {
    flex-flow: row wrap;
  }

  .form-wrap>div {
    flex: 0 0 calc(50% - 8px);
    width: 367px;
  }

  .content-image {
    width: 300px;
    height: 300px;
  }
}

/* ----- kill outline on focus ------ */
textarea:focus-visible {
  outline: none;
}

.single-answer ::before,
.multiple-answer ::before{
  outline: none;
  box-shadow: none !important;
}

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

/* ==================== END OF REGISTER ==================== */

/*  ===== LIMIT REACHED PAGE ===== */
#limit-reached {
  width: 100%;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

#limit-reached>div {
  flex: 0 0 100%;
}

.limit-container {
  width: 90%;
  max-width: 600px;
  height: auto;
  margin: auto;
  padding: 20px 10px;
  text-align: center;
  border-radius: 15px;
}

.limit-container h2 {
  margin: 0;
}

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

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