h1,
p {
    line-height: 1;
}
#turnDevice,
.muteContainer {
    position: absolute;
    left: 0;
    top: 0;
}
@font-face {
    font-family: latoregular;
    src: url(../assets/font/lato-regular-webfont.woff2) format("woff2"), url(../assets/font/lato-regular-webfont.woff) format("woff");
    font-weight: 400;
    font-style: normal;
}
@font-face {
    font-family: latoblack;
    src: url(../assets/font/lato-black-webfont.woff2) format("woff2"), url(../assets/font/lato-black-webfont.woff) format("woff");
    font-weight: 400;
    font-style: normal;
}
@font-face {
    font-family: latobold;
    src: url(../assets/font/lato-bold-webfont.woff2) format("woff2"), url(../assets/font/lato-bold-webfont.woff) format("woff");
    font-weight: 400;
    font-style: normal;
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    -webkit-tap-highlight-color: transparent;
}
html {
    overflow: hidden;
    cursor: default;
    font-size: 16px;
    font-family: latoregular;
}
::-webkit-input-placeholder {
    font-family: latoregular;
    color: #009596;
}
:-moz-placeholder {
    font-family: latoregular;
    color: #009596;
}
::-moz-placeholder {
    font-family: latoregular;
    color: #009596;
}
:-ms-input-placeholder {
    font-family: latoregular;
    color: #009596;
}
::-ms-clear {
    display: none;
}
input {
    -webkit-user-select: initial;
    -khtml-user-select: initial;
    -moz-user-select: initial;
    -ms-user-select: initial;
    user-select: initial;
}
button {
    background: 0 0;
    border: 0;
    outline: 0;
}
button:hover {
    cursor: pointer;
}
h1 {
    font-size: 2em;
}
p {
    font-size: 1.2em;
}
#screens {
    width: 100vw;
    height: 100vh;
}
#screens .screen {
    display: none;
    height: 100vh;
}
#screens .screen.show {
    display: block;
}
#conversionTarget {
    display: none;
}
#mute,
#mute.muted {
    width: 105px;
    height: 126px;
    background-repeat: no-repeat;
    background-image: url(../assets/img/buttons.png);
    display: block;
    overflow: hidden;
}
.scale {
    transform-origin: top left;
}
.scale.scale-top-center {
    transform-origin: top center;
}
.scale.scale-center {
    transform-origin: center center;
}
.scale.scale-bottom-center {
    transform-origin: bottom center;
}
.scale.scale-bottom-left {
    transform-origin: bottom left;
}
.scale.scale-bottom-right {
    transform-origin: bottom right;
}
.scale.scale-top-left {
    transform-origin: top left;
}
.muteContainer {
    z-index: 99;
}
#mute {
    background-position: -322px -863px;
    margin-top: 0;
    margin-left: 10px;
}
#mute.muted {
    background-position: -215px -863px;
}
#mute.hide,
#turnDevice.hide {
    display: none;
}
#turnDevice {
    background: url(../assets/img/turn_device.png) center center/contain no-repeat #00abad;
    z-index: 2000;
    width: 100vw;
    height: 100vh;
}
#menu {
    background: url(../assets/img/bg/start.jpg) top center/cover no-repeat;
}
#menu .wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 90px;
}
#menu .logo {
    overflow: hidden;
    width: 501px;
    height: 221px;
    background-repeat: no-repeat;
    background-image: url(../assets/img/labels-1.png);
    background-position: -569px -1401px;
    display: block;
}
#menu .buttons {
    width: 500px;
    margin-top: 410px;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-around;
}
#menu .buttons button.play {
    overflow: hidden;
    width: 181px;
    height: 179px;
    background-repeat: no-repeat;
    background-image: url(../assets/img/buttons.png);
    background-position: -429px -1px;
    -webkit-animation: pulsate 1s ease-in-out infinite alternate;
    -o-animation: pulsate 1s ease-in-out infinite alternate;
    -moz-animation: pulsate 1s ease-in-out infinite alternate;
    animation: pulsate 1s ease-in-out infinite alternate;
    display: block;
}
#menu .buttons button.highscore,
#menu .buttons button.instructions {
    overflow: hidden;
    width: 105px;
    height: 150px;
    background-repeat: no-repeat;
    background-image: url(../assets/img/buttons.png);
    display: block;
    margin-top: 50px;
}
#menu .buttons button.instructions {
    background-position: -108px -868px;
}
#menu .buttons button.highscore {
    background-position: -1px -868px;
}
#highscore {
    background: url(../assets/img/bg/general.jpg) top center/cover no-repeat;
}
#highscore .entry,
#highscore .entry.yourScore,
#highscore .frame {
    background-image: url(../assets/img/labels-1.png);
    display: flex;
}
#highscore .buttons button.back,
#highscore .entry,
#highscore .entry.yourScore,
#highscore .frame {
    overflow: hidden;
    background-repeat: no-repeat;
}
#highscore .wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 80px;
}
#highscore .frame {
    width: 593px;
    height: 698px;
    background-position: -1px -701px;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    padding-top: 20px;
}
#highscore .frame .left {
    padding-right: 10px;
}
#highscore .frame .right {
    padding-left: 10px;
}
#highscore .entry {
    width: 225px;
    height: 50px;
    background-position: -317px -1934px;
    color: #009596;
    flex-direction: row;
    align-items: center;
    margin-bottom: 10px;
}
#highscore .entry .position {
    font-family: latobold;
    font-size: 40px;
    text-align: right;
    width: 50px;
    color: #9995c9;
}
#highscore .entry .entry-wrapper {
    display: flex;
    flex-direction: column;
    padding-left: 15px;
    padding-top: 3px;
    flex-grow: 2;
}
#highscore .entry .entry-wrapper .name-wrapper {
    height: 1em;
    flex-grow: 2;
    font-size: 1.4em;
    overflow: hidden;
    position: relative;
}
#highscore .entry .entry-wrapper .name-wrapper .name {
    --animto: 0;
    -webkit-animation: floatText 5s infinite alternate ease-in-out;
    -moz-animation: floatText 5s infinite alternate ease-in-out;
    animation: floatText 5s infinite alternate ease-in-out;
    position: absolute;
    white-space: nowrap;
}
#highscore .entry .entry-wrapper .score {
    color: #acd08c;
    font-size: 1.5em;
}
#highscore .entry.yourScore {
    width: 314px;
    height: 81px;
    background-position: -1px -1924px;
    margin-top: -335px;
}
#highscore .entry.yourScore .position {
    color: #fff;
    margin-left: 15px;
    width: 65px;
}
#highscore .entry.yourScore .entry-wrapper {
    text-align: center;
    margin-right: 20px;
}
#highscore .entry.yourScore .entry-wrapper .name {
    color: #9995c9;
    left: 0;
    right: 0;
}
#highscore .entry.yourScore .entry-wrapper .score {
    color: #fff;
}
#highscore .entry.yourScore.hide {
    opacity: 0;
}
#highscore .buttons {
    width: 595px;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-around;
    z-index: -1;
}
#highscore .buttons button.back {
    width: 194px;
    height: 219px;
    background-image: url(../assets/img/buttons.png);
    background-position: -1px -1px;
    display: block;
    z-index: -1;
    margin-top: -37px;
}
#highscore .templates {
    display: none;
}
@-webkit-keyframes floatText {
    0%,
    10% {
        left: 0;
    }
    100%,
    90% {
        left: var(--animto);
    }
}
@-moz-keyframes floatText {
    0%,
    10% {
        left: 0;
    }
    100%,
    90% {
        left: var(--animto);
    }
}
@keyframes floatText {
    0%,
    10% {
        left: 0;
    }
    100%,
    90% {
        left: var(--animto);
    }
}
#questSelect {
    background: url(../assets/img/bg/general.jpg) top center/cover no-repeat;
}
#questSelect .frame,
#questSelect .frame .buttons button.quest_01 {
    overflow: hidden;
    background-repeat: no-repeat;
    background-position: -1px -1px;
}
#questSelect .wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 80px;
}
#questSelect .frame {
    display: inline-block;
    width: 593px;
    height: 698px;
    background-image: url(../assets/img/labels-1.png);
    z-index: -2;
}
#questSelect .frame .buttons {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-top: 165px;
}
#questSelect .frame .buttons button {
    position: relative;
}
#questSelect .frame .buttons button.quest_01 {
    width: 460px;
    height: 232px;
    background-image: url(../assets/img/labels-2.png);
    display: block;
}
#questSelect .frame .buttons button.quest_01 .bg,
#questSelect .frame .buttons button.quest_01.selected {
    background-image: url(../assets/img/labels-1.png);
    overflow: hidden;
    background-repeat: no-repeat;
    width: 460px;
    height: 232px;
}
#questSelect .frame .buttons button.quest_01.selected {
    display: inline-block;
    background-position: -1439px -1640px;
}
#questSelect .frame .buttons button.quest_01.selected .text {
    display: block;
}
#questSelect .frame .buttons button.quest_01 .bg {
    display: inline-block;
    background-position: -1072px -1401px;
}
#questSelect .frame .buttons button.quest_02 {
    overflow: hidden;
    width: 460px;
    height: 232px;
    background-repeat: no-repeat;
    background-image: url(../assets/img/labels-2.png);
    background-position: -1px -1px;
    display: block;
}
#instructions .frame,
#questSelect .frame .buttons button.quest_02 .bg,
#questSelect .frame .buttons button.quest_02.selected {
    overflow: hidden;
    background-repeat: no-repeat;
    background-image: url(../assets/img/labels-1.png);
}
#questSelect .frame .buttons button.quest_02.selected {
    display: inline-block;
    width: 460px;
    height: 232px;
    background-position: -1439px -1640px;
}
#questSelect .frame .buttons button.quest_02.selected .text {
    display: block;
}
#questSelect .frame .buttons button.quest_02 .bg {
    display: inline-block;
    width: 460px;
    height: 232px;
    background-position: -977px -1635px;
}
#questSelect .frame .buttons button .bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: -1;
}
#questSelect .frame .buttons button .text {
    font-family: latobold;
    width: 100%;
    color: #009596;
    display: none;
    font-size: 30px;
}
#instructions .text,
#video .frame .textWrapper .text {
    font-size: 23px;
    text-align: center;
    line-height: 1.2;
    padding-left: 30px;
    padding-right: 30px;
    color: #009596;
    font-family: latoregular;
}
#questSelect .buttons {
    width: 595px;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-around;
    z-index: -1;
}
#questSelect .buttons button.play {
    overflow: hidden;
    width: 194px;
    height: 219px;
    background-repeat: no-repeat;
    background-image: url(../assets/img/buttons.png);
    background-position: -1px -443px;
    -webkit-animation: pulsate 1s ease-in-out infinite alternate;
    -o-animation: pulsate 1s ease-in-out infinite alternate;
    -moz-animation: pulsate 1s ease-in-out infinite alternate;
    animation: pulsate 1s ease-in-out infinite alternate;
    display: block;
    z-index: -1;
    margin-top: -37px;
}
#instructions {
    background: url(../assets/img/bg/general.jpg) top center/cover no-repeat;
}
#instructions .wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 80px;
}
#instructions .frame {
    width: 593px;
    height: 698px;
    background-position: -596px -701px;
    display: flex;
    flex-direction: column;
    align-items: center;
}
#instructions .image.mobile.step-01,
#instructions .image.mobile.step-02,
#instructions .image.step-01,
#instructions .image.step-02 {
    overflow: hidden;
    width: 448px;
    height: 237px;
    background-repeat: no-repeat;
    background-image: url(../assets/img/labels-1.png);
    display: block;
}
#instructions .image {
    margin-top: 160px;
    flex-shrink: 0;
}
#instructions .image.step-01 {
    background-position: -1px -1446px;
}
#instructions .image.step-02 {
    background-position: -1px -1685px;
}
#instructions .image.mobile.step-01 {
    background-position: -527px -1624px;
}
#instructions .image.mobile.step-02 {
    background-position: -1534px -1401px;
}
#instructions .textWrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
#instructions .text {
    width: 450px;
    padding-top: 35px;
    height: 217px;
    display: flex;
    align-items: center;
}
#instructions .nav {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    width: 590px;
    margin-top: -518px;
}
#instructions .nav.first {
    justify-content: flex-end;
}
#instructions .nav.first button.prev,
#instructions .nav.last button.next {
    display: none;
}
#instructions .nav button.next,
#instructions .nav button.prev {
    width: 63px;
    height: 78px;
    display: block;
    -webkit-animation: pulsate 1s ease-in-out infinite alternate;
    -o-animation: pulsate 1s ease-in-out infinite alternate;
    -moz-animation: pulsate 1s ease-in-out infinite alternate;
    overflow: hidden;
    background-repeat: no-repeat;
    background-image: url(../assets/img/buttons.png);
}
#instructions .nav button.next {
    background-position: -325px -81px;
    animation: pulsate 1s ease-in-out infinite alternate;
}
#instructions .nav button.prev {
    background-position: -325px -1px;
    animation: pulsate 1s ease-in-out infinite alternate;
}
#instructions .buttons {
    width: 595px;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-around;
    z-index: -1;
}
#instructions .buttons button.play {
    overflow: hidden;
    width: 194px;
    height: 219px;
    background-repeat: no-repeat;
    background-image: url(../assets/img/buttons.png);
    background-position: -1px -443px;
    display: block;
    margin-top: -37px;
    z-index: -1;
}
@-webkit-keyframes pulsate {
    from {
        transform: scale3d(0.8, 0.8, 1);
    }
    to {
        transform: scale3d(1, 1, 1);
    }
}
@-o-keyframes pulsate {
    from {
        transform: scale3d(0.8, 0.8, 1);
    }
    to {
        transform: scale3d(1, 1, 1);
    }
}
@-moz-keyframes pulsate {
    from {
        transform: scale3d(0.8, 0.8, 1);
    }
    to {
        transform: scale3d(1, 1, 1);
    }
}
@keyframes pulsate {
    from {
        transform: scale3d(0.8, 0.8, 1);
    }
    to {
        transform: scale3d(1, 1, 1);
    }
}
#video {
    background: url(../assets/img/bg/general.jpg) top center/cover no-repeat;
}
#video .border,
#video .frame,
#video .logo {
    background-image: url(../assets/img/labels-1.png);
}
#game .score,
#video .border,
#video .buttons button.play,
#video .frame,
#video .logo {
    overflow: hidden;
    background-repeat: no-repeat;
}
#video .wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 40px;
    pointer-events: none;
}
#video .logo {
    display: inline-block;
    width: 168px;
    height: 108px;
    background-position: -544px -1934px;
}
#video .frame {
    width: 593px;
    height: 698px;
    background-position: -1191px -701px;
    display: flex;
    flex-direction: column;
    align-items: center;
}
#video .frame .questVideo {
    margin-top: 185px;
    pointer-events: none;
    width: 500px;
    height: 282px;
}
#video .frame .questVideo.hide {
    display: none;
}
#video .frame .textWrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-top: 215px;
}
#video .frame .textWrapper .text {
    width: 450px;
    height: 217px;
    display: flex;
    align-items: center;
}
#video .frame .textWrapper.hide {
    display: none;
}
#video .border {
    display: inline-block;
    width: 566px;
    height: 43px;
    background-position: -1px -1401px;
    margin-top: -145px;
    margin-bottom: 34px;
}
#video .buttons {
    width: 595px;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-around;
    z-index: -1;
    pointer-events: all;
}
#video .buttons button.play {
    width: 194px;
    height: 219px;
    background-image: url(../assets/img/buttons.png);
    background-position: -1px -443px;
    -webkit-animation: pulsate 1s ease-in-out infinite alternate;
    -o-animation: pulsate 1s ease-in-out infinite alternate;
    -moz-animation: pulsate 1s ease-in-out infinite alternate;
    animation: pulsate 1s ease-in-out infinite alternate;
    display: block;
    margin-top: -37px;
    z-index: -1;
}
#game .wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: absolute;
    top: 0;
    left: 0;
    width: 100vw;
    z-index: 99;
    pointer-events: none;
}
#game .score {
    width: 303px;
    height: 135px;
    background-image: url(../assets/img/labels-1.png);
    background-position: -841px -1869px;
    display: flex;
    flex-direction: row;
    color: #009596;
    line-height: 80px;
    font-size: 40px;
    font-family: latoregular;
    padding-top: 38px;
    text-align: right;
}
#game .score .points {
    height: 90%;
    margin-left: 30px;
    width: 135px;
}
#game .score .quest {
    height: 90%;
    display: flex;
    flex-direction: row;
    margin-left: 12px;
}
#game .score .quest .icon.apple,
#game .score .quest .icon.sandwich {
    display: inline-block;
    overflow: hidden;
    background-repeat: no-repeat;
    background-image: url(../assets/img/labels-1.png);
}
#game .score .quest .icon {
    margin-top: auto;
    margin-bottom: 30px;
    margin-left: 0;
}
#game .score .quest .icon.apple {
    width: 32px;
    height: 39px;
    background-position: -527px -1556px;
}
#game .score .quest .icon.sandwich {
    width: 41px;
    height: 27px;
    background-position: -451px -1669px;
}
#game .score .quest .text {
    margin-left: 5px;
}
#game .countDown {
    display: none;
    margin-top: 200px;
}
#game .countDown.c-1,
#game .countDown.c-2,
#game .countDown.c-3,
#game .countDown.c-go {
    overflow: hidden;
    background-repeat: no-repeat;
    background-image: url(../assets/img/labels-1.png);
    display: block;
}
#game .countDown.c-3 {
    width: 67px;
    height: 110px;
    background-position: -451px -1446px;
}
#game .countDown.c-2 {
    width: 74px;
    height: 109px;
    background-position: -451px -1558px;
}
#game .countDown.c-1 {
    width: 28px;
    height: 108px;
    background-position: -520px -1446px;
}
#game .countDown.c-go {
    width: 251px;
    height: 110px;
    background-position: -1146px -1869px;
}
#gameOver {
    background: url(../assets/img/bg/general.jpg) top center/cover no-repeat;
}
#gameOver .frame,
#gameOver .frame input.name,
#gameOver .frame.noScore {
    overflow: hidden;
    background-repeat: no-repeat;
    background-image: url(../assets/img/labels-1.png);
}
#gameOver .wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 80px;
    margin-bottom: 30px;
}
#gameOver .frame {
    width: 593px;
    height: 698px;
    background-position: -596px -1px;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 47px;
}
#gameOver .frame .title {
    font-family: latobold;
    color: #fff;
    font-size: 27px;
    width: 323px;
    margin-bottom: 82px;
    text-align: center;
}
#gameOver .frame .text {
    font-family: latoregular;
    color: #009596;
    font-size: 40px;
    width: 376px;
    margin-bottom: 13px;
    text-align: center;
}
#gameOver .frame .flexbox .quest,
#gameOver .frame .flexbox .score {
    width: 280px;
    display: flex;
    line-height: 1.2;
    font-family: latoregular;
    text-align: center;
}
#gameOver .frame .flexbox {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    margin-top: 50px;
    margin-left: auto;
    margin-right: 30px;
}
#gameOver .frame .flexbox .score {
    font-size: 40px;
    color: #9995c9;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}
