body {
	margin: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	height: 100vh;
}

canvas
{
	display: block;
	max-width: 100vw;
	max-height: 100vh;
}