@import url("https://fonts.googleapis.com/css2?family=IBM+Plex+Mono:wght@400;700&display=swap");

body {
	margin: 0;
	font-family: "IBM Plex Mono", monospace;

	height: 100vh;
	width: 100vw;

	display: grid;
	grid-template-columns: 40ch 1fr;
	height: 100%;
}

.sidebar {
	color: white;
	background-color: black;
	padding: 0 0.7em;
	height: 100vh;
	text-align: center;
	overflow-y: auto;
}

h1 {
	font-size: 1.5rem;
	margin: 0.5em 0;
}

.settings {
	margin: 1em 0;
}

#canvas-container {
	height: 100vh;
	width: 100%;
	overflow: auto;
}

#canvas {
	width: 100%;
	min-height: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
}

#canvas > * {
	padding: 1em;
}

#canvas #placeholder {
	height: 2em;
	text-align: center;
}

canvas {
	image-rendering: pixelated;
}

footer {
	font-size: 0.7em;
	color: grey;
}
