#gameArea {
    position: absolute;
    left:     50%;
    top:      50%;
    
    max-height: 768px;
    max-width: 1024px;
}
body {

    overflow: hidden;
    background-color: black;
}
#canvas {
    background-color: #000;
    -ms-touch-action: none; /* Disable touch behaviors, like pan and zoom */
    width: 100%;
    height: 100%;
    max-height: 768px;
    max-width: 1024px;
}