:root {
    --sat: env(safe-area-inset-top);
    --sar: env(safe-area-inset-right);
    --sab: env(safe-area-inset-bottom);
    --sal: env(safe-area-inset-left);
}

html {
    height: 100%;
    overscroll-behavior: none;
}

body {
    font-family: Arial, sans-serif;
    background-color: #391d60 !important;
    margin: 0;
    padding: 0;
    height: 100%;
    touch-action: pan-x pan-y;
    overscroll-behavior: none;
}

iframe {
    color-scheme: initial;
}

.huuuge-holder {
    width: 1136px;
    height: 640px;
    transform: translate(-50%, -50%);
    top: 50dvh;
    left: 50dvw;
    position: relative;
}

.huuuge-middle {
    position: relative;
    z-index: 80;
}

.loader-container {
    position: relative;
    margin-left: auto;
    margin-right: auto;
    height: 640px;
    width: 1136px;
}

.loader-container.has-shadow {
    /*box-shadow: 0 0 30px 10px rgba(0, 0, 0, 0.75);*/
}

#error-overlay {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    -webkit-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
    margin-left: auto;
    margin-right: auto;
    height: 640px;
    width: 1136px;
    background-image: url('./img/bg.jpg');
}

.noscript-error {
    position: absolute;
    top: 0;
    left: 0;
    margin-left: auto;
    margin-right: auto;
    height: 640px;
    width: 1136px;
    background-image: url('./img/bg.jpg');
    z-index: 1000;
}

#loading-overlay {
    position: absolute;
    top: 0;
    left: 0;
    margin-left: auto;
    margin-right: auto;
    height: 640px;
    width: 1136px;
    background-image: url('./img/welcome_bg.jpg');
    background-position-x: center;
    background-position-y: center;
    background-size: 100% 133%;
}

.game-frame-bg {
    position: relative;
    width: 1136px;
    height: 640px;
}

.game-frame-bg .tabs {
    position: absolute;
    left: -4px; /*shadow*/
    top: -37px;
    height: 37px;
}

.game-frame-bg .tabs > ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.clearfix:after {
    display: table;
    content: " ";
    clear: both;
}

.game-frame-bg .tabs li {
    display: block;
    float: left;
}

.game-frame-bg .tabs a,
.game-frame-bg .tabs a:before,
.game-frame-bg .tabs a:after {
    background-image: url('./img/sprite_tabs.png');
    background-repeat: no-repeat;
}

.game-frame-bg .tabs a {
    display: block;
    position: relative;
    text-decoration: none;
    padding: 0 5px;
    margin-left: 22px;
    margin-right: 21px;
    height: 37px;
    background-position: -1px -40px;
    background-repeat: repeat-x;
    line-height: 37px;
    vertical-align: middle;

    font-weight: 700;
    color: #717e8f;
    font-size: 20px;
    cursor: pointer;

}

.game-frame-bg .tabs a.active {
    cursor: default;
}

.game-frame-bg .tabs a:hover,
.game-frame-bg .tabs a.active {
    background-position: -1px -157px;
    color: #fff;
    text-shadow: 1px 1px 0 rgba(0, 0, 0, .75);
}

.game-frame-bg .tabs a:before,
.game-frame-bg .tabs a:after {
    content: '';
    display: block;
    position: absolute;
    top: 0;
}

.game-frame-bg .tabs a:before {
    width: 22px;
    height: 37px;
    background-position: -1px -1px;
    left: -22px;
}

.game-frame-bg .tabs a:after {
    width: 21px;
    height: 37px;
    background-position: -1px -79px;
    right: -21px;
}

.game-frame-bg .tabs a:hover:before,
.game-frame-bg .tabs a.active:before {
    background-position: -1px -118px;
}

.game-frame-bg .tabs a.active:after,
.game-frame-bg .tabs a:hover:after {
    background-position: -1px -196px;
}

/* the canvas *must not* have any border or padding, or mouse coords will be wrong */
canvas.emscripten {
    border: 0 none;
    background-color: #000;
    position: fixed;
}

.emscripten_container {
    width: 1136px;
    height: 640px;
    margin: 0 auto;
    position: relative;
    display: block;
    background-color: black;
}

.inputfield {
    position: absolute;
    left: 32px;
    top: 32px;
    width: 64px;
    height: 64px;
    border: none;
    display: block;
    margin: 0;
    padding: 0;
    visibility: hidden;
}

.hidden {
    display: none;
}

.support {
    background-image: url('./img/support.png');
    position: absolute;
    right: 10px;
    top: 10px;
    width: 259px;
    height: 57px;
    cursor: pointer;
}

.logo {
    background-image: url('./img/logo.png');
    position: absolute;
    left: 19px;
    top: 19px;
    width: 188px;
    height: 65px;
    background-repeat: no-repeat;
    background-size: contain;
}

