#canvas { display: block; margin: 0 auto; width: 100%; max-width: 1000px; height: auto; touch-action: none; }