/*! normalize.css v8.0.1 */

html {
    line-height: 1.15;
    -webkit-text-size-adjust: 100%
}

body {
    margin: 0
}

main {
    display: block
}

h1 {
    font-size: 2em;
    margin: .67em 0
}

hr {
    box-sizing: content-box;
    height: 0;
    overflow: visible
}

pre {
    font-family: monospace, monospace;
    font-size: 1em
}

a {
    background-color: transparent
}

abbr[title] {
    border-bottom: none;
    text-decoration: underline;
    text-decoration: underline dotted
}

b,
strong {
    font-weight: bolder
}

code,
kbd,
samp {
    font-family: monospace, monospace;
    font-size: 1em
}

small {
    font-size: 80%
}

sub,
sup {
    font-size: 75%;
    line-height: 0;
    position: relative;
    vertical-align: baseline
}

sub {
    bottom: -.25em
}

sup {
    top: -.5em
}

img {
    border-style: none
}

button,
input,
optgroup,
select,
textarea {
    font-family: inherit;
    font-size: 100%;
    line-height: 1.15;
    margin: 0
}

button,
input {
    overflow: visible
}

button,
select {
    text-transform: none
}

[type=button],
[type=reset],
[type=submit],
button {
    -webkit-appearance: button
}

[type=button]::-moz-focus-inner,
[type=reset]::-moz-focus-inner,
[type=submit]::-moz-focus-inner,
button::-moz-focus-inner {
    border-style: none;
    padding: 0
}

[type=button]:-moz-focusring,
[type=reset]:-moz-focusring,
[type=submit]:-moz-focusring,
button:-moz-focusring {
    outline: 1px dotted ButtonText
}

fieldset {
    padding: .35em .75em .625em
}

legend {
    box-sizing: border-box;
    color: inherit;
    display: table;
    max-width: 100%;
    padding: 0;
    white-space: normal
}

progress {
    vertical-align: baseline
}

textarea {
    overflow: auto
}

[type=checkbox],
[type=radio] {
    box-sizing: border-box;
    padding: 0
}

[type=number]::-webkit-inner-spin-button,
[type=number]::-webkit-outer-spin-button {
    height: auto
}

[type=search] {
    -webkit-appearance: textfield;
    outline-offset: -2px
}

[type=search]::-webkit-search-decoration {
    -webkit-appearance: none
}

::-webkit-file-upload-button {
    -webkit-appearance: button;
    font: inherit
}

details {
    display: block
}

summary {
    display: list-item
}

template {
    display: none
}

[hidden] {
    display: none
}

* {
    box-sizing: border-box;
}

*:focus {
    outline: none;
}


/* FONTS */

@font-face {
    font-family: 'GothamBold';
    src: url("fonts/Gotham Bold.otf") format('opentype');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'GothamLight';
    src: url('fonts/GothamLight.ttf') format('truetype');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'GothamMedium';
    src: url('fonts/GothamMedium.otf') format('opentype'), url('fonts/GothamMedium.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'GothamBlack';
    src: url('fonts/Gotham-Black.otf') format('opentype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

body {
    height: calc(var(--vh, 1vh) * 100);
    width: 100vw;
    color: #000;
    position: relative;
    font-family: 'GothamMedium';
    background-size: cover;
}

@media screen and (orientation: portrait) {
    body {
        background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url(img/texture-m.jpg);
        content-visibility: auto;
    }
}

@media screen and (orientation: landscape) {
    body {
        background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url(img/texture-d.jpg);
    }
}

html {
    background-color: black;
}

.content img {
    /*width: 69.5%;*/
    height: calc(var(--vh, 1vh) * 26);
}

.content .text img {
    height: calc(var(--vh, 1vh) * 2.35);
}

.cls-1 {
    fill: #1d1d1b;
}

.cls-2 {
    fill: #464b31;
}

.cls-3 {
    fill: #dcc2aa;
}


/* ANIMATION */

@keyframes animationTop {
    0% {
        transform: translateY(-20px);
        opacity: 0;
        visibility: hidden;
    }
    to {
        transform: translateY(0px);
        opacity: 1;
        visibility: visible;
    }
}

@keyframes match {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.2);
    }
    100% {
        transform: scale(1);
    }
}


/* HOME ANIMATION */

#home.active header {
    animation: animationTop 0.8s cubic-bezier(0.250, 0.100, 0.250, 1.000) 0.1s;
    animation-fill-mode: both;
}

