@font-face {
    font-family: jetpackia;
    src: url('font/Jetpackia.ttf');
}

html{
    height: 100%
}

body{
    background-color: #000000;
    margin: 0;

    height: 100%;
    /*max-height: 100vh !important;*/
    /*overflow: hidden;*/
    /*position: relative;*/
}

.fontLoader{
    position: absolute;
    left: -1000px;
    visibility: hidden;
}

.bannerAds{
    height: 100px !important;
    /*background-color: yellow;*/
    display: block;
    text-align: center;
    margin: 0 auto;
}

#phaser-canvas{
    margin: 0 auto;
    height: 100% !important;
    /*width: 100% !important;*/
    position:fixed;
    top:0;
    left:0;
    right:0;
    bottom:0;
    padding:0;
    margin:0;
    /* if you want the content to scroll normally: */
    overflow: auto;
}

body,#content{
    height: 100vh !important;
    /*max-height: 100vh !important;*/
}

html, body {
    height: 100%;
    width: 100%;
    height: 100vh;
    width: 100vw;
    margin:0;
    padding:0;
    /* required to prevent rogue scrollbars */
    overflow: hidden;
}

#divAds, #tempads{
    display: none;
    /*background-color: green;*/
}

canvas{
    width: 100%;
    height: 100%;
    display: block !important;
    margin: 0 auto !important;
    padding: 0 !important;
    max-width: 100% !important;
    /*max-height: 100vh !important;*/
}

@media screen and (min-width: 0px) and (max-width: 768px) {/*MOBILE*/
    canvas{        
        width: 100% !important;
        height: 100% !important;
        min-height: 80%; 
    }
    .adsbygoogle{
        width: 100% !important;    
    }
}

@media screen and (min-width: 1024px){/*DESKTOP*/
    canvas{
        width: auto;
        /*max-height: calc(100vh - 100px) !important;*/
        /*border: 6px solid red;*/
    }
}
@media (min-width: 600px) and (max-width: 1023px) and (orientation:landscape) {/*TABLET*/
    canvas{
        width: auto;
        /*max-height: calc(100vh - 100px) !important;*/
        /*border: 6px solid yellow;*/
    }
}

.center {
    display: none;
    width: 100%;
    object-fit: scale-down;
    left: 50%; 
    top: 50%;
    transform: translate(-50%, -50%); 
    position: absolute;
}

/*================ START ADS ===================*/
.softkey{
    position: absolute;
    bottom: 0px;
    width: 100%;
}
.softkey>div{
    padding: 5px;
    font-size: 17px;
    font-weight: 600;
    display: inline-block;
    color:#000000;
}
#softkey-left{
    text-align: left;
    float:left;
}
#softkey-right{
    text-align: right;
    float:right;   
}
.ads{
    position: absolute !important;
}
#bannerAds_container{
    top: 0;
    height: 40px;
    background-color:black;
    display: list-item;
}
#ad-container{
    height: 40px;
    background-color: black !important;
}
.bannerAds{
    height: 100px !important;
    display: block;
    text-align: center;
    margin: 0 auto;
}
#divAds, #tempads{
    display: none;
}
/*================ END ADS ===================*/