html, body {
    width: 100%;
    height: 100%;
    margin: 0px;
    padding: 0px;
    display: flex;
    justify-content: center;
    align-items: center;
}

html {
	flex-direction: column;
}

body {
    flex-direction: row;
    overflow: hidden;
    touch-action: none;
    background: #000000;
}

canvas {
	margin: auto;
	display: block;
    aspect-ratio: 1 / 1;
	max-width: 80vmin;
	max-height: 80vmin;
    -ms-interpolation-mode: nearest-neighbor;
    image-rendering: -moz-crisp-edges;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: pixelated;
}

* {
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    -moz-osx-font-smoothing: grayscale;
    -webkit-font-smoothing: antialiased;
    -webkit-tap-highlight-color: transparent;
    -webkit-touch-callout: none;
}

#overlay {
	display: flex;
	font-family: monospace;
	font-size: 2em;
	align-items: center;
	justify-content: center;
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	padding: 15vmin;
}

#overlay p {
	max-width: 800px;
}

.no-cursor {
	cursor: none;
}

.cover {
    width: 100vw !important;
    height: 100vh !important;
    max-width: 100vw;
    max-height: 100vh;
    object-fit: cover;
}
