/* GLOBAL STYLES */
#terms_checbox_2,
#privacy_checbox_2 {
    font-weight: bold;
}


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

@media only screen and (max-width: 768px) {
    .privacy-policy {
        hyphens: auto;
    }
}

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

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


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

:root {
    --font-black: #000;
    --font-white: #fff;
    --bg-overlay: rgb(0 0 0 / 70%);
    --orange: #ffa200;
    --white: #fff;
}

a,
[data-social] a,
[data-social] a:hover {
    text-decoration: none;
}

img {
    max-width: 100%;
    height: auto;
}

body {
    font-size: 18px;
}

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

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

.form-control {
    padding-left: 30px;
    height: calc(3.5rem + 2px);
    background-color: transparent;
}

form .col-md-12 {
    padding-left: 0;
}

.custom-control-label::before,
.custom-control-label::after {
    border-radius: 0 !important;
}

.custom-control-label::before {
    border: 1px solid #000;
    background-color: transparent;
}

.custom-checkbox .custom-control-label::before,
.custom-checkbox .custom-control-label::after {
    top: calc(50% - 0.5rem);
    background-color: white;
}

.custom-checkbox .custom-control-label * {
    vertical-align: middle;
}

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

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

.custom-checkbox .custom-control-input:checked~[data-color-primary-checkbox]::after {
    transform: scale(0.7);
}

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

.po-none {
    pointer-events: none;
}


/* LAYOUT */


/* logo */


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

.logo-container>img {
    width: 160px;
    height: auto;
    max-height: 80px;
    object-fit: contain;
}


/* MAIN CONTENT */

.page {
    display: flex;
    z-index: 5;
    width: 100%;
    align-items: center;
    justify-content: space-between;
    min-height: 100vh;
    overflow: auto;
    flex-direction: column
}

.content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 90%;
    position: relative;
}


.left {
    border-top-left-radius: 24px;
    border-bottom-left-radius: 24px;
    width: 100%;
    flex: 0 0 50%;
    position: relative;
}

.helper__div {
    width: 100%;
    height: 100%;
    position: absolute;
    right: -100%;
    border-top-right-radius: 24px;
    border-bottom-right-radius: 24px;
}

.content__text {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 40px;
}

.right {
    flex: 0 0 45%;
    position: relative;
    z-index: 3;
}

.right.game {
    flex: 0 0 46%;
}

.image__wrap {
    border: 6px solid;
    border-radius: 24px;
    overflow: hidden;
    max-height: 700px;
    height: auto;
    aspect-ratio: 1 / 1;
}

.image__wrap img {
    object-fit: cover;
    width: 100%;
    max-height: 700px;
    aspect-ratio: 1 / 1;
}

.button__wrap {
    width: 100%;
    max-width: 300px;
}

.button__wrap button {
    width: 100%;
    padding: 14px;
}

/* REGISTER */

.prize-text-container>h2 {
    margin-bottom: 10px;
}

.prize-text-container>p {
    margin-bottom: 15px;
}

.form {
    width: 100%;
    height: auto;
}

.input-container {
    width: 100%;
    height: auto;
    display: flex;
    flex-flow: row wrap;
    gap: 20px;

}

.input-container>div {
    flex: 0 0 100%;
    min-height: 50px;
}

.checkbox-container>div {
    flex: 0 0 100%;
}

.input-container>div:last-of-type {
    margin: 0 auto;
}

#date-of-birth-input {
    padding: 13px 16px
}

/* kill the arrow in select input field */

select {
    appearance: none;
}

div[input-group]>input,
div[input-group]>select {
    width: 100%;
    height: 100%;
    padding: 15px 20px;
    background-color: white;
    border-radius: 6px;
    border: 2px;
}

.checkbox-container {
    width: 100%;
    height: auto;
    display: flex;
    flex-direction: column;
    margin: 30px 0;
    text-align: start;
    gap: 30px;
}