#home.active .content> :nth-child(1) {
    animation: animationTop 0.8s cubic-bezier(0.250, 0.100, 0.250, 1.000) 0.3s;
    animation-fill-mode: both;
}

#home.active .content> :nth-child(2) {
    animation: animationTop 0.8s cubic-bezier(0.250, 0.100, 0.250, 1.000) 0.5s;
    animation-fill-mode: both;
}

#home.active .content> :nth-child(3) {
    animation: animationTop 0.8s cubic-bezier(0.250, 0.100, 0.250, 1.000) 0.7s;
    animation-fill-mode: both;
}


/* REWARD ANIMATION */

.memory.active header {
    animation: animationTop 0.8s cubic-bezier(0.250, 0.100, 0.250, 1.000) 0.1s;
    animation-fill-mode: both;
}

.memory.active svg {
    animation: animationTop 0.8s cubic-bezier(0.250, 0.100, 0.250, 1.000) 0.3s;
    animation-fill-mode: both;
}

.memory.active ul li:nth-child(1) {
    animation: animationTop 0.8s cubic-bezier(0.250, 0.100, 0.250, 1.000) 0.5s;
    animation-fill-mode: both;
}

.memory.active ul li:nth-child(2) {
    animation: animationTop 0.8s cubic-bezier(0.250, 0.100, 0.250, 1.000) 0.6s;
    animation-fill-mode: both;
}

.memory.active ul li:nth-child(3) {
    animation: animationTop 0.8s cubic-bezier(0.250, 0.100, 0.250, 1.000) 0.7s;
    animation-fill-mode: both;
}

.memory.active ul li:nth-child(4) {
    animation: animationTop 0.8s cubic-bezier(0.250, 0.100, 0.250, 1.000) 0.8s;
    animation-fill-mode: both;
}

.memory.active ul li:nth-child(5) {
    animation: animationTop 0.8s cubic-bezier(0.250, 0.100, 0.250, 1.000) 0.9s;
    animation-fill-mode: both;
}

.memory.active ul li:nth-child(6) {
    animation: animationTop 0.8s cubic-bezier(0.250, 0.100, 0.250, 1.000) 1s;
    animation-fill-mode: both;
}

.memory.active ul li:nth-child(7) {
    animation: animationTop 0.8s cubic-bezier(0.250, 0.100, 0.250, 1.000) 1.1s;
    animation-fill-mode: both;
}

.memory.active ul li:nth-child(8) {
    animation: animationTop 0.8s cubic-bezier(0.250, 0.100, 0.250, 1.000) 1.2s;
    animation-fill-mode: both;
}

.memory.active ul li:nth-child(9) {
    animation: animationTop 0.8s cubic-bezier(0.250, 0.100, 0.250, 1.000) 1.3s;
    animation-fill-mode: both;
}

.memory.active ul li:nth-child(10) {
    animation: animationTop 0.8s cubic-bezier(0.250, 0.100, 0.250, 1.000) 1.4s;
    animation-fill-mode: both;
}

.memory.active ul li:nth-child(11) {
    animation: animationTop 0.8s cubic-bezier(0.250, 0.100, 0.250, 1.000) 1.5s;
    animation-fill-mode: both;
}

.memory.active ul li:nth-child(12) {
    animation: animationTop 0.8s cubic-bezier(0.250, 0.100, 0.250, 1.000) 1.6s;
    animation-fill-mode: both;
}

.memory.active footer {
    animation: animationTop 0.8s cubic-bezier(0.250, 0.100, 0.250, 1.000) 1.8s;
    animation-fill-mode: both;
}


/* CONGRATS */

.congrats.active header {
    animation: animationTop 0.8s cubic-bezier(0.250, 0.100, 0.250, 1.000) 0.1s;
    animation-fill-mode: both;
}

.congrats.active .content {
    animation: animationTop 0.8s cubic-bezier(0.250, 0.100, 0.250, 1.000) 0.3s;
    animation-fill-mode: both;
}

