

@font-face {
    font-family: JetSansDisplayRegular;
    src: url(../fonts/JETSans-Regular.woff2) format("woff2"),
        url(../fonts/JETSans-Regular.ttf) format("truetype");
    font-weight: 400;
    font-style: normal
}

@font-face {
    font-family: JetSansDisplayBold;
    src: url(../fonts/JETSans-Bold.woff2) format("woff2"),
        url(../fonts/JETSans-Bold.ttf) format("truetype");
    font-weight: 400;
    font-style: normal
}

@font-face {
    font-family: JetSansDisplayBlack;
    src: url(../fonts/JETSans-Black.woff2) format("woff2"),
        url(../fonts/JETSans-Black.ttf) format("truetype");
    font-weight: 400;
    font-style: normal
}

* {
    box-sizing: border-box;
}

:root {
    --darktext: #242e30;
    --lighttext: #fcfcfc;
    --accent: #f6c243;
    --cta: #125fca;
}

.d-none {
    display: none !important;
}

.d-contents {
    display: contents !important;
}

.center {
    text-align: center !important;
}

.underline {
    text-decoration: underline;
}

html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address,
big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center,
dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside,
canvas, details, embed, figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary, time,
mark, audio, video, button {
    font-family: JetSansDisplayRegular, sans-serif;
    color: var(--lighttext);
    user-select: none;
}

.font-dark {
    color: var(--darktext);
}

.font-bold {
    font-family: JetSansDisplayBold, sans-serif;
}

.font-black {
    font-family: JetSansDisplayBlack, sans-serif;
}

body.justeatuni-body {
    background-color: #ff8000;
}

div.outer.outer-justeatuni {
    max-width: 512px;
    margin-left: auto;
    margin-right: auto;
    min-height: 100vh;
    position: relative;
}

div.outer > section.logos-container {
    display: flex;
    flex-direction: row;
    justify-content: start;
    align-items: center;
    padding: 0 0 16px;
    background-color: #ff8000;
    height: 64px;
}

div.outer > section.logos-container img {
    width: 128px;
    margin-top: 16px;
    margin-left: 16px;
}

div.outer > section.main {
    width: 100%;
    padding-bottom: 4vh;
}

div.outer > section.main > div.main-cta {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    padding: 32px 12px;
    grid-row-gap: 20px;
}

div.outer > section.main > div.main-cta > h1 {
    padding: 0 24px;
    font-size: 34px;
    line-height: 38px;
    text-align: center;
}

div.outer > section.main > div.main-cta > h3 {
    padding: 0 24px;
    font-size: 24px;
    line-height: 28px;
    text-align: center;
}

div.outer > section.main > div.main-cta > img {
    width: 149px;
}


div.outer > section.main > div.main-button {
    text-align: center;
    margin-bottom: 32px;
}

.BO-button, div.outer > section.main > div.main-button button {
    width: 256px;
    height: 48px;
    margin-left: auto;
    margin-right: auto;
    background-color: var(--cta);
    color: var(--lighttext);
    border: none;
    font-size: 30px;
    line-height: 52px;
    cursor: pointer;
}

div.outer > section.main > div.main-legal p {
    font-size: 15px;
    line-height: 18px;
    text-align: center;
    padding: 2px 8px;
}

/* FORM */

div.outer > section.main > div.form-cta {
    margin-top: 32px;
}

div.outer > section.main > div.form-cta h3 {
    font-size: 22px;
    line-height: 26px;
    margin-bottom: 8px;
    text-align: center;
}

div.outer > section.main > div.form-cta p {
    font-size: 16px;
    line-height: 18px;
    text-align: center;
    max-width: 336px;
    margin-left: auto;
    margin-right: auto;
}

div.outer > section.main div.form-content > div.form-row {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 8px;
}

div.outer > section.main div.form-content > div.form-row > label {
    font-size: 18px;
    line-height: 18px;
}


div.outer > section.main div.form-content > div.form-row > input,
div.outer > section.main div.form-content > div.form-row > select {
    width: 288px;
    min-width: unset;
    background-color: white;
    border: 1px solid white;
    margin-bottom: 8px;
    font-size: 16px;
    line-height: 33px;
    height: 32px;
    text-indent: 6px;
}

div.outer > section.main div.form-content > div.form-row > input:focus-visible {
    outline-color: var(--darktext);
}


div.outer > section.main div.form-content {
    margin-top: 32px;
}

div.outer > section.main div.form-content > div.form-row.form-row-consenso {
    max-width: 336px;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
    column-gap: 12px;
    width: auto;
    margin-bottom: 16px;
}

div.outer > section.main div.form-content > div.form-row.form-row-consenso > input {
    width: 20px;
    height: 20px;
    border-color: transparent;
    margin-bottom: 0;
    flex-shrink: 0;
    cursor: pointer;
}

div.outer > section.main div.form-content > div.form-row.form-row-consenso > label {
    font-size: 15px;
    line-height: 17px;
}

div.outer > section.main div.form-content > div.form-row.form-row-consenso > input[type="checkbox"]::before {
    width: 10px;
    height: 10px;
    box-shadow: inset 0 10px var(--darktext);
}

div.outer > section.main div.form-content > div.form-row-error {
    margin-bottom: 16px;
}

div.outer > section.main div.form-content > div.form-row > p.error-text {
    color: var(--darktext);
    background-color: var(--lighttext);
    text-align: center;
    font-size: 16px;
    border: 1px solid var(--darktext);
    max-width: 336px;
    margin-left: auto;
    margin-right: auto;
    padding: 8px;
}
div.outer > section.main div.form-content > div.form-row > p.error-text:empty {
    display: none;
}

div.outer > section.main div.form-button {
    text-align: center;
    margin-bottom: 32px;
}

div.outer > section.main div.form-button button {
    width: 256px;
    height: 48px;
    margin-left: auto;
    margin-right: auto;
    background-color: var(--cta);
    color: var(--lighttext);
    border: none;
    font-size: 30px;
    line-height: 52px;
    cursor: pointer;
}

input[type="checkbox"] {
    /* Add if not using autoprefixer */
    -webkit-appearance: none;
    appearance: none;
    /* For iOS < 15 to remove gradient background */
    background-color: #ff8000;
    /* Not removed via appearance */
    margin: 0;
    font: inherit;
    color: var(--darktext);
    width: 1.15em;
    height: 1.15em;
    border: 0.15em solid var(--darktext);
    border-radius: 0.15em;
    transform: translateY(-0.075em);
    display: grid;
    place-content: center;
  }
  input[type="checkbox"]::before {
    content: "";
    width: 0.65em;
    height: 0.65em;
    transform: scale(0);
    transition: 120ms transform ease-in-out;
    box-shadow: inset 1em 1em var(--darktext);
  }
  input[type="checkbox"]:checked::before {
    transform: scale(1);
  }

/* PLAY */

div.outer > section.main > div.main-play {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    width: 90%;
    margin: 32px auto;
}
@media (max-width: 383px) {
    div.outer > section.main > div.main-play {
        width: 100%;
        transform: scale(.9);
    }
}

div.outer > section.main > div.main-play .flip-card {
    background-color: transparent;
    width: 112px;
    height: 146px;
    perspective: 1000px;
    flex-shrink: 0;
    flex-grow: 0;
    cursor: pointer;
    visibility: hidden;
  }
  div.outer > section.main > div.main-play .flip-card.visible {
    visibility: visible;
}
   
div.outer > section.main > div.main-play .flip-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 0.6s;
    transform-style: preserve-3d;
    box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2);
    border-radius: 13px;
}

div.outer > section.main > div.main-play .flip-card.flipped .flip-card-inner {
    transform: rotateY(180deg);
}

div.outer > section.main > div.main-play .flip-card-front, .flip-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    border: 3px solid var(--accent);
    border-radius: 13px;
}

div.outer > section.main > div.main-play .flip-card-back {
    transform: rotateY(180deg);
}

div.outer > section.main > div.main-play .flip-card-front > img, div.outer > section.main > div.main-play .flip-card-back > img {
    width: 100%;
    border-radius: 10px;
}

/* IW */

body.justeatuni-body.justeatuni-body-iw {
    background-color: white;
}

div.outer > section.main > div.main-iw {
    position: relative;

}

div.outer > section.main > div.main-iw > div.main-iw-overlay {
    transition: visibility 240ms ease-in, opacity 240ms ease-in;
    visibility: visible;
    opacity: 1;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: calc(100vh - 64px);
    background-color: #ff8000;
}
div.outer > section.main > div.main-iw > div.main-iw-overlay.fadeout {
    visibility: hidden;
    opacity: 0;
    height: 0;
}

div.outer > section.main > div.main-iw > div.main-iw-deco {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 40vh;
    background-color: #ff8000;
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - 80px), 0 100%);
    z-index: -1;
}

div.outer > section.main > div.main-iw h1 {
    font-size: 34px;
    line-height: 38px;
    text-align: center;
}

div.outer > section.main > div.main-iw h3 {
    font-size: 24px;
    line-height: 28px;
    text-align: center;
}

div.outer > section.main > div.main-iw p {
    font-size: 18px;
    line-height: 22px;
    text-align: center;
}

div.outer > section.main > div.main-iw a {
    color: inherit;
}

div.outer > section.main > div.main-iw > div.main-iw-top {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    padding: 32px 0 0;
}

div.outer > section.main > div.main-iw > div.main-iw-top > img {
    width: 256px;
    margin: 36px auto 28px;
    flex-shrink: 0;
}
div.outer > section.main > div.main-iw > div.main-iw-top > img.iw-img-win {
    width: 100%;
    margin: 0 auto;
}

div.outer > section.main > div.main-iw > div.main-iw-bottom {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    padding: 0 28px;
    height: 100%;
}