#register .button-container,
#register .form {
    margin-bottom: 0;
}

@media screen and (min-width: 768px) {
    .input-container>div {
        flex: 0 0 calc(50% - 10px);
    }
}

/* ================== OUTCOME ======================= */


/* ------ CTA BUTTONS ------ */
.cta-buttons {
    display: flex;
    gap: 10px;
    width: 100%;
    flex-wrap: wrap;
}

.cta {
    display: none;
    max-width: 300px;
    padding: 14px;
    width: 100%;
    box-shadow: 0 6px 6px #00000014;
}

/* ------ SOCIAL ICONS ------ */

/* social icons */

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

[data-social] {
  width: 40px;
  height: 40px;
  aspect-ratio: 1 / 1;
  border: none;
  border-radius: 6px;
  overflow: hidden;
  margin: 10px 5px 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;
}

@media screen and (min-width: 1024px) {
    .social__wrap {
        justify-content: flex-start;
        margin: 0 auto 0 -5px;
    }
}

/* FOOTER */

.footer {
    width: 100%;
    padding: 20px;
}

.copyright {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    text-align: center;
}

/* ============================= WEEKLY CALENDAR ============================= */

.game__container {
    width: 100%;
    max-width: 1330px;
    margin: 0 auto;
}

.game__container .content {
    width: 100%;
    justify-content: center;
    position: relative;
}

.right.cal {
    display: none;
}

.text-wrap {
    text-align: center;
    margin-bottom: 30px;
}

.text-wrap>h1 {
    margin-bottom: 10px;
}

.calendar-wrap {
    width: 100%;
    height: auto;
    display: flex;
    flex-flow: row wrap;
    gap: 10px;
    justify-content: center;
    margin: auto;
    flex-direction: column;
}

.prize-box {
    position: relative;
    width: 200px;
    height: 250px;
    border-radius: 16px;
}

.top,
.middle,
.bottom {
    display: flex;
    justify-content: space-between;
    width: 100%;
    gap: 10px;
}

.mid-size {
    width: 253px;
    height: 253px;
}

.big {
    height: 253px;
    width: 500px;
}

.small {
    width: 180px;
    height: 180px;
}

.mid-long {
    height: 180px;
    width: 370px;
}

.prize-wrap {
    width: 100%;
    height: 100%;
    position: absolute;
    inset: 0;
    opacity: 0;
    border-radius: inherit;
}

.prize-wrap>img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: inherit;
}

.tile {
    width: 100%;
    height: 100%;
    position: relative;
    background-size: cover !important;
    background-repeat: no-repeat !important;
    border-radius: inherit;
}

.tile-inner {
    width: 80%;
    height: 80%;
    border-radius: inherit;
}

.tile-inner>p {
    line-height: 1;
}


/* REGISTER */

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

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


.checkbox-styling {
    width: 100%;
}

.description {
    margin-bottom: 40px;
}


/* calendar margin */

@media screen and (max-width: 550px) {
    .calendar-container {
        margin-top: 0;
    }
}


/* ------ PRIZE ANIMATION ------ */

.tile-animation {
    animation: tile-animation 4s ease-in forwards;
}

.prize-animation {
    animation: prize-animation 3s 1s linear forwards;
}


/* keyframes */

@keyframes tile-animation {
    0% {
        box-shadow: 5px 5px 20px 10px rgb(180 163 163 / 10%), 5px -5px 20px 10px rgb(180 163 163 / 10%), -5px -5px 20px 10px rgb(180 163 163 / 10%), -5px 5px 20px 10px rgb(180 163 163 / 10%);
    }

    5% {
        transform: translate(-1px, -2px) rotate(-1deg);
    }

    10% {
        transform: translate(-3px, 0) rotate(1deg);
    }

    15% {
        transform: translate(3px, 2px) rotate(0deg);
    }

    20% {
        transform: translate(1px, -1px) rotate(1deg);
    }

    25% {
        transform: translate(-1px, 2px) rotate(-1deg);
    }

    30% {
        transform: translate(-3px, 1px) rotate(0deg) scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(0.1);
        opacity: 0;
    }

    100% {
        transform: scale(0.1);
        opacity: 0;
    }
}