.congrats.active .content> :nth-child(1) {
    animation: animationTop 0.8s cubic-bezier(0.250, 0.100, 0.250, 1.000) 0.5s;
    animation-fill-mode: both;
}

.congrats.active .content> :nth-child(2) {
    animation: animationTop 0.8s cubic-bezier(0.250, 0.100, 0.250, 1.000) 0.4s;
    animation-fill-mode: both;
}

.congrats.active .content> :nth-child(3) {
    animation: animationTop 0.8s cubic-bezier(0.250, 0.100, 0.250, 1.000) 0.9s;
    animation-fill-mode: both;
}

.congrats.active .content> :nth-child(4) {
    animation: animationTop 0.8s cubic-bezier(0.250, 0.100, 0.250, 1.000) 1.1s;
    animation-fill-mode: both;
}

.congrats.active .content> :nth-child(5) {
    animation: animationTop 0.8s cubic-bezier(0.250, 0.100, 0.250, 1.000) 1.3s;
    animation-fill-mode: both;
}


/*QR CODE*/

#QRCode.active header {
    animation: animationTop 0.8s cubic-bezier(0.250, 0.100, 0.250, 1.000) 0.1s;
    animation-fill-mode: both;
}

#QRCode.active .content> :nth-child(1) {
    animation: animationTop 0.8s cubic-bezier(0.250, 0.100, 0.250, 1.000) 0.3s;
    animation-fill-mode: both;
}

#QRCode.active .content> :nth-child(2) {
    animation: animationTop 0.8s cubic-bezier(0.250, 0.100, 0.250, 1.000) 0.5s;
    animation-fill-mode: both;
}


/* HEADER */

#lang-open {
    width: 30px;
    height: 30px;
    position: absolute;
    top: 5px;
    right: 5px;
}


/* FOOTER */

#footer {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    ;
    height: 20px;
    text-align: center;
    z-index: 5;
}

#footer a {
    display: inline-block;
    margin: 0 10px;
    color: #000;
    text-decoration: none;
    font-family: 'GothamLight';
    font-weight: 300;
}


/* COMMON */

.page {
    position: absolute;
    top: 0;
    left: 0;
    margin: 0 auto;
    height: 100%;
    width: 100%;
    display: none;
    overflow: hidden;
}

.container {
    width: 100%;
    height: 100%;
    margin: 0 auto;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    position: relative;
}

@media screen and (orientation: landscape) {
    .container {
        width: calc(100vh * 1126 / 2436);
    }
}

.container .content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.page.active {
    animation: animationTop 0.8s cubic-bezier(0.250, 0.100, 0.250, 1.000) 0s;
    animation-fill-mode: both;
    z-index: 2;
    opacity: 1;
    display: block;
}

.cta-container {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: center;
}


/* MEMORY */

.deck {
    width: 100%;
    overflow: hidden;
    height: 100%;
    transition: all 0.5s ease;
    margin: 0;
    display: flex;
    flex-flow: row wrap;
    justify-content: space-evenly;
    align-items: center;
    padding: 0;
}

.deck .card {
    padding: 1vw;
    color: #ffffff;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.4s ease;
    perspective: 1000px;
    width: calc(min(calc(var(--vh, 1vh) * 24), 40%));
    height: auto;
    aspect-ratio: 1;
}

.deck .card .flip-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 0.25s ease-out;
    transform-style: preserve-3d;
}

.deck .card .flip-card-front,
.deck .card .flip-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    border: 0.4vh solid;
    border-image: linear-gradient(45deg, #B99133 0%, #B99133 1%, #E9DDAF 18%, #B98534 42%, #7D5B25 59%, #E9DCBF 85%, #B99133 99%, #B99133 100%) 1;
}

.deck .card .flip-card-back {
    transform: rotateY(180deg);
}

.deck .card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.deck .card svg {
    width: 100%;
}

.deck .card.mask {
    opacity: 0;
}

.deck .card.open .flip-card-inner {
    transform: rotateY(180deg);
}

.deck .card.remove {
    opacity: 0;
    visibility: hidden;
}

.deck .card.disabled {
    pointer-events: none;
}

.deck .card.match .flip-card-inner {
    transform: rotateY(180deg);
}

