* {
    box-sizing: border-box;
}
html,
body {
    width: 100%;
    height: 100%;
    overflow: hidden;
    padding: 0;
    margin: 0;
    position: relative;
}

#layout {
    position: fixed;
    top:0; left:0; right:0; bottom:0;
    display:grid;
    grid-template-columns: 1fr max-content 1fr;
    align-items: center;
}
#layout > div {
    overflow: hidden;
}
#left, #right {
    height: 100%;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
}
#left img, #right img {
    min-width: 100px;
    width: 620px;
    max-width: 100%;
    margin:2em 1em;
}
@media (max-aspect-ratio: 3/3) {
    #left img, #right img {
        display:none;
    }
}

#background {
    background-image: url(Background.png);
    background-position: center;
    background-size: cover;
    position: absolute;
    width: 100%;
    height: 100%;
}

div#gameContainer {
    box-shadow: 0 0 100px 0px #000000dd;
    background-image: url(../LoadingBackground.png);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    position: relative;
}

div#gameContainer canvas {
    position: absolute;
}

div#gameContainer canvas[data-pixel-art="true"] {
    position: absolute;
    image-rendering: optimizeSpeed;
    image-rendering: -webkit-crisp-edges;
    image-rendering: -moz-crisp-edges;
    image-rendering: -o-crisp-edges;
    image-rendering: crisp-edges;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: optimize-contrast;
    image-rendering: pixelated;
    -ms-interpolation-mode: nearest-neighbor;
}

div#roundProgressBar {
    position: absolute;
    top: 53%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 35%;
    height: 35%;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    /*animation: spin 3s linear infinite;*/
    background-image: url(../LoadingCircle.gif);
    /*top: 40%;*/
    z-index: 1;
}
