@font-face {
    font-family: 'regularFont';
    src: url('../fonts/regularFont.woff2') format('woff2'),
         url('../fonts/regularFont.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'boldFont';
    src: url('../fonts/boldFont.woff2') format('woff2'),
         url('../fonts/boldFont.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'lightFont';
    src: url('../fonts/lightFont.woff2') format('woff2'),
         url('../fonts/lightFont.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

html, body {
    min-height: 100%;
}

body{
    margin: 0px;
    padding: 0px !important;
    /*font-family: 'lightFont';*/
    background:  #711919;
}
body.isMobile,
body.isDesktop {
    /*background: url('../img/game-background.png') center center no-repeat;*/
}
body.isMobile.landscape {
    background-size: cover;
}
body.isMobile.portrait{
    /*background-size: cover;*/
    background: url('../img/landscape.png') center center no-repeat #711919;
}

.btm-footer {
    display: none;
}

.boldFont-test {
    margin: 0px;
    visibility: hidden;
    font-family: 'boldFont';

    position: absolute;
    left: 0px;
    top: 0px;
    z-index: -9999;
}

.body#mouse-run {
    flex: 0 1 auto;
}

.game-wrapper {
    /*background: url('../img/game-background.png') center center no-repeat;*/
}

.mute-btn-wrapper {
    position: absolute;
    left: 10px;
    top: 10px;
    z-index: 9999;
}

a.mute-btn {
    display: block;
    width: 60px;
    height: 60px;
    background: url('../img/btn-mute.png') left top no-repeat;
    background-size: cover;
    text-indent: -9999px;
    transition: none;
}

a.mute-btn.mute {
    background-position: left bottom; 
}

.countdown {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    pointer-events: none;
    /*background: rgba(0,0,0,0.5);*/
    
    position: absolute;
    left: 0px;
    top: 0px;
    z-index: 999;
}
.countdown {
    width: 100vw;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0,0,0,0.4);
}
body.swal2-shown .countdown {
    background: none;
}

.countdown h1 {
    margin: 0px;
    text-align: center;
    color: white;
    font-size: 200px;
    font-family: boldFont;
    font-weight: normal;
    width: 100%;
    position: relative;
}

.countdown .level {
    color: white;
    font-size: 20px;

    position: absolute;
    top: -50px;
    left: 50%;

    -webkit-transform: translate(-50%, 0);
    -moz-transform: translate(-50%, 0);
    -ms-transform: translate(-50%, 0);
    -o-transform: translate(-50%, 0);
    transform: translate(-50%, 0);
}

.countdown h1 .coin-notifier-text {
    font-size: 80px;
    line-height: 100px;
}

.countdown.disable {
    display: none;
}

#gameDiv {
    font-family: 'regularFont';
    position: relative;
}

.isDesktop .game-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
}

.swal2-header h2.swal2-title {
    font-family: 'boldFont';
    font-size: 50px;
    margin: 0px 0px 8px;
    color: #04030d;
}

.swal2-content {
    font-family: "FS Albert Pro", sans-serif;
    font-size: 18px;
    color: #04030d;
}

.swal2-content a {
    display: inline-block;
    margin: 0px 10px;
    padding: 6px 20px;
    line-height: 1;
    font-family: boldFont;
    font-size: 20px;
    text-decoration: none;
    color: white;
    background: #CD2314;
    border: #841712 solid 4px;
    outline: none !important;
    
    -webkit-border-radius: 20px;
    -moz-border-radius: 20px;
    -ms-border-radius: 20px;
    -o-border-radius: 20px;
    border-radius: 20px;
}
.swal2-content a:hover,
.swal2-content a:focus,
.swal2-content a:active,
.swal2-content a:hover:not(.btn), 
.swal2-content a:focus:not(.btn),
.developer .level-wrapper a:hover,
.developer .level-wrapper a:focus,
.developer .level-wrapper a:active {
    color: white;
}
.swal2-content a:hover,
.swal2-content a:active,
.swal2-content a:hover:not(.btn){    
    -webkit-transform: scale(1.05);
    -moz-transform: scale(1.05);
    -ms-transform: scale(1.05);
    -o-transform: scale(1.05);
    transform: scale(1.05);
}