.memory.active .deck li.card.match {
    animation: match 0.8s cubic-bezier(0.250, 0.100, 0.250, 1.000) 0s;
    animation-fill-mode: both;
}


/* HOME*/

#home {}

#home .container {
    /*background-image:url(img/bg.jpg);*/
}

#home svg {
    width: 60%;
    margin: 0 auto;
    padding: calc(var(--vh, 1vh) * 4) 0;
    display: block;
}

#home #home-content {
    /*padding: 5% 10%;*/
    text-align: center;
    font-size: 1.5em;
    font-size: calc(var(--vh, 1vh) * 2.85);
}

#home .content {
    /*padding:7.5% 0;*/
    margin-top: calc(var(--vh, 1vh) * 8.08);
}

#home .content .text {
    color: white;
    background: rgba(0, 0, 0, 0.8);
    margin: 0 5.5% calc(var(--vh, 1vh) * 13.71);
    padding: calc(var(--vh, 1vh) * 1.97) calc(var(--vh, 1vh) * 3.94) calc(var(--vh, 1vh) * 1.57);
}

#home .content .text span {
    background-image: linear-gradient(90deg, #D1B169 0%, rgba(209, 177, 105, 0.96) 8%, rgba(233, 203, 125, 0.83) 39%, rgba(212, 180, 101, 0.78) 52%, rgba(197, 163, 83, 0.83) 61%, rgba(233, 203, 125, 0.92) 82%, #D1B169 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

#home b {
    padding: 0 15%;
    text-align: center;
    font-size: 1.5em;
    display: block;
    font-family: 'GothamLight';
    font-weight: 300;
}

#home .cta-container {
    margin-top: 10%;
    padding: 0 10%;
    text-align: center;
}

#home .cta-container a {
    width: 45%;
}

#home .cta-container a:first-child {
    margin-right: 10%;
}

#home .cta-container a img {
    width: 100%;
    display: block;
}

button,
.button {
    cursor: pointer;
}

#home button,
#home .button {
    background-image: linear-gradient(90deg, #D1B169 0%, rgba(209, 177, 105, 0.96) 8%, rgba(233, 203, 125, 0.83) 39%, rgba(212, 180, 101, 0.78) 52%, rgba(197, 163, 83, 0.83) 61%, rgba(233, 203, 125, 0.92) 82%, #D1B169 100%);
    background-color: transparent;
    color: white;
    font-size: calc(var(--vh, 1vh) * 4.8);
    /*width: 82%;*/
    padding: 0 9%;
    height: calc(var(--vh, 1vh) * 7);
    position: absolute;
    bottom: calc(var(--vh, 1vh) * 6.36);
    border: 0;
}

.safari #home button,
.safari #home .button {
    padding: 1vh 9%;
}

button p,
.button p,
#home button div {
    padding: 0;
    margin: 0;
}

#home button p,
#home .button p,
#home .button div {
    font-family: "GothamMedium";
    /*width: 100%;*/
    width: fit-content;
    white-space: nowrap;
    padding: 0;
    vertical-align: middle;
    /*position: absolute;*/
    /*top: 50%;*/
    /*transform: translateY(-50%);*/
    text-align: center;
    display: inline-block;
    margin: 0;
}


/*.safari #home button p, .safari #home .button p, .safari #home .button div {
	margin-top: calc(var(--vh, 1vh) * 1.5);
}*

/* memory*/

.memory {}

#eau-issey-cedre-game {
    background-image: url(img/bg-cedre.jpg);
}

#eau-issey-magnolia-game {
    background-image: url(img/bg-magnolia.jpg);
}

header {
    padding: calc(var(--vh, 1vh) * 3.94) 0 0 0;
    /*height:12vh;*/
}

header svg,
header img {
    width: auto;
    height: 100%;
    margin: 0 auto;
    display: block;
}

header img:nth-child(1) {
    width: 41.5%;
    margin-bottom: calc(var(--vh, 1vh) * 2);
}

header img:nth-child(2) {
    width: 37.12%;
    margin-bottom: calc(var(--vh, 1vh) * 1);
}

header img:nth-child(3) {
    width: 32.68%;
}