#gameOver .frame .flexbox .score .smaller {
    color: #009596;
}
#gameOver .frame .flexbox .quest {
    font-size: 35px;
    color: #9995c9;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    margin-top: 20px;
}
#gameOver .frame .flexbox .quest .smaller {
    color: #009596;
    font-size: 30px;
}
#gameOver .frame.noScore {
    width: 593px;
    height: 698px;
    background-position: -1191px -1px;
    display: flex;
}
#gameOver .frame.noScore .text {
    width: 325px;
    font-size: 28px;
    margin: 45px 66px 80px auto;
}
#gameOver .frame.noScore input.name {
    display: none;
}
#gameOver .frame.noScore .flexbox {
    margin-top: 25px;
    margin-right: 0;
}
#gameOver .frame input.name {
    width: 388px;
    height: 69px;
    background-position: -451px -1863px;
    display: block;
    border: 0;
    outline: 0;
    background-color: transparent;
    text-align: center;
    font-size: 2em;
    color: #009596;
    font-family: latoregular;
}
#gameOver .frame .bubble p.playAgain,
#gameOver .frame input.name.hide {
    display: none;
}
#gameOver .frame .bubble {
    width: 175px;
    text-align: center;
    align-self: flex-end;
    margin-right: 40px;
    margin-top: 70px;
}
#gameOver .frame .bubble p {
    line-height: 1.2;
    font-size: 1.7em;
}
#gameOver .buttons {
    width: 595px;
    margin-top: -37px;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    z-index: -1;
}
#gameOver .buttons button.highscore,
#gameOver .buttons button.play,
#gameOver .buttons button.upload {
    overflow: hidden;
    background-repeat: no-repeat;
    background-image: url(../assets/img/buttons.png);
    display: block;
}
#gameOver .buttons button.highscore {
    width: 160px;
    height: 202px;
    background-position: -1px -664px;
}
#gameOver .buttons button.play {
    width: 194px;
    height: 219px;
    background-position: -1px -222px;
    margin-right: 20px;
    margin-left: 20px;
}
#gameOver .buttons button.upload {
    width: 160px;
    height: 197px;
    background-position: -163px -664px;
}
#gameOver .buttons button.hide {
    opacity: 0;
    pointer-events: none;
}
#gameOver.noNameEntry .bubble {
    margin-top: calc(110px + 47px + 15px);
}
#gameOver.noNameEntry .bubble p.nameEntry {
    display: none;
}
#gameOver.noNameEntry .bubble p.playAgain {
    display: block;
}
#gameOver.noNameEntry input.name {
    display: none;
}
#gameOver.noNameEntry button.highscore {
    display: block;
}
#gameOver.noNameEntry button.upload {
    display: none;
}
#preloader {
    background: #00abad;
}
#preloader .wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100vh;
}
#preloader .text {
    margin-top: -25px;
    font-family: latoregular;
    color: #fff;
    font-size: 32px;
    text-align: center;
    line-height: 37px;
    margin-bottom: 50px;
}
