/* ----------------------------------------------------- */
/* 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;
}
/* ----------------------------------------------------- */
/* Kyiv Region */
@font-face {
    font-family: 'Kyiv Region';
    src:url('resources/fonts/ukraine/KyivRegion-Regular.woff2') format('woff2');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}


body {margin:0;padding:0;font-family: 'e-Ukraine', 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: radial-gradient(50% 50% at 50% 50%, #6C4B3C 0%, #402719 100%) fixed;}
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: 'Kyiv Region';text-align: left;font-size: 32px;line-height: 1.1;font-weight: 500;}
h1 span {display:block;}
h1 span:first-child {color:#F3BC12;}
h2 {color:#F3BC12;font-family: 'Kyiv Region';text-align: left;font-size: 28px;line-height: 1.1;width: 100%;font-weight: 500;}
h2 span:first-child {color:#fff;}

.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:#FCBC10;margin-top: 22px;color: #342218;border-radius: 15px;}
.next-mission span {width: 100%; height: 100%; display: flex; align-items: center; justify-content: center;}

#gameHeader {position: relative;background: #2F1507;color: white;display: flex;flex-direction: column;align-items: center;justify-content: space-between;width: 100%;overflow: clip;margin: 0px auto;}
#gameHeader:not(.start) {position: sticky;top: 0px;z-index: 10;}
#gameHeader .main-header{padding: 15px 20px;display: flex;align-items: center;justify-content: space-between;width: 100%;transition: transform 0.5s ease-in-out, opacity 0.3s ease-in-out;}
#gameHeader .main-header .left-logo {width: calc(100%/3);display: flex;align-items: center;}
#gameHeader .main-header .left-logo img {width: 80px;margin-bottom: -10px;}
#gameHeader .main-header .left-logo a.menu-burger {display: flex;align-items: center;justify-content: center;width: 30px;min-width: 30px;height: 30px;background-image: url(resources/img/menu-burger.svg);background-position: center;background-repeat: no-repeat;background-size: 100% 100%;}
#gameHeader .main-header .logo {width: calc(100%/3);display: flex;align-items: center;justify-content: center;}
#gameHeader .logo img {width: 80px;}
#gameHeader .lang {width: calc(100%/3);display: flex;flex-direction: row;align-items: center;color: #fff;justify-content: flex-end;}
#gameHeader .lang span {display: block;line-height: 1;}
#gameHeader .lang div {font-family: 'e-Ukraine', sans-serif;font-weight: 400;font-size: 14px;}
#gameHeader .lang a {display: block;color: #fff;text-decoration: none;line-height: 1;padding: 10px 8px;border: 1px solid #ffffff;border-radius: 10px;}
#gameHeader .lang .active {cursor: default;}
#gameHeader .lang .ua {margin-right: 12px;}

#gameFooter {background: #2F1507;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;display: flex;align-items: center;width: 100%;flex-wrap: wrap;gap: 10px;}
#gameFooter .logo img {width: 150px;}
#gameFooter .logo img.koam-img {width: 40px;margin-left: auto;}
#gameFooter .logo img.kyiv-img {width: 110px;}
#gameFooter .author {font-family: 'Kyiv Region', sans-serif; font-weight: 500;font-size: 20px;margin-top: 22px;padding: 0 24px;max-width: 80%;}
#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 .socials {margin-top: 22px;padding: 0 24px;}
#gameFooter .socials .menu {display: flex;align-items: center;}
#gameFooter .socials .menu .menu-item {display: flex;align-items: center;margin-right: 14px;}
#gameFooter .socials .menu .menu-item a {width: 30px;height: 30px;font-size: 0px;color: transparent;overflow: hidden;background-position: center;background-repeat: no-repeat;background-size: 100% 100%;}
#gameFooter .socials .menu .menu-item a[href*="instagram.com"] {background-image: url(resources/img/instagram.svg);}
#gameFooter .socials .menu .menu-item a[href*="facebook.com"] {background-image: url(resources/img/facebook.svg);}
#gameFooter .socials .menu .menu-item a[href*="youtube.com"] {background-image: url(resources/img/youtube.svg);}
#gameFooter .copyright {width: 100%;border-top: 1px solid #989898;font-family: 'e-Ukraine', sans-serif;font-weight: 300;font-size: 14px;color: #989898;margin-top: 18px;padding-top: 20px;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: clip;background-size: cover;background-position: 0% 0%;background-repeat: no-repeat;padding-bottom: 62px;padding-top: 42px;}
#questContainer:has(#intro.active) {padding: 0px;}
#bossContainer:has(#intro.active) #gameFooter {display: none;}

#intro {background-color: #1D1D1D;padding: 0px;margin-top: 0px;}
#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 .img-wrap .img-preview {margin: 0px;}
#intro .img-wrap .img-preview img {object-fit: cover;}
#intro .task {position: relative;z-index: 2;margin-top: 0px;padding: 24px 20px 32px;}
#intro .task span.uppertitle {display: flex;font-size: 18px;color: #F3BC12;font-weight: 700;line-height: 120%;margin-bottom: 14px;}
#intro .task h1 {color: #fff;text-align: left;font-size: 26px;line-height: 1.2;font-weight: 700;margin-bottom: 14px;font-family: 'e-Ukraine', sans-serif;}
#intro .task h1 span:first-child {color: #fff;}
#intro p {font-family: 'e-Ukraine', sans-serif;font-weight: 400;text-align: left;margin-top: 22px;line-height: 1.5;}
#intro .task p {font-family: 'e-Ukraine', sans-serif;font-weight: 300;text-align: left;margin-bottom: 14px;line-height: 1.5;margin-top: 0px;}
#intro .task p strong {font-size: 16px;font-weight: 700;}
#start {font-family: 'e-Ukraine', sans-serif;font-weight: 400;width: 100%;height: 50px;font-size: 14px;display: flex;background:#FCBC10;align-items: center;justify-content: center;color: #342218;margin-top: 24px;border-radius: 15px;}
#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: -10px;width: 100%;padding: 0 20px;box-sizing: border-box;}
#progressBar.active {opacity: 1; transform: none;}
.progress-step {width: 16.666%;height: 5px;background: #816B4D;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: 0px;}
.quest-screen.active {opacity: 1;transform: none;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;}
.quest-screen .img p {font-style: italic; font-size: 14px;margin-top: 6px;}
.quest-screen .bg {position: absolute;user-select: none;pointer-events: none;}
.quest-screen:has(#verify.clicked) .bg.bg-first {opacity: 0;}
.quest-screen:has(#verify.clicked) .bg.bg-second {opacity: 1;}
.quest-screen .bg.bg01 {width: 60px; top: 310px; right: 25px;}
.quest-screen .bg.bg02 {width: 180px; bottom: 80px; right: 20px;}
.quest-screen .bg.bg11 {width: 140px; top: 140px; right: 20px;}
.quest-screen .bg.bg12 {width: 250px; top: 0px; right: 20px;opacity: 0;}
.quest-screen .bg.bg21 {width: 120px; top: 20px; right: 0px;}
.quest-screen .bg.bg22 {width: 80px; top: 40px; right: 20px;opacity: 0;}
.quest-screen .bg.bg31 {width: 90px; top: 40px; right: 20px;}
.quest-screen .bg.bg32 {width: 90px; top: 40px; right: 20px;opacity: 0;}
.quest-screen .bg.bg41 {width: 120px; top: 40px; right: 20px;}
.quest-screen .bg.bg42 {width: 120px; top: 40px; right: 20px;opacity: 0;}
.quest-screen .bg.bg51 {width: 250px; top: 0px; right: 20px;}
.quest-screen .bg.bg52 {width: 146px; top: 0px; right: 20px;opacity: 0;}
.quest-screen .bg.bg61 {width: 150px; top: 0px; right: 20px;}
.quest-screen .bg.bg62 {width: 100px; top: 0px; right: 20px;opacity: 0;}
.quest-screen .bg.bg71 {width: 220px; top: 0px; right: 20px;}
.quest-screen .bg.bg72 {width: 100px; top: 0px; right: 20px;opacity: 0;}
.quest-screen .bg.bg81 {width: 250px; top: 160px; right: 30px;}
.quest-screen .bg.bg82 {width: 100px; top: 0px; right: 20px;opacity: 0;}
.quest-screen .bg.bg91 {width: 120px; top: 0px; right: 20px;}
.quest-screen .bg.bg92 {width: 140px; top: 0px; right: 5px;opacity: 0;}
.quest-screen .bg.bg101 {width: 100px; top: 0px; right: 10px;}
.quest-screen .bg.bg102 {width: 160px; top: 0px; right: 20px;opacity: 0;}
.quest-screen .bg.bg111 {width: 240px; top: 40px; right: 50%;transform: translateX(50%);}
.quest-screen .bg.bg112 {width: 240px; top: 0px; right: 50%;transform: translateX(50%); opacity: 0;}
.quest-screen > *:not(.bg) {position: relative;z-index: 2;}
.quest-screen .view-btn {display: flex;font-family: 'e-Ukraine', sans-serif;font-weight: 700;width: 100%;height: 50px;font-size: 12px;background:#fff;color: #000;text-decoration: none;margin-top: 16px;border-radius: 15px;}
.quest-screen .view-btn span {width: 100%; height: 100%; display: flex; align-items: center; justify-content: center;}
#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: 'Kyiv Region';text-align: left;font-size: 26px;line-height: 1;font-weight: 500;}
.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: left;margin-top: 12px;width: 100%;line-height: 1.5;font-size: 14px;min-height: 50px;display: flex;align-items: center;background-color: #2F1507;border-radius: 10px;}
/* .answers-container div.selected {background: rgba(0, 100, 255, 0.3); border-color: #0064ff;} */
.answers-container div.correct {border-color: #7BF312; background: #416620;}
.answers-container div.wrong {border-color: #FF0000; background: #781919;}
.answers-container div .marker {width: 20px;height: 20px;border-radius: 100%;border: 2px solid #F3BC12;display: flex;align-items: center;justify-content: center;position: relative;margin-right: 8px;}
.answers-container div .marker::after {content: '';width: 60%;height: 60%;border-radius: 100%;background-color: transparent;position: absolute;left: 50%;top: 50%;transform: translate(-50%, -50%);}
.answers-container div.selected .marker::after {background-color: #F3BC12;}
.answers-container div.correct .marker {border-color: #7BF312;}
.answers-container div.correct.selected .marker::after {background-color: #7BF312;}
.answers-container div.wrong .marker {border-color: #FF0000;}
.answers-container div.wrong.selected .marker::after {background-color: #FF0000;}
#verify {margin-top: 10px;font-family: 'e-Ukraine', sans-serif;font-weight: 700;width: 100%;height: 50px;background: #F3BC12;color: #342218;border-radius: 15px;}
#verify span {width: 100%; height: 100%; display: flex; align-items: center; justify-content: center;}
#verify.selected {background: #F3BC12;}
.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;border-radius: 15px;}
.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: #2F1507;text-align: left;padding: 22px 18px;display: none;border-radius: 15px;}
.explanation h3 {font-family: 'Kyiv Region';font-size: 22px;line-height: 1;font-weight: 500;color: #F3BC12;}
.explanation h3:not(:first-child) {margin-top: 22px;}
.explanation .expanded {margin-top: 22px; max-height: 0;overflow: hidden;transition: max-height 0.4s ease;}
.explanation .expanded.open {max-height: 1000px;}
.explanation .expanded > *:last-child {margin-bottom: 20px;}
.explanation .expanded-btn {font-size: 14px;text-decoration: underline;cursor: pointer;display: flex;align-items: center;}
.explanation .expanded-btn .hide {display: none;}
.explanation .expanded-btn.open .hide {display: block;}
.explanation .expanded-btn.open .show {display: none;}
.explanation .expanded-btn::after {content: '';width: 12px;min-width: 12px;height: 12px;background-image: url(resources/img/arrow-back-white.svg);background-position: center;background-repeat: no-repeat;background-size: 100% 100%;margin-left: 8px;transform: rotate(270deg);transition: 0.2s;}
.explanation .expanded-btn.open::after {transform: rotate(90deg);}
.explanation p {font-family: 'e-Ukraine', sans-serif;font-weight: 400;margin-top: 16px;line-height: 1.5;}
#end > div {width: 100%;}
#end > div > *:not(.bg) {position: relative;z-index: 2;}
#end h2 {text-align: center; color: #fff;}
#end h2 span:first-child {color: #F3BC12;}
#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;}
#end .stars img {display: block; width: 42px;aspect-ratio: 1/1;margin: 0px 10px;}
#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: #F3BC12;align-items: center;justify-content: center;margin-top: 22px;color: #342218;border-radius: 15px;}
#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;border-radius: 15px;}

#loader {position: fixed;top: 0;left: 0;width: 100vw;height: 100vh;background-color: #1D1D1D;display: flex;justify-content: center;align-items: center;z-index: 9999;transition: opacity 0.5s ease;flex-direction: column;}
.spinner {border: 8px solid #f3f3f3;border-top: 8px solid #F3BC12;border-radius: 50%;width: 60px;height: 60px;animation: spin 1s linear infinite;}
#loader .logo {max-width: 150px;margin-bottom: 30px;}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

html, body {
  overscroll-behavior: contain; /* або contain */
}

#bossContainer {position: relative;}
.menu-popup {position: absolute;z-index: 100;left: 0px;top: 0px;width: 100%;max-width:500px;height: 100%;opacity: 0;user-select: none;pointer-events: none;transition: 0.2s;}
.menu-popup.open {opacity: 1;user-select: auto;pointer-events: all;}
.menu-popup > .popup-close {position: absolute;z-index: 1;left: 0px;top: 0px;width: 100%;height: 100%;opacity: 0;}
.menu-popup .popup-wrap {padding: 20px 20px 30px;position: relative;z-index: 2;background-color: #2F1507;display: flex;flex-direction: column;align-items: flex-start;position: sticky;top: 0px;width: 75%;height: 100dvh;box-shadow: 0px -10px 4px 0px #00000040;overflow-y: auto;margin-left: -75%;transition: 0.2s;}
.menu-popup.open .popup-wrap {margin-left: 0%;}
.menu-popup .popup-wrap::-webkit-scrollbar {width: 0px;}
.menu-popup .popup-wrap > .popup-close {font-size: 0px;width: 15px;min-width: 15px;height: 15px;min-height: 15px;background-image: url(resources/img/close-white.svg);background-position: center;background-repeat: no-repeat;background-size: 100% 100%;cursor: pointer;margin-left: auto;margin-bottom: 20px;}
.menu-popup .popup-wrap a.site-link {font-size: 18px;line-height: 150%;color: #ffffff;font-weight: 700;text-decoration: none;margin-bottom: 16px;width: 180px;}
.menu-popup .popup-wrap p {font-size: 14px;line-height: 140%;color: #ffffff;font-weight: 300;margin-bottom: 14px;}
.menu-popup .popup-wrap .links-list {display: flex;flex-direction: column;margin-bottom: 16px;}
.menu-popup .popup-wrap .links-list .list-item {display: flex;}
.menu-popup .popup-wrap .links-list .list-item:not(:last-child) {margin-bottom: 10px;}
.menu-popup .popup-wrap .links-list .list-item a {font-size: 14px;line-height: 140%;color: #ffffff;text-decoration: none;font-weight: 700;border: 1px solid #ffffff;border-radius: 10px;padding: 6px 10px;width: 100%;}
.menu-popup .popup-wrap .socials-wrap {display: flex;flex-direction: column;margin-bottom: 16px;}
.menu-popup .popup-wrap .socials-wrap .uppertitle {font-size: 12px;line-height: 140%;color: #ffffff;font-weight: 300;margin-bottom: 8px;}
.menu-popup .popup-wrap .socials-wrap .socials-list {display: flex;gap: 6px;flex-wrap: wrap;}
.menu-popup .popup-wrap .socials-wrap .socials-list a {width: 35px;height: 35px;display: flex;align-items: center;justify-content: center;font-size: 0px;background-image: url(resources/img/instagram.svg);background-position: center;background-repeat: no-repeat;background-size: 100% 100%;text-decoration: none;}
.menu-popup .popup-wrap .socials-wrap .socials-list a[href*="facebook.com"] {background-image: url(resources/img/facebook.svg);}
.menu-popup .popup-wrap .socials-wrap .socials-list a[href*="youtube.com"] {background-image: url(resources/img/youtube.svg);}
.menu-popup .popup-wrap a.logo {margin-top: auto;width: 180px;}


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

@media screen and (max-width: 500px) {
.task:has(.start-wrap) {margin-bottom: 80px;}
.start-wrap {position: fixed;left: 0px;bottom: 0px;width: 100%;padding: 15px 20px;background-color: #1D1D1D;box-shadow: 0px -10px 4px 0px #00000040;}
.start-wrap #start {margin: 0px;}
}

/* - !!!!!!!!!!!! - - - 320 px - - - !!!!!!!!!!!! - */
@media screen and (max-width: 320px) {
.quest-screen {padding: 22px 18px 0px 18px;}
#bossContainer {background: radial-gradient(50% 50% at 50% 50%, #6C4B3C 0%, #402719 100%);}
#gameFooter .copyright {font-size: 14px;}
.confirm-en {font-size: 12px;}
}

@media screen and (min-width: 320px) { 
#bossContainer {background: radial-gradient(50% 50% at 50% 50%, #6C4B3C 0%, #402719 100%);}
}

/* - !!!!!!!!!!!! - - - 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;}
#gameFooter .logo {gap: 15px;}
}

/* - !!!!!!!!!!!! - - - 410px - - - !!!!!!!!!!!! - */
@media screen and (min-width: 410px) {
.quest-screen {padding: 26px 26px 0px 26px;}
#gameFooter .logo {padding: 0 26px 0 26px;gap: 20px;}
#gameFooter .logo img.kyiv-img {width: 120px;}
#gameFooter .author {padding: 0 26px;}
#gameFooter .socials {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) {
.menu-popup {width: calc(100% + 1);max-width: 501px;}
.menu-popup .popup-wrap {padding: 30px 30px 40px;}
.menu-popup .popup-wrap > .popup-close {width: 20px;min-width: 20px;height: 20px;min-height: 20px;margin-bottom: 30px;}
.menu-popup .popup-wrap a.site-link {font-size: 28px;margin-bottom: 24px;width: 230px;}
.menu-popup .popup-wrap p {font-size: 20px;margin-bottom: 22px;}
.menu-popup .popup-wrap .links-list {margin-bottom: 24px;}
.menu-popup .popup-wrap .links-list .list-item:not(:last-child) {margin-bottom: 16px;}
.menu-popup .popup-wrap .links-list .list-item a {font-size: 20px;border: 2px solid #ffffff;padding: 8px 12px;}
.menu-popup .popup-wrap .socials-wrap {margin-bottom: 24px;}
.menu-popup .popup-wrap .socials-wrap .uppertitle {font-size: 16px;margin-bottom: 12px;}
.menu-popup .popup-wrap .socials-wrap .socials-list {gap: 10px;}
.menu-popup .popup-wrap .socials-wrap .socials-list a {width: 45px;height: 45px;}
.menu-popup .popup-wrap a.logo {width: 230px;}

#gameHeader {width: 501px;}
#gameHeader .main-header {padding: 15px 30px;}
#gameHeader .logo img {width: 120px;}
#gameHeader .main-header .left-logo a.menu-burger {width: 40px;min-width: 40px;height: 40px;}
#gameHeader .lang a {padding: 14px 12px;border-width: 2px;}
#questContainer {width: 500px;margin: 0 auto;background: none;padding-top: 1px;}
#progressBar {margin-top: 38px;}
#gameFooter .logo {padding: 0 46px 0 46px;}
#gameFooter .logo img {width: 160px;}
#gameFooter .author {padding: 0 46px;}
#gameFooter .socials {padding: 0 46px;}
.quest-screen {margin-top: 62px;}
#gameFooter .copyright {padding-left: 46px;padding-right: 46px;}
h1 {font-size: 50px;}
h2 {font-size: 44px;}
.quest-screen .task h3 {font-size: 38px;}
.quest-screen .task p {font-size: 20px;}
.quest-screen .description {font-size: 20px;}
.explanation h3 {font-size: 34px;}
.explanation p {font-size: 20px;}
#end .result p {font-size: 20px;}
#end .final-text {font-size: 20px;}
.quest-screen .bg.bg01 {width: 90px; top: 480px; right: 40px;}
.quest-screen .bg.bg02 {width: 252px; bottom: 80px; right: 40px;}
.quest-screen .bg.bg11 {width: 242px; top: 170px; right: 40px;}
.quest-screen .bg.bg12 {width: 386px; top: 0px; right: 40px;opacity: 0;}
.quest-screen .bg.bg21 {width: 180px; top: 20px; right: 0px;}
.quest-screen .bg.bg22 {width: 112px; top: 60px; right: 40px;opacity: 0;}
.quest-screen .bg.bg31 {width: 112px; top: 40px; right: 40px;}
.quest-screen .bg.bg32 {width: 112px; top: 40px; right: 40px;opacity: 0;}
.quest-screen .bg.bg41 {width: 175px; top: 70px; right: 40px;}
.quest-screen .bg.bg42 {width: 175px; top: 40px; right: 40px;opacity: 0;}
.quest-screen .bg.bg51 {width: 350px; top: 0px; right: 60px;}
.quest-screen .bg.bg52 {width: 216px; top: 0px; right: 40px;opacity: 0;}
.quest-screen .bg.bg61 {width: 180px; top: 0px; right: 60px;}
.quest-screen .bg.bg62 {width: 150px; top: 0px; right: 40px;opacity: 0;}
.quest-screen .bg.bg71 {width: 320px; top: 0px; right: 60px;}
.quest-screen .bg.bg72 {width: 180px; top: 0px; right: 40px;opacity: 0;}
.quest-screen .bg.bg81 {width: 400px; top: 180px; right: 50px;}
.quest-screen .bg.bg82 {width: 180px; top: 0px; right: 40px;opacity: 0;}
.quest-screen .bg.bg91 {width: 220px; top: 0px; right: 40px;}
.quest-screen .bg.bg92 {width: 240px; top: 0px; right: 10px;opacity: 0;}
.quest-screen .bg.bg101 {width: 160px; top: 0px; right: 40px;}
.quest-screen .bg.bg102 {width: 260px; top: 0px; right: 20px;opacity: 0;}
.quest-screen .bg.bg111 {width: 350px; top: 80px; right: 60px;transform: none;}
.quest-screen .bg.bg112 {width: 330px; top: 0px; right: 60px;transform: none; opacity: 0;}
#intro .task {padding: 40px 30px 50px;}
#intro .task span.uppertitle {font-size: 28px;margin-bottom: 23px;}
#intro .task h1 {font-size: 42px;margin-bottom: 23px;}
#intro .task p {margin-bottom: 22px;font-size: 16px;}
#intro .task p strong {font-size: 18px;}
#start {margin-top: 40px;}

.explanation .expanded-btn::after {width: 16px;min-width: 16px;height: 16px;}
}

/* - !!!!!!!!!!!! - - - 1010 px - - - !!!!!!!!!!!! - */
@media screen and (min-width: 1010px) {
#bossContainer {width: 500px; margin: 40px auto; background: transparent; box-shadow: 0 0 10px 0 #00000078; border-radius: 0px; overflow: clip; position: relative;}
#questContainer {background: radial-gradient(50% 50% at 50% 50%, #6C4B3C 0%, #402719 100%);}
#gameHeader .lang div {font-size: 16px;}
#gameFooter .logo {padding: 0 36px 0 36px;}
#gameFooter .author {padding: 0 0 0 36px;font-size: 30px;max-width: 70%;}
#gameFooter .socials {padding: 0 0 0 36px;}
#gameFooter .copyright {padding-left: 36px;padding-right: 36px;font-size: 18px;}
#start {height: 70px;font-size: 18px;font-weight: 700;}
#start:hover {cursor:pointer;border: 2px solid #fff;}
.quest-screen .img p {font-size: 16px;}
.answers-container div:hover {cursor: pointer;}
.next-mission {height: 70px;font-size: 18px;}
.next-mission:hover {cursor:pointer;border: 2px solid #fff;}
.quest-screen .view-btn {height: 70px;font-size: 18px;}
.quest-screen .view-btn span:hover {cursor:pointer;border: 2px solid #000;}
.answers-container div {min-height: 70px;font-size: 20px;}
#verify {height: 70px;font-size: 18px;}
#verify.selected:hover {cursor:pointer;border: 2px solid #fff;}
.answers-container div.disabled {pointer-events: none;}
#share {height: 70px;font-size: 18px;}
#share:hover {cursor:pointer;border: 2px solid #fff;}
#again {height: 70px;font-size: 18px;}
#again:hover {cursor:pointer;border: 2px solid #f3bc12;color: #f3bc12;}
.answers-container div .marker {width: 30px;height: 30px;margin-right: 14px;}
.answer {height: 70px;font-size: 18px;}
#end .stars img {width: 68px;}
.explanation .expanded-btn {font-size: 20px;}
}
