* {
	box-sizing: border-box;
}

html,
body {
	margin: 0;
	padding: 0;
	font-family: 'Segoe UI', 'Myriad Pro', Helvetica, sans-serif;
	font-size: 16px;
	background: #e2e5e9;
	color: #333;
}

a,
a:visited {
	color: inherit;
	text-decoration: none;
}

a:hover {
	text-decoration: underline;
}

body {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	align-items: stretch;
	min-height: 100vh;
}

form {
	height: 60px;
	background: #556270;
	color: #eee;
	font-size: 28px;
	padding: 0 20px;
	display: flex;
	flex-wrap: nowrap;
	justify-content: center;
	vertical-align: center;
	line-height: 60px;
	border-bottom: 4px solid #3C4957;
}

/* Kill Chrome's blue outline */
input[type="text"],
input[type="submit"] {
	border: 0;
	outline: 0;
}

input[type="text"] {
	padding: 0;
	width: 80px;
	text-align: center;
	background: inherit;
	color: #c7f464;
	margin: 0;
	font-size: inherit;
}

intput[type="text"]::-webkit-inner-spin-button,
intput[type="text"]::-webkit-outer-spin-button {
	-webkit-appearance: none;
	margin: 0;
}

#generate {
	border: 0;
	background: #c7f464;
	width: 80px;
	color: #556270;
	font-size: inherit;
	margin: 0;
	cursor: pointer;
	height: 60px;
	transition: 0.1s background;
	border-bottom: 4px solid #AEDB4B;
}

#generate:hover {
	background: #B5E252;
}

#generate:active {
	background: #94C131;
}

#main {
	flex-grow: 1;
	overflow-x: auto;
	width: 100%;
	display: flex;
	justify-content: center;
}

#canvas {
	margin: 30px;
}

footer {
	display: flex;
	justify-content: center;
	font-size: 15px;
	background: #556270;
	color: #eee;
	line-height: 18px;
	border-top: 4px solid #3C4957;
}

footer p {
	margin-left: 4px;
	margin-right: 4px;
}

footer img {
	height: 18px;
	width: 18px;
	margin: -4px 4px 0 2px;
	vertical-align: middle;
}