#progress-bar-fill {
    background: url('./img/progress-bg-fill.png') top left no-repeat;
    position: absolute;
    left: 305px;
    bottom: 103px;
    width: 528px;
    height: 46px;
    z-index: 7;
}

#progress-bar {
    background: url('./img/progress-bg.png') top left no-repeat;
    position: absolute;
    left: 305px;
    bottom: 103px;
    width: 528px;
    height: 46px;
    z-index: 9;
}

#current-progress-container {
    position: absolute;
    left: 312px;
    bottom: 113px;
    height: 30px;
    width: 25px;
    z-index: 8;
}


@-webkit-keyframes stripe-progress {
    from { background-position: 0 top; }
    to { background-position: -56px top; }
}
@keyframes stripe-progress {
    from { background-position: 0 top; }
    to { background-position: -56px top; }
}

#current-progress {
    background-image: url('./img/progress-stripes.png');
    background-position: left top;
    height: 100%;
    width: 100%;
    border-radius: 14px;

    -webkit-animation: stripe-progress 1s linear infinite;
    -moz-animation: stripe-progress 1s linear infinite;
    -ms-animation: stripe-progress 1s linear infinite;
    -o-animation: stripe-progress 1s linear infinite;
    animation: stripe-progress 1s linear infinite;
}

@-webkit-keyframes coin-rotating /* Safari and Chrome */ {
    from {
        -webkit-transform: rotate(0deg);
        -o-transform: rotate(0deg);
        transform: rotate(0deg);
    }
    to {
        -webkit-transform: rotate(360deg);
        -o-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}
@keyframes coin-rotating {
    from {
        -ms-transform: rotate(0deg);
        -moz-transform: rotate(0deg);
        -webkit-transform: rotate(0deg);
        -o-transform: rotate(0deg);
        transform: rotate(0deg);
    }
    to {
        -ms-transform: rotate(360deg);
        -moz-transform: rotate(360deg);
        -webkit-transform: rotate(360deg);
        -o-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

#current-progress-coin {
    position: absolute;
    left: 0;
    top: -5px;
}

#current-progress-coin-img {
    background-image: url('./img/loading-coin.png');
    background-repeat: no-repeat;
    background-size: contain;
    transform-origin: 24px 24px;
    -webkit-transform-origin: 24px 24px;
    position: absolute;
    left: 0;
    top: 0px;
    height: 48px;
    width: 48px;

    -webkit-animation: coin-rotating 1s linear infinite;
    -moz-animation: coin-rotating 1s linear infinite;
    -ms-animation: coin-rotating 1s linear infinite;
    -o-animation: coin-rotating 1s linear infinite;
    animation: coin-rotating 1s linear infinite;
}

#current-progress-coin-top {
    background-image: url('./img/loading-coin-top.png');
    background-repeat: no-repeat;
    background-size: contain;
    position: absolute;
    left: -7px;
    top: -8px;
    height: 63px;
    width: 63px;
}

#opinion {
    position: absolute;
    left: 155px;
    bottom: 28px;
    width: 675px;
    height: 100px;
    font-size: 30px;
    color: #fff;
    text-shadow: 0 1px 1.66px rgba(0, 0, 0, 0.75);
}

#sad-emot {
    background-image: url('./img/emot_02.png');
    position: absolute;
    left: 371px;
    bottom: 200px;
    width: 394px;
    height: 335px;
}

.error {
    position: relative;
    width: 750px;
    margin-left: 25px;
    font-size: 30px;
    line-height: 32px;
    color: #fff;
    text-align: center;
    text-shadow: 0 1px 1.66px rgba(0, 0, 0, 0.75);
    top: 50%;

    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
}

#error-belt {
    background-image: url('./img/belt.png');
    position: absolute;
    left: 168px;
    bottom: 80px;
    width: 800px;
    height: 84px;
}

#contact-frame {
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    z-index: 100;
    position: absolute;
    top: 0;
    border: 0 solid black;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

.tabs {
    display: none;
}

.huuuge-fb-like,
.fb_iframe_widget.huuuge-fb-like {
    display: block;
    /*margin-bottom: 10px;*/
    min-height: 20px;
}

.mobile .game-frame-bg, .mobile #error-overlay, .mobile #loading-overlay, .mobile #contact-frame {
    display: none;
}

.mobile .huuuge-holder {
    min-width: 0;
    transform: none !important;
}

.mobile .loader-container {
    width: 100%;
}

.support-dialog .modal-fullscreen {
    width: 100% !important;
    height: 100% !important;
    margin: 0 0 0 0 !important;
    overflow-y: hidden;
}

.support-dialog .modal-fullscreen .modal-content {
    border-radius: 0% !important;
    height: 100% !important;
}

.support-dialog .modal-fullscreen .modal-body {
    height: 100% !important;
}

.support-dialog .modal-fullscreen .content-body {
    height: 100% !important;
    padding-bottom: 55px;
}

#ie-error-overlay {
    margin: auto;
    padding: 30px 30px 0 30px;
    max-width: 1136px;
    background-image: url("img/fbc-ie.png");
    text-align: center;
}