@keyframes tile-animation {
    0% {
        box-shadow: 5px 5px 20px 10px rgb(180 163 163 / 10%), 5px -5px 20px 10px rgb(180 163 163 / 10%), -5px -5px 20px 10px rgb(180 163 163 / 10%), -5px 5px 20px 10px rgb(180 163 163 / 10%);
    }

    5% {
        transform: translate(-1px, -2px) rotate(-1deg);
    }

    10% {
        transform: translate(-3px, 0) rotate(1deg);
    }

    15% {
        transform: translate(3px, 2px) rotate(0deg);
    }

    20% {
        transform: translate(1px, -1px) rotate(1deg);
    }

    25% {
        transform: translate(-1px, 2px) rotate(-1deg);
    }

    30% {
        transform: translate(-3px, 1px) rotate(0deg) scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(0.1);
        opacity: 0;
    }

    100% {
        transform: scale(0.1);
        opacity: 0;
    }
}

@keyframes prize-animation {
    0% {
        transform: scale(0.1);
        opacity: 0;
    }

    40% {
        transform: scale(0.8);
        opacity: 1;
        z-index: 11;
    }

    70% {
        transform: scale(1);
        opacity: 1;
        z-index: 11;
    }

    100% {
        transform: scale(1);
        opacity: 1;
        z-index: 11;
    }
}

@keyframes prize-animation {
    0% {
        transform: scale(0.1);
        opacity: 0;
    }

    40% {
        transform: scale(0.8);
        opacity: 1;
        z-index: 11;
    }

    70% {
        transform: scale(1);
        opacity: 1;
        z-index: 11;
    }

    100% {
        transform: scale(1);
        opacity: 1;
        z-index: 11;
    }
}



/* Media Query */

@media only screen and (max-width: 1600px) {
    .mid-size {
        width: 220px;
        height: 220px;
    }

    .big {
        height: 220px;
        width: 440px;

    }

    .small {
        width: 160px;
        height: 160px;
    }

    .mid-long {
        height: 160px;
        width: 320px;
    }
}

@media only screen and (max-width: 1360px) {
    .mid-size {
        width: 190px;
        height: 190px;
    }

    .big {
        height: 190px;
        width: 400px;

    }

    .small {
        width: 150px;
        height: 150px;
    }

    .mid-long {
        height: 150px;
        width: 280px;
    }

    .game__container .content {
        width: 90%;
        margin: 0 auto;
    }

}

@media only screen and (max-width: 1150px) {
    .mid-size {
        width: 180px;
        height: 180px;
    }

    .big {
        height: 180px;
        width: 360px;

    }

    .small {
        width: 140px;
        height: 140px;
    }

    .mid-long {
        height: 140px;
        width: 250px;
    }

}