.swal2-content a.correct {
    background: #4CAF50;
    border-color: #247a28;
}

.custom-popup-theme .swal2-close {
    display: block;/*
    text-indent: -9999px;
    width: 80px;
    height: 80px;
    background: url(../img/btn-close.png) left top no-repeat;*/
    outline: none !important;

    right: -25px;
    top: 30px;
}

.custom-popup-theme .text-content,
.custom-popup-theme .text-content p {
    margin-bottom: 1rem;
}

.gameover-popup .swal2-content span,
.earn-additional-life-popup .swal2-content span {
    font-family: boldFont;
    /* font-size: 1.3em; */
    color: #cd2314;
}

.gameover-popup .swal2-content .answer {
    padding-top: 20px;
}
/*
.swal2-actions button {
    width: 150px;
    height: 60px;
    text-indent: -9999px;
    border: none;
    margin: 0px 20px;
    cursor: pointer;
    outline: none !important;
}
button.swal2-confirm {
    background: url(../img/btn-yes.png) left top no-repeat;
}
button.swal2-cancel {
    background: url(../img/btn-no.png) left top no-repeat;
}*/


.swal2-close.disable {
    pointer-events: none;
}

/* ---------- DEVELOPER HACKS ---------- */

.developer {
    background: white;
    padding: 15px;

    position: absolute;
    right: -160px;
    top: 50%;
    z-index: 9999;

    -webkit-border-radius: 15px;
    -moz-border-radius: 15px;
    -ms-border-radius: 15px;
    -o-border-radius: 15px;
    border-radius: 15px;
}/*
.developer {
    display: none;
}*/

.isDesktop .developer{
    right: auto;
    left: 10px;
}

.developer .level-wrapper {
    padding-top: 10px;
}

.developer .level-wrapper a {
    display: inline-block;
    padding: 10px;
    margin: 0px 5px;
    background: #cd2314;
    color: white;

    -webkit-border-radius: 8px;
    -moz-border-radius: 8px;
    -ms-border-radius: 8px;
    -o-border-radius: 8px;
    border-radius: 8px;
}

.isMobile .developer {
    /*right: -30px;*/
    right: auto;
    left: 60px;
    top: -15px;
    
    -webkit-transform: scale(0.5);
    -moz-transform: scale(0.5);
    -ms-transform: scale(0.5);
    -o-transform: scale(0.5);
    transform: scale(0.5);
}

/* ---------- ORIENTATION ---------- */
.game-wrapper,
.swal2-container {
    display: none;
}
.isDesktop .game-wrapper,
.isDesktop .swal2-container {
    display: flex;
}

.isMobile.landscape .game-wrapper{
    display: block;
}
.isMobile.landscape .swal2-container{
    display: flex;
    max-width: 100vw;
    max-height: 100vh;
    padding: 0px;
}
.isMobile.is_iOS.landscape .swal2-container,
.isMobile.is_iOS.landscape .game-wrapper #gameDiv {
    max-height: -webkit-fill-available;
}

.isMobile #gameDiv canvas {
    display: block;
    margin: 0px auto;
    /* flex-direction: column; */
    /* justify-content: center; */
}

.isMobile.landscape {
    display: flex;
    justify-content: center;
    align-items: center;
}

@media (max-width: 1024px){
    .isMobile.landscape {
        display: block;
    }

    .isMobile.landscape .game-wrapper #gameDiv{
        display: flex;
        justify-content: center;
        align-items: center;
    }
}

@media (max-width: 1023px){
    .isMobile.landscape .game-wrapper #gameDiv {
        display: block;
    }

    .isMobile .countdown .level {
        top: 0px;
    }

    .isMobile a.mute-btn {
        width: 40px;
        height: 40px;
        outline: none !important;
    }

    .isMobile .container {
        max-width: unset;
    }

    .isMobile #content {
        padding: 0px;
    }

    .isMobile .countdown {
        height: 100vh;
    }
    .isMobile.is_iOS .countdown {
        height: -webkit-fill-available;
    }
}