/* @import must be at top of file, otherwise CSS will not work */
@import url("https://cdn.fonts.net/t/1.css?apiType=css&projectid=e2a54f70-f6b9-11ec-a01a-02d848b7f97a");

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

@font-face {
    font-family: 'Rodger-Black-Cyrillic';
    src: url('./fonts/rodger-black-cyrillic.eot');
    src: url('./fonts/rodger-black-cyrillic.eot?#iefix') format('embedded-opentype'),
    url('./fonts/rodger-black-cyrillic.woff2') format('woff2'),
    url('./fonts/rodger-black-cyrillic.woff') format('woff'),
    url('./fonts/rodger-black-cyrillic.ttf') format('truetype'),
    url('./fonts/rodger-black-cyrillic.svg') format('svg');
    font-weight: normal;
    font-style: normal;
}

* { padding: 0; border: 0; margin: 0; box-sizing: border-box; }

html { 
    padding: 0;
    margin: 0;
    border: 0;
}

body {
    line-height: 1;
    height: 100%;
    font-size: initial;
    max-height: 150% !important;
    padding: 0;
    margin: 0;
    border: 0;
    vertical-align: baseline;
}

#debug-box { position: absolute; top: 30px; left: 30px; max-width: 40%; padding: 10px; z-index: 10000; background: #fff200; color: #000; }

.game-wrapper__iframebox_flex {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    width: 100%;
    align-items: center;
    -webkit-flex-direction: column;
    -ms-flex-direction: column;
    flex-direction: column;
    height: 100%;
    margin: 0;
    max-width: 100%;
    padding: 0;
    position: relative;
}

.game-wrapper__iframebox {
    display: flex;
    width: 100%;
    height: 100%;
    max-width: 100%!important;
    justify-content: center;
}

.game-wrapper__iframe {
    width: 100%;
    height: 100%;
    min-height: 100%;
    min-width: 100%;
    position: absolute; 
    bottom: 0;
    border: 0;
    outline: 0;
}

#game-outer-flex {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    height: 100vh;
    -webkit-flex-direction: column;
    -ms-flex-direction: column;
    flex-direction: column;
}

#game-flex {
    -webkit-flex: 1 0 auto;
    -ms-flex: 1 0 auto;
    flex: 1 0 auto;
}

#game-outer-wrapper {
    height: -webkit-fill-available;
}

#game-wrapper {
    width: 100%;
    height: 100%;
    position: fixed;
}

#game-holder {
    position: fixed;
    width: 100%;
    height: 100%;
    max-height: -webkit-fill-available;
}

#orientation-warning {
    height: 100%;
    width: 100%;
    display: none;
    overflow: hidden;
    background-color: black;
    position: fixed;
    inset: 0px;
    margin: auto;
    z-index: 2;
    background-image:url('rotate_device.jpg');
    background-position: center center;
    background-size: cover;
}