.memory footer {
    width: 100%;
    height: calc(var(--vh, 1vh) * 12);
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: flex-start;
    align-items: center;
}

.memory .game {
    /*height:75vh;*/
    height: calc(min(calc(var(--vh, 1vh) * 25), 50vw) * 3);
    margin: calc(var(--vh, 1vh) * 4) 0;
}

.memory .progress-bar-border {
    height: 10px;
    width: 90%;
    display: flex;
}

.memory .progress-bar {
    height: 100%;
    width: 100%;
    transition: all 1s linear;
    background-image: url(img/progress.png);
    background-size: auto 100%;
    background-repeat: repeat;
}

.memory .progress-bar-cursor {
    height: 100%;
    width: 15%;
    transition: all 1s linear;
    background-image: url(img/cursor.png);
    background-position: center center;
    background-size: 100%;
    background-repeat: no-repeat;
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
}

.deck .card .flip-card-front {
    background-color: white;
}

.deck .card .flip-card-front img {
    object-fit: contain;
    width: auto;
    height: 19%;
    margin: 40.5%;
}


/* REWARD*/

#reward {
    background-image: url(img/bg-cedre.jpg);
}

.reward .content {
    height: 80%;
}

.reward header {
    padding: 2.5% 0;
    height: 15%;
}

.reward header svg {
    width: auto;
    height: 100%;
    margin: 0 auto;
    display: block;
}

.reward h2 {
    font-size: 1.2em;
    text-transform: uppercase;
    display: block;
    text-align: center;
    font-family: 'GothamLight';
    font-weight: 300;
}

.reward figure {
    height: 50%;
}

.reward figure img {
    height: 100%;
    display: block;
    margin: 0 auto;
}

.reward p {
    font-size: 1.4em;
    text-align: center;
    padding: 0 10%;
    margin-top: 3%;
    font-family: 'GothamLight';
    font-weight: 300;
}

.lang-fr .reward p {
    font-family: 'GothamMedium';
}

.reward p span {
    display: block;
    font-family: 'GothamMedium';
    font-weight: 500;
}

.hide {
    display: none;
}


/* CONGRATS */

.congrats {
    color: white;
}

.congrats .content {
    padding: calc(var(--vh, 1vh) * 5) calc(var(--vh, 1vh) * 1) calc(var(--vh, 1vh) * 4.5);
    width: calc(100% - 7.3% * 2);
    margin: auto;
    background-color: white;
    border: 0.3vh solid;
    border-image: linear-gradient(45deg, #B99133 0%, #B99133 1%, #E9DDAF 18%, #B98534 42%, #7D5B25 59%, #E9DCBF 85%, #B99133 99%, #B99133 100%) 1;
    margin-top: calc(var(--vh, 1vh) * 10.55);
}

.congrats .content img {
    height: calc(var(--vh, 1vh) * 19.33);
    width: auto;
}

.congrats button {
    background-color: black;
    color: white;
    font-family: 'GothamBold';
    font-size: calc(var(--vh, 1vh) * 2.23);
    border: none;
    padding: calc(var(--vh, 1vh) * 0.77) calc(var(--vh, 1vh) * 2);
    margin: calc(var(--vh, 1vh) * 7.2) auto 0;
}

.congrats h2 {
    height: 10%;
    font-size: calc(var(--vh, 1vh) * 2.5);
    text-transform: uppercase;
    display: flex;
    justify-content: center;
    flex-direction: column;
    text-align: center;
    margin: 0% auto;
    background-image: linear-gradient(90deg, #D1B169 0%, rgba(209, 177, 105, 0.96) 8%, rgba(233, 203, 125, 0.83) 39%, rgba(212, 180, 101, 0.78) 52%, rgba(197, 163, 83, 0.83) 61%, rgba(233, 203, 125, 0.92) 82%, #D1B169 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.congrats .content h2 img {
    height: calc(var(--vh, 1vh) * 1.89);
}

.congrats .ptext {
    font-size: calc(var(--vh, 1vh) * 2.14);
    display: block;
    text-align: center;
    margin: calc(var(--vh, 1vh) * 7.3) auto;
    font-family: 'GothamLight';
    font-weight: 300;
    color: black;
}

@media all and (orientation: portrait) {
    .congrats .content h2 img {
        height: calc(var(--vh, 1vh) * 2.07);
    }
    .congrats .ptext {
        font-size: calc(var(--vh, 1vh) * 2.35);
    }
    .congrats .content img {
        height: calc(var(--vh, 1vh) * 21.26);
    }
    .congrats button {
        font-size: calc(var(--vh, 1vh) * 2.45);
    }
}

.congrats .ptext span {
    font-family: 'GothamBlack';
    font-size: 106%;
}

.congrats strong {
    font-size: 1.5em;
    text-transform: uppercase;
    display: block;
    text-align: center;
}

.congrats .score {
    font-size: 3em;
    text-transform: uppercase;
    text-align: center;
    margin-bottom: 7.5%;
}

.congrats a {
    font-size: 1em;
    text-transform: uppercase;
    text-align: center;
    background: #e5d7c7;
    width: 60%;
    margin: 2% auto;
    text-decoration: none;
    color: #000;
    line-height: 1.25;
    transition: all ease-out 0.3s;
    height: 70px;
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
}

.congrats .or {
    display: block;
    text-align: center;
    text-transform: uppercase;
    font-size: 1.2em;
}

.congrats a span {
    font-size: 1.2em;
    display: block;
    width: 100%;
}

.congrats a:hover {
    background: #e9cfb0;
}

.congrats svg {
    width: 60%;
    margin: 0 auto;
    height: 6%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}


/* RESULTAT*/

#results {
    background-image: url(img/bg-end.jpg);
}

#results h2 {
    height: 8%;
    font-size: 2em;
    text-transform: uppercase;
    display: flex;
    justify-content: center;
    flex-direction: column;
    text-align: center;
    margin: 0% auto;
}