@media only screen and (max-width: 1023px) {
    .top,
    .middle,
    .bottom {
        justify-content: center;
    }

    .page {
        gap: 20px;
    }

    .content {
        flex-direction: column-reverse;
        align-items: center;
        width: 80%;
    }

    .helper__div {
        display: none;
    }

    .left {
        border-top-left-radius: 0;
        border-bottom-left-radius: 24px;
        border-bottom-right-radius: 24px;
        width: 90%;
        flex: none;
    }

    .right {
        flex: none;
        width: 100%;
    }

    .right.game {
        width: auto;
    }

    .content__text {
        align-items: center;
        text-align: center;

    }

    .cta-buttons {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    ul.social {
        justify-content: center;
    }

    /* calendar */

    .game__container {
        max-width: 850px;
    }

    .mid-size {
        width: 260px;
        height: 260px;
    }

    .big {
        height: 260px;
        width: 500px;
    }

    .small {
        width: 190px;
        height: 190px;
    }

    .mid-long {
        height: 190px;
        width: 370px;
    }

    .helper__div_mob {
        height: 80%;
        border-top-left-radius: 24px;
        border-top-right-radius: 24px;
        width: 90%;
        bottom: 100px;
        display: block;
        position: absolute;
    }

}

@media only screen and (max-width: 860px) {
    .game__container .content {
        width: 85%;
    }

    .mid-size {
        width: 220px;
        height: 220px;
    }

    .big {
        height: 220px;
        width: 450px;
    }

    .small {
        width: 150px;
        height: 150px;
    }

    .mid-long {
        height: 150px;
        width: 360px;
    }
}

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

    .content {
        width: 90%;
    }

    .game__container .content {
        width: 85%;
    }

    .content__text {
        padding: 30px;
    }

    .mid-size {
        width: 210px;
        height: 210px;
    }

    .big {
        height: 210px;
        width: 420px;
    }

    .small {
        width: 140px;
        height: 140px;
    }

    .mid-long {
        height: 140px;
        width: 340px;
    }


}

@media only screen and (max-width: 670px) {
    .mid-size {
        width: 180px;
        height: 180px;
    }

    .big {
        height: 180px;
        width: 350px;
    }

    .mid-long {
        height: 130px;
        width: 260px;
    }

    .small {
        width: 130px;
        height: 130px;
    }

    .date {
        font-size: 18px !important;
    }
}

@media only screen and (max-width: 550px) {
    .mid-size {
        width: 150px;
        height: 150px;
    }

    .big {
        height: 150px;
        width: 320px;
    }

    .mid-long {
        height: 110px;
        width: 240px;
    }

    .small {
        width: 110px;
        height: 110px;
    }
}

@media only screen and (max-width: 500px) {
    .calendar-wrap {
        gap: 5px;
    }

    .top,
    .middle,
    .bottom {
        gap: 5px;
    }

    .game__container .content {
        width: 80%;
    }

    .mid-size {
        width: 120px;
        height: 120px;
    }

    .big {
        height: 120px;
        width: 245px;
    }

    .mid-long {
        height: 100px;
        width: 160px;
    }

    .small {
        width: 100px;
        height: 100px;
    }

    .date {
        font-size: 14px !important;
    }
}


@media only screen and (max-width: 450px) {
    .content {
        width: 95%;
    }

    .content__text {
        padding: 20px;
    }

    .helper__div_mob {
        width: 100%;
    }

    .left {
        width: 87%;
    }

    .game__container .content .left {
        width: 100%;
    }
}

@media only screen and (max-width: 400px) {
    .date {
        font-size: 12px !important;
    }

    .big {
        height: 110px;
        width: 215px;
    }

    .mid-size {
        width: 110px;
        height: 110px;
    }

    .small {
        width: 85px;
        height: 85px;
    }

    .mid-long {
        height: 85px;
        width: 150px;
    }

    .game__container .content {
        width: 75%;
    }
}

@media only screen and (max-width: 350px) {
    .date {
        font-size: 10px !important;
    }

    .big {
        height: 90px;
        width: 175px;
    }

    .mid-size {
        width: 90px;
        height: 90px;
    }

    .small {
        width: 65px;
        height: 65px;
    }

    .mid-long {
        height: 65px;
        width: 130px;
    }
}

/*  ===== 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: 100%;
    max-width: 600px;
    height: auto;
    margin: auto;
    padding: 20px 10px;
    text-align: center;
}

.limit-container h2 {
    margin: 0;
}

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

#limit-reached .left {
    border-radius: 24px;
    margin: auto;
    text-align: center;
}

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

@media screen and (min-width: 1024px) {
    [dir="rtl"] .helper__div {
        right: unset;
        left: -100%;
        border-radius: 24px 0 0 24px;
    }

    [dir="rtl"] .left {
        border-radius: 0 24px 24px 0;
        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;
}