* { 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;
}