#results .content {
    height: 80%;
}

#results strong {
    font-size: 1.5em;
    text-transform: uppercase;
    display: block;
    text-align: center;
    margin-top: 5%;
}

#results .score {
    font-size: 2.5em;
    text-transform: uppercase;
    display: block;
    text-align: center;
}

#results p {
    font-size: 1.3em;
    text-transform: uppercase;
    display: block;
    text-align: center;
    margin: 3% auto;
    font-family: 'GothamLight';
    font-weight: 300;
}

#results form {
    width: 60%;
    margin: 0 auto;
    display: block;
    font-family: 'GothamLight';
    font-weight: 300;
}

#results .form-item {
    width: 100%;
    display: block;
    margin: 2% 0;
}

#results form .form-item input {
    border: none;
    background: none;
    border-bottom: 4px solid #e5d7c7;
    font-size: 1.25em;
    text-transform: uppercase;
    padding: 0.75em 0;
    width: 100%;
}

#results form .form-item select {
    border: none;
    background: none;
    border-bottom: 4px solid #e5d7c7;
    font-size: 1.25em;
    text-transform: uppercase;
    padding: 0.75em 0;
    width: 100%;
    color: #757575;
}

#results form .form-item.check {
    margin: 7.5% auto;
}

#results form .form-item input.form-error,
#results form .form-item select.form-error {
    border-color: red;
}

#results form .form-item.check label {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 2%;
}

#results form .form-item.check input {
    display: inline-block;
    width: auto;
    margin: 0 0 0 0px;
    vertical-align: top;
    width: 25px;
    height: 25px;
}

#results form .form-item.check span {
    font-weight: 500;
    font-size: 1em;
    display: inline-block;
    vertical-align: top;
    letter-spacing: 1px;
    padding-left: 10px;
    color: #000;
    line-height: 1;
    font-size: 0.8em;
    width: calc(100% - 25px);
}

#results form .form-item.check span.form-error {
    color: red;
}

#results form .form-item.check span a {
    color: #000;
    text-decoration: underline;
}

#results form .form-item.check span.form-error {
    color: red;
}

#results form .form-item.check span.form-error a {
    color: red;
}

#results form .form-action .send {
    font-size: 1.25em;
    text-transform: uppercase;
    display: block;
    text-align: center;
    background: #e5d7c7;
    width: 100%;
    margin: 2% auto;
    text-decoration: none;
    color: #000;
    line-height: 1.25;
    padding: 4% 0;
    width: 100%;
    display: block;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    font-family: 'GothamMedium';
    font-weight: 500;
}

