/* ----------------------------------------------------- */
/* e-Ukraine */
@font-face {
    font-family: 'e-Ukraine';
    src: url('resources/fonts/ukraine/e-Ukraine-Thin.woff2') format('woff2');
    font-weight: 100;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'e-Ukraine';
    src: url('resources/fonts/ukraine/e-Ukraine-Light.woff2') format('woff2');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'e-Ukraine';
    src: url('resources/fonts/ukraine/e-Ukraine-Regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'e-Ukraine';
    src: url('resources/fonts/ukraine/e-Ukraine-Bold.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}
/* ----------------------------------------------------- */
/* SPACELAND */
@font-face {
    font-family: 'Spaceland Ten';
    src:url('resources/fonts/spaceland-ten.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}


body {margin:0;padding:0;font-family: Helvetica, sans-serif;font-size:14px;line-height: 1.4;color: #ffffff;box-sizing: border-box;-webkit-tap-highlight-color: rgba(0, 0, 0, 0);background: #333333;}
div, p, span, h1, h2, h3, h4, ol {vertical-align: baseline;margin:0;padding:0;box-sizing: border-box;}
*{margin:0; padding:0;}
#mover{display:none;}
img{max-width:100%;vertical-align:middle;}
.blk{display:block;}
.hide{display: none;}
a {color:#3a84df;outline:none;}
a:hover {color:#b22222;}
a:focus {outline:none;}
.unselectable {-webkit-touch-callout: none;-webkit-user-select: none;-khtml-user-select: none;-moz-user-select: none;-ms-user-select: none;user-select: none;}
ul, li {margin: 0;padding: 0;list-style: none;}
h1 {color:#fff;font-family: 'Spaceland Ten';text-align: left;font-size: 40px;line-height: 1.1;}
h1 span {display:block;}
h1 span:first-child {color:#F3BC12;}
h2 {color:#fff;font-family: 'Spaceland Ten';text-align: center;font-size: 30px;line-height: 1.1;width: 100%;}
h2 span:first-child {color:#F3BC12;}

.specification {font-family: 'e-Ukraine', sans-serif; font-weight: 100; text-align: left; margin-top: 22px;}
.next-mission {display: none;font-family: 'e-Ukraine', sans-serif;font-weight: 700;width: 100%;height: 50px;font-size: 14px;background:#436BDD;margin-top: 22px;}
.next-mission span {width: 100%; height: 100%; display: flex; align-items: center; justify-content: center;}

#gameHeader {background: #3D3D3F;color: white;display: flex;align-items: center;justify-content: space-between;padding: 16px 20px;}
#gameHeader .logo img {width: 160px;}
#gameHeader .lang {display: flex;flex-direction: row;align-items: center;color: #fff;justify-content: space-between;}
#gameHeader .lang span {display: block;line-height: 1;}
#gameHeader .lang div {font-family: 'e-Ukraine', sans-serif;font-weight: 400;font-size: 15px;}
#gameHeader .lang a {display: block;color: #fff;text-decoration: none;line-height: 1;}
#gameHeader .lang .active {cursor: default;color: #F3BC12;}
#gameHeader .lang .ua {margin-right: 12px;}

#gameFooter {background: #212121;color: white;display: flex;align-items: flex-start;justify-content: flex-start;padding: 28px 0px 20px 0px;flex-direction: column;}
#gameFooter .logo {padding: 0 22px;}
#gameFooter .logo img {width: 220px;}
#gameFooter .author {font-family: 'e-Ukraine', sans-serif; font-weight: 700;font-size: 14px;margin-top: 22px;padding: 0 24px;}
#gameFooter .author span {display:block;margin-bottom: 6px;}
#gameFooter .author .slogan{color: #F3BC12;font-size: 15px;}
#gameFooter .author span:nth-child(2) {font-family: 'e-Ukraine', sans-serif; font-weight: 300;}
#gameFooter .copyright {width: 100%;border-top: 1px solid #989898;font-family: 'e-Ukraine', sans-serif;font-weight: 300;font-size: 12px;color: #989898;margin-top: 18px;padding-top: 16px;text-align: center;display: flex;flex-direction: column;align-items: center;justify-content: flex-start;}
#gameFooter .copyright span {display: block;}
#gameFooter .copyright span:nth-child(2) {margin-top: 4px;}
#gameFooter .copyright a {color: #bfbebe;text-decoration: none;}
#gameFooter .copyright a:hover {text-decoration: underline;}

#questContainer {position: relative;width: 100%;overflow: hidden;background-image: url(resources/img/map.png);background-size: cover;background-position: 0% 0%;background-repeat: no-repeat;padding-bottom: 62px;}

#intro {margin-top: 0;}
#intro .img-preview {margin-top: 22px; margin-bottom: 16px;}
#intro .deco-bttm {width: 100%; text-align: right; position: relative; right: -20px; margin-top: 22px;}
#intro .deco-bttm img {width: 180px;}
#intro p {font-family: 'e-Ukraine', sans-serif;font-weight: 400;text-align: left;margin-top: 22px;line-height: 1.5;}
#start {font-family: 'e-Ukraine', sans-serif;font-weight: 700;width: 100%;height: 44px;font-size: 13px;display: flex;background:#436BDD;align-items: center;justify-content: center;}
#progressBar {position: absolute;opacity: 0;transform: translateX(100%);transition: transform 0.7s ease-in-out, opacity 1.7s ease-in-out;display: flex;gap: 5px;justify-content: center;margin-top: 28px;width: 100%;padding: 0 20px;box-sizing: border-box;}
#progressBar.active {opacity: 1; transform: translateX(0);}
.progress-step {width: 16.666%;height: 5px;background: #535353;transition: background 0.3s;border-radius: 5px;}
.progress-step.active {background: #F3BC12;}
.quest-screen {position: absolute;width: 100%;opacity: 0;transform: translateX(100%);transition: transform 0.5s ease-in-out, opacity 0.3s ease-in-out;display: flex;flex-direction: column;align-items: flex-start;justify-content: center;text-align: center;padding: 22px 20px 0px 20px;box-sizing: border-box;margin-top: 42px;}
.quest-screen.active {opacity: 1;transform: translateX(0);position: relative;}
.quest-screen.prev {transform: translateX(-100%); opacity: 0;}
.quest-screen .description {font-family: 'e-Ukraine', sans-serif;font-weight: 400;text-align: left;margin-top: 22px;line-height: 1.5;}
.quest-screen .img {margin-top: 22px; margin-bottom: 16px;position:relative;}
.quest-screen .img:after {content: '';display:none; position: absolute; background-image: url(resources/img/decor-img.png); background-size: cover; background-position: 0% 0%; background-repeat: no-repeat; z-index: 99999; width: 100px; height: 54px;}
#mission-1.quest-screen .img:after {bottom: 0; right: 5px;}
#mission-2.quest-screen .img:after {bottom: 0px;right: auto;left: 0px;transform: scaleX(-1);}
#mission-3.quest-screen .img:after {bottom: -24px; right: 5px;}
#mission-4.quest-screen .img:after {bottom: 0; right: 5px;}
#mission-5.quest-screen .img:after {bottom: 0; right: 5px;}
#mission-6.quest-screen .img:after {bottom: 0; right: 5px;}
.quest-screen .audio {font-family: 'e-Ukraine', sans-serif; font-weight: 700; width: 100%; height: 44px; font-size: 13px; display: flex; background: #ffffff; align-items: center; justify-content: center; color: #000;}
.quest-screen .task {text-align: left; margin-top: 32px;}
.quest-screen .task h3 {font-family: 'Spaceland Ten';text-align: left;font-size: 26px;line-height: 1;}
.quest-screen .task p {font-family: 'e-Ukraine', sans-serif;font-weight: 400;text-align: left;margin-top: 12px;line-height: 1.5;}
.quest-screen .task p.qst {font-family: 'e-Ukraine', sans-serif; font-weight: 400;}
.answers-container {margin-top: 12px; width: 100%;}
.answers-container div {padding: 13px 15px;margin: 5px 0;border: 2px solid #F3BC12;transition: background 0.3s, border-color 0.3s;font-family: 'e-Ukraine', sans-serif;font-weight: 400;text-align: center;margin-top: 12px;width: 100%;line-height: 1.5;font-size: 14px;min-height: 50px;}
.answers-container div.selected {background: rgba(0, 100, 255, 0.3); border-color: #0064ff;}
.answers-container div.correct {border-color: #50cd54; background: #3f9b42a6;}
.answers-container div.wrong {background: #c800004d; border-color: #d32f2f;}
#verify {margin-top: 10px;font-family: 'e-Ukraine', sans-serif;font-weight: 700;width: 100%;height: 50px;background: #6e6e6ea1;}
#verify span {width: 100%; height: 100%; display: flex; align-items: center; justify-content: center;}
#verify.selected {background: #436BDD;}
.confirm-ua {font-size: 13px;}
.confirm-en {font-size: 13px;}
.answer {margin-top: 10px;font-family: 'e-Ukraine', sans-serif;font-weight: 700;width: 100%;height: 50px;font-size: 13px;}
.answer span {width: 100%;height: 100%;display: flex;align-items: center;justify-content: center;}
.answer.correct {background: #eaf5ddfc; color: #3f9b42;}
.answer.wrong {background: #ffcebe; color: #d32f2f;}
.explanation {margin-top: 22px;background: #474747;text-align: left;padding: 22px 18px;display: none;}
.explanation h3 {font-family: 'Spaceland Ten';font-size: 28px;line-height: 1;}
.explanation p {font-family: 'e-Ukraine', sans-serif;font-weight: 400;margin-top: 16px;line-height: 1.5;}
#end {padding-bottom: 42px;}
#end h2 {text-align: center;}
#end .result {display: flex; flex-direction: column; align-items: center; width: 100%; margin-top: 42px;}
#end .stars {display: flex; justify-content: space-around; align-items: flex-start; width: 170px;}
#end .stars img {display: block; width: 36px;aspect-ratio: 1/1}
#end .result p {font-family: 'e-Ukraine', sans-serif;font-weight: 400;text-align: center;margin-top: 22px;}
#end .final-text {font-family: 'e-Ukraine', sans-serif;font-weight: 400;text-align: left;margin-top: 22px;line-height: 1.6;}
#share {font-family: 'e-Ukraine', sans-serif;font-weight: 700;width: 100%;height: 50px;font-size: 13px;display: flex;background: #436BDD;align-items: center;justify-content: center;margin-top: 22px;}
#again {margin-top: 52px; border: 2px solid #ffffff; font-family: 'e-Ukraine', sans-serif; font-weight: 700; text-align: center; width: 100%; height: 50px; font-size: 13px; display: flex; align-items: center; justify-content: center;}

@media screen and (max-width: 350px) {
#share {font-size: 12px;}
}

/* - !!!!!!!!!!!! - - - 320 px - - - !!!!!!!!!!!! - */
@media screen and (max-width: 320px) {
.quest-screen {padding: 22px 18px 0px 18px;}
#gameHeader {padding: 16px 18px;}
#gameFooter .copyright {font-size: 12px;}
.confirm-en {font-size: 12px;}
}

/* - !!!!!!!!!!!! - - - 375px - - - !!!!!!!!!!!! - */
@media screen and (min-width: 375px) {
#gameFooter .copyright {display: flex; flex-direction: row; align-items: flex-start; justify-content: center;}
#gameFooter .copyright span:nth-child(2) {margin-top:0;margin-left: 16px;}
}

/* - !!!!!!!!!!!! - - - 410px - - - !!!!!!!!!!!! - */
@media screen and (min-width: 410px) {
#gameHeader {padding: 20px 26px;}
.quest-screen {padding: 26px 26px 0px 26px;}
#gameFooter .logo {padding: 0 0px 0 26px;}
#gameFooter .author {padding: 0 26px;}
#progressBar {padding: 0 26px;}
#gameFooter .copyright {justify-content: space-between;padding-left: 26px;padding-right: 26px;}
#gameFooter .copyright span:nth-child(2) {margin-top:0;margin-left: 0;}
}

/* - !!!!!!!!!!!! - - - 540px - - - !!!!!!!!!!!! - */
@media screen and (min-width: 540px) {
#gameHeader {padding: 24px 40px;}
#gameHeader .logo img {width: 170px;}
#intro {margin-top: 20px;}
#questContainer {width: 500px;margin: 0 auto;background: none;}
#progressBar {margin-top: 38px;}
#gameFooter .logo {padding: 0 0px 0 46px;}
#gameFooter .author {padding: 0 46px;}
.quest-screen {margin-top: 62px;}
#gameFooter .copyright {padding-left: 46px;padding-right: 46px;}
h1 {font-size: 50px;}
body:before {content:'';width:100%;height:100%;position:fixed;top:0;left:0;background-image: url(resources/img/map.png);background-size: cover;background-position: 0 0;background-repeat: no-repeat;z-index: -1;}
}

/* - !!!!!!!!!!!! - - - 1010 px - - - !!!!!!!!!!!! - */
@media screen and (min-width: 1010px) {
#bossContainer {width: 500px; margin: 40px auto; box-shadow: 0 0 10px 0 #00000078; background: #333; border-radius: 8px; overflow: hidden; position: relative;}
#gameHeader {width: 420px;margin: 0 auto;}
#gameFooter .logo {padding: 0 0px 0 36px;}
#gameFooter .author {padding: 0 0 0 36px;}
#gameFooter .copyright {padding-left: 36px;padding-right: 36px;}
#start:hover {cursor:pointer;border: 2px solid #fff;}
.answers-container div:hover {background: rgba(0, 100, 255, 0.3);border-color: #0064ff;cursor: pointer;}
.next-mission:hover {cursor:pointer;border: 2px solid #fff;}
#verify.selected:hover {cursor:pointer;border: 2px solid #fff;}
.answers-container div.disabled {pointer-events: none;}
#share:hover {cursor:pointer;border: 2px solid #fff;}
#again:hover {cursor:pointer;border: 2px solid #f3bc12;color: #f3bc12;}
}
