body {
	background-color: #121212;
	font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.flex {
	display: flex;
}
.row {
	flex-direction: row;
}
.column {
	flex-direction: column;
}
.between {
	justify-content: space-between;
}

header {
	padding: 0.5rem 0 1rem 0.25rem;
}

header span.title {
	color: white;
	font-size: 2.5rem;
	font-family: Haettenschweiler, 'Arial Narrow Bold', sans-serif;
	font-weight: bold;
}
header a {
	display: block;
	text-decoration: none;
	padding: 0.5rem;
	background-color: seagreen;
	color: white;
	border-radius: 8px;
}

#container {
	width: 100%;
	display: grid; 
	grid-template-columns: 20% 50% 30%;
	align-items: center;
}

#left {
	height: 100%;
	justify-self: start;
}

#middle {
	height: 100%;
	justify-self: center;
}

#right {
	height: 100%;
}

#palettes {
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
}

.swatch {
	display: block;
	width: 32px;
	height: 32px;
	cursor: pointer;
	border: solid 1px #121212;
}

.swatch.selected {
	border: solid 1px greenyellow;
}

#currentHEX {
	color: white;
	display: block;
	padding: 0.5rem;
}

.gConsole {
	width: 32px;
	height: 32px;
}

.canvasPaper {
	display: block;
	position: relative;
	width: 512px;
	height: 512px;
	margin: 0 auto;
}

.canvasCell {
	display: block;
	position: absolute;
	width: 14px;
	height: 14px;
	border: solid 1px #343434;
	cursor: pointer;
}

#canvasContainer {
	display: flex;
	flex-direction: column;
}

canvas {
	display: block;
	border: solid 1px #333333;
	image-rendering: pixelated;
	image-rendering: crisp-edges;	
	margin: 8px auto;
}

canvas.size1 {
	width: 32px;
	height: 32px;
}

canvas.size2 {
	width: 64px;
	height: 64px;
}

canvas.size3 {
	width: 128px;
	height: 128px;
}

div.inputGroup {
	display: flex;
	flex-direction: row;
}

div.inputGroup label,
div.inputGroup input[type="color"] {
	display: inline-block;
	border: none;
}
div.inputGroup label {
	padding: 0.5rem;
	color: white;
}
div.inputGroup input[type="color"] {
	cursor: pointer;
}

.panel {
	padding: 1rem;
	background-color: #232323;
	margin: 2px;
}

#reference img {
	width: 100%;
	height: auto;
}

.button {
	text-decoration: none;
	background-color: green;
	color: white;
	text-align: center;
	border: none;
	border-radius: 8px;
	padding: 0.5rem;
	display: inline-block;
	margin: 2px;
	cursor: pointer;
}

.button.on {
	background-color: lightgreen;
	color: black;
}
.button.off {
	background-color: red;
}

.action {
	text-decoration: none;
	background-color: darkgoldenrod;
	color: black;
	text-align: center;
	border: none;
	padding: 0.5rem;
	display: inline-block;
	margin: 2px;
}

.action.on {
	background-color: yellow;
	color: black;
}
.action.off {
	background-color: darkgoldenrod;
}