#results form .form-action .send:hover {
    background: #e9cfb0;
}

#results form .form-action .send.disable {
    opacity: 0.25;
    pointer-events: none;
}

#results form .form-item.skip {
    margin: 0;
}

#results form #results-skip {
    color: #000;
    text-decoration: none;
    display: inline-block;
    text-align: center;
    width: 100%;
    font-family: 'GothamLight';
    font-weight: 300;
}

#results svg {
    width: 60%;
    margin: 0 auto;
    height: 6%;
    display: flex;
    justify-content: center;
    flex-direction: column;
}


/* NEWSLETTER*/

#newsletter {
    background-image: url(img/bg-end.jpg);
}

#newsletter h2 {
    height: 8%;
    font-size: 2em;
    text-transform: uppercase;
    display: flex;
    justify-content: center;
    flex-direction: column;
    text-align: center;
    margin: 0% auto;
}

#newsletter .content {
    height: 80%;
}

#newsletter p {
    font-size: 1.3em;
    text-transform: uppercase;
    display: block;
    text-align: center;
    margin: 3% auto;
    font-family: 'GothamLight';
    font-weight: 300;
}

#newsletter form {
    width: 60%;
    margin: 0 auto;
    display: block;
    font-family: 'GothamLight';
    font-weight: 300;
}

#newsletter .form-item {
    width: 100%;
    display: block;
    margin: 2% 0;
}

#newsletter form .form-item input {
    border: none;
    background: none;
    border-bottom: 4px solid #e5d7c7;
    font-size: 1.25em;
    text-transform: uppercase;
    padding: 0.75em 0;
    width: 100%;
}

#newsletter form .form-item select {
    border: none;
    background: none;
    border-bottom: 4px solid #e5d7c7;
    font-size: 1.25em;
    text-transform: uppercase;
    padding: 0.75em 0;
    width: 100%;
    color: #757575;
}

#newsletter form .form-item.check {
    margin: 7.5% auto;
}

#newsletter form .form-item input.form-error,
#newsletter form .form-item select.form-error {
    border-color: red;
}

#newsletter form .form-item.check label {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 2%;
}

#newsletter form .form-item.check input {
    display: inline-block;
    width: auto;
    margin: 0 0 0 0px;
    vertical-align: top;
    width: 25px;
    height: 25px;
}

#newsletter form .form-item.check span {
    font-weight: 500;
    font-size: 1em;
    display: inline-block;
    vertical-align: top;
    letter-spacing: 1px;
    padding-left: 10px;
    color: #000;
    line-height: 1;
    font-size: 0.75em;
    width: calc(100% - 25px);
}

#newsletter form .form-item.check span.form-error {
    color: red;
}

#newsletter form .form-item.check span a {
    color: #000;
    text-decoration: underline;
}

#newsletter form .form-item.check span.form-error {
    color: red;
}

#newsletter form .form-item.check span.form-error a {
    color: red;
}

#newsletter form .form-action .send {
    font-size: 1.25em;
    text-transform: uppercase;
    display: block;
    text-align: center;
    background: #e5d7c7;
    width: 100%;
    margin: 2% auto;
    text-decoration: none;
    color: #000;
    line-height: 1.25;
    padding: 4% 0;
    width: 100%;
    display: block;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    font-family: 'GothamMedium';
    font-weight: 500;
}

#newsletter form .form-action .send:hover {
    background: #e9cfb0;
}

#newsletter form .form-action .send.disable {
    opacity: 0.25;
    pointer-events: none;
}

#newsletter form .form-item.skip {
    margin: 0;
}

#newsletter form #newsletter-skip {
    color: #000;
    text-decoration: none;
    display: inline-block;
    text-align: center;
    width: 100%;
    font-family: 'GothamLight';
    font-weight: 300;
}

#newsletter svg {
    width: 60%;
    margin: 0 auto;
    height: 6%;
    display: flex;
    justify-content: center;
    flex-direction: column;
}


/* THANKS */

#thanks {
    background-image: url(img/bg-end.jpg);
}