#ie-error-overlay h1, #ie-error-overlay h2 {
    font-weight: bold;
    text-transform: uppercase;
    margin-bottom: 0px;
}

#ie-error-overlay h1 {
    margin-top: 0px;
    font-size: 70px;
}

#ie-error-overlay h2 {
    margin-top: -5px;
    font-size: 43px;
}

#ie-error-overlay hr {
    margin-top: 30px;
    max-width: 274px;
    border: 1px solid #fff;
}

#ie-error-overlay .violet-highlight {
    text-shadow: 0 0 17px #D725DD, 0 0 23px #D725DD, 0 0 30px #D725DD;
}

#ie-error-overlay p {
    font-size: 28px;
    line-height: 36px;
    padding-top: 7px;
    font-weight: 600;
}

#ie-error-overlay .browser-container {
    padding: 0 230px;
    margin-top: 28px;
    margin-bottom: 90px;
}

#ie-error-overlay .browser {
    width: 200px;
    text-align:center;
    height: 200px;
    float: right;
    margin: auto;
    position:relative;
    right: -7px;
}

#ie-error-overlay .browser:first-child {
    margin-right: 150px;
    float:left;
    right: 0;
}

#ie-error-overlay .chrome-icon {
    width:200px;
    height:200px;
    background: url("img/chrome.png");
}

#ie-error-overlay .chrome-icon:hover {
    background: url("img/chrome-hover.png");
}

#ie-error-overlay .firefox-icon {
    width:200px;
    height:200px;
    background: url("img/firefox.png");
}

#ie-error-overlay .tm-copyrights {
    font-size: 11px;
    font-family: 'franklin', arial, sans-serif;
    padding: 10px 0 9px 0;
}

#ie-error-overlay .firefox-icon:hover {
    background: url("img/firefox-hover.png");
}

.purchase-dialog-body {
    touch-action: pan-x pan-y;
}

.cookies-banner {
    display: none;
    padding: 15px 0;
    height: max-content;
    max-width: 100%;
    width: 100%;
    font-family: Roboto, sans-serif;
    font-weight: 400;
    color: #797979;
    background: #f1f1f1;
    position: fixed;
    bottom: 0;
    z-index: 10000;
}

@media screen and (max-width: 576px) {
    .cookies-banner {
        font-size: 12px;
        line-height: 16px;
    }
}

@media screen and (min-width: 577px) {
    .cookies-banner {
        font-size: 12px;
        line-height: 24px;
    }
}

@media screen and (min-width: 1025px) {
    .cookies-banner {
        font-size: 14px;
        line-height: 24px;
    }
}

@media screen and (min-width: 1400px) {
    .cookies-banner {
        font-size: 20px;
        line-height: 32px;
    }
}

@media screen and (max-width: 576px) {
    .cookies-banner-text {
        padding-left: 25px;
        padding-right: 25px;
    }
}

@media screen and (min-width: 577px) {
    .cookies-banner-text {
        padding-left: 35px;
        padding-right: 35px;
        line-height: 24px;
    }
}

@media screen and (min-width: 1025px) {
    .cookies-banner-text {
        padding-left: 40px;
        padding-right: 40px;
    }
}

.cookies-banner-text a {
    color: #000;
}

.cookies-banner-buttons {
    display: flex;
    width: 100%;
    margin-top: 15px;
    justify-content: flex-end;
}

@media screen and (max-width: 576px) {
    .cookies-banner-buttons :last-child {
        margin-right: 25px;
    }
}

@media screen and (min-width: 577px) {
    .cookies-banner-buttons :last-child {
        margin-right: 35px;
    }
}

@media screen and (min-width: 1025px) {
    .cookies-banner-buttons :last-child {
        margin-right: 40px;
    }
}

.cookies-banner-buttons-button {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    position: relative;
    transition: all 0.35s ease-out;
    border: 3px solid #000;
    color: #000;
    cursor: pointer;
    background: transparent;
    text-decoration: none;
    outline: 0;
    z-index: 1;
    font-size: 14px;
    font-weight: 700;
    font-family: Roboto Condensed, sans-serif;
    padding: 0 25px;
    white-space: nowrap;
    background: linear-gradient(to left, #fff 50%, #e40521 50%);
    background-size: 200% 100%;
    background-position: right bottom;
    max-height: 10vh;
    margin-left: 25px;
}

.cookies-banner-buttons-button:hover {
    color: #fff;
    border-color: #e40521;
    background-position: left bottom;
}

@media screen and (max-width: 576px) {
    .cookies-banner-buttons-button {
        min-width: 160px;
        height: 56px;
    }
}

@media screen and (min-width: 577px) {
    .cookies-banner-buttons-button {
        min-width: 200px;
        height: 72px;
    }
}

@media screen and (min-width: 1025px) {
    .cookies-banner-buttons-button {
        min-width: 170px;
        height: 52px;
    }
}