* {
	padding: 0;
	margin: 0;
}

body {
	overflow: hidden;
	overscroll-behavior: none;
	background: black;
}
main {
	height: 100vh;
	background: black;
}

#fullscreen {
	opacity: 0;
	position: fixed;
	right: 0;
	top: 0;
	width: 2em;
	height: 2em;
	background: none;
	border: 1px solid;
	cursor: pointer;
	margin: 2em;
	transition: background 0.2s ease;

	&:hover {
		background: currentColor;
	}
}

:fullscreen #fullscreen {
	display: none;
}

canvas {
	image-rendering: pixelated;
	cursor: grab;
}
.fixed-size canvas {
	aspect-ratio: 1 / 1;
	width: auto !important;
	height: auto !important;
	max-width: 100%;
	max-height: 100vh;
	margin: 0 auto;
	display: block;
}
.fixed-size main {
	display: flex;
	align-items: center;
	justify-content: center;
}
.move canvas {
	cursor: grabbing;
}

body.active #fullscreen {
	opacity: 1;
}