#thanks h2 {
    height: 10%;
    font-size: 2em;
    text-transform: uppercase;
    display: flex;
    justify-content: center;
    flex-direction: column;
    text-align: center;
    margin: 0% auto;
}

#thanks p {
    text-align: center;
}

#thanks em {
    text-align: center;
    font-size: 0.8em;
    display: block;
}

#thanks .content {
    height: 75%;
}

.lang-mys #thanks .content,
.lang-sgp #thanks .content,
.lang-phl #thanks .content,
.lang-tha #thanks .content,
.lang-vnm #thanks .content {
    height: 68%;
}

#thanks #thanks-content {
    display: block;
    width: 100%;
}

#thanks #thanks-content img {
    display: block;
    width: 100%;
    margin: 0 auto 5%;
}

#thanks #thanks-content .send {
    font-size: 1.5em;
    text-transform: uppercase;
    display: block;
    text-align: center;
    background: #e5d7c7;
    margin: calc(var(--vh, 1vh) * 0.75) auto;
    text-decoration: none;
    color: #000;
    line-height: 1.25;
    padding: calc(var(--vh, 1vh) * 2) 0;
    width: 60%;
    display: block;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}

#thanks svg {
    width: 60%;
    margin: 0 auto;
    height: 6%;
    display: block;
}


/* LANG */

#lang {
    position: fixed;
    top: -110%;
    opacity: 0;
    left: 0;
    z-index: 50000;
    width: 100%;
    height: calc(var(--vh, 1vh) * 100);
    transition: all 0.3s ease-out;
    background: rgba(255, 255, 255, 0.95);
}

#lang.active {
    top: 0;
    opacity: 1;
}

#lang #lang-close {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 30px;
    height: 30px;
    text-decoration: none;
    z-index: 20;
}

#lang #lang-close span {
    width: 30px;
    height: 2px;
    background: #000;
    position: absolute;
    transform: rotate(45deg);
    top: 15px;
    left: 0;
}

#lang #lang-close span:nth-child(2) {
    transform: rotate(-45deg);
}

#lang #lang-content {
    width: 100%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

#lang #lang-content a {
    display: block;
    width: 100%;
    text-decoration: none;
    text-transform: uppercase;
    text-align: center;
    padding: 10px 0;
    font-weight: 700;
    color: #000;
}


/* QR CODE */

#QRCode #qr-content {
    text-align: center;
    font-size: 1.5em;
    font-size: calc(var(--vh, 1vh) * 2.85);
}

#QRCode .content {
    /*padding:7.5% 0;*/
    margin-top: calc(var(--vh, 1vh) * 8.08);
}

#QRCode .content .text {
    color: white;
    background: rgba(0, 0, 0, 0.8);
    margin: 0 5.5% calc(var(--vh, 1vh) * 13.71);
    padding: calc(var(--vh, 1vh) * 1.97) calc(var(--vh, 1vh) * 3.94) calc(var(--vh, 1vh) * 1.57);
}

.QRBackground {
    background-image: none;
}


/* VERIFICATION */

#verification {
    background-color: white;
    background-image: none;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

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

.verification p {
    font-family: 'GothamBlack';
    font-weight: 900;
    font-size: calc(var(--vh, 1vh) * 3);
    font-style: italic;
}

.verification img {
    height: calc(var(--vh, 1vh) * 18);
}


/**************/


/* RESPONSIVE */


/**************/

@media only screen and (max-width:770px) {
    .page {
        left: 0;
        margin-left: 0px;
        width: 100%;
    }
}

@media only screen and (max-width:601px) {
    .page {
        width: 100%;
        height: 100%;
        left: 0;
        margin-left: 0;
    }
    #footer a {
        font-size: 12px;
    }
    .memory footer {
        padding: calc(var(--vh, 1vh) * 2) 0;
        height: 12%;
    }
    .congrats a {
        width: 80%;
    }
    .congrats a span {
        font-size: 1.1em;
    }
    .congrats a:hover {
        background: #e9cfb0;
    }
    .congrats svg {
        width: 60%;
    }
}

@media only screen and (max-width:381px) {
    .congrats strong {
        font-size: 1.25em;
    }
    .congrats a {
        font-size: 1em;
        margin: 1em auto;
        padding: 0.5em 0;
        max-width: 90%;
    }
}