html, body { padding: 0px; margin: 0px; } canvas { display: block; } h1 { margin: 1em; } .footer { color: brown; position: absolute; margin-top: 820px; margin-left: 1em; font-size: 25px; }