html {
	margin: 0;
	padding: 0;
	background: #222; 
}
body {
	margin: 0 auto;
	padding: 0;
	width: 100%;
	height: 100%;
	font-family: 'Open Sans', sans-serif;
}
h1 {
	font: 48px bold normal 'Finger Paint', sans-serif;
	color: #fff;
}
canvas#display {
	background-color: #f6f6f6;
	position: fixed;
	z-index: 1;
}
.content {
	z-index: 20;
	position: absolute;
	width: 100%;
	max-width: 660px;
	color: #fff;
	text-shadow: 2px 1px 1px #000;
	text-align: center;
	padding: 20px 30px;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
	height: 600px;
	top: 50%;
	left: 50%;
	margin-top: -300px;
	margin-left: -300px;
}
.content.taller {
	height: auto;
	top: 0;
	margin-top: 0;
}
.content a {
	text-decoration: none;
	color: #aaf;
}
.content a:hover {
	color: #faa;
}

::selection { background-color: #222; color: #fff; }
::-moz-selection { background-color: #222; color: #fff; }
input {
	border: 1px solid transparent;
	color: #555;
	background-color: #fff;
	font-size: 16px;
	padding: 4px 6px;
}
input:focus {
	border: 1px solid #555;
	outline: none;
}
input[type="number"] {
	max-width: 50px;
	margin: 0 8px;
}
.button,
button,
input[type="submit"] {
	background-color: #ddd;
	padding: 8px 12px;
	border-radius: 3px;
	border: 2px solid #ccc;
	border-top-color: transparent;
	border-left-color: transparent;
	box-shadow: 2px 2px 3px #000;
	font-weight: bold;
	cursor: pointer;
}
.primary-button {
	background: #800;
	border-color: #922;
	color: #222;
	font-size: 2em;
	margin: .5em 0;
	font-family: "Finger Paint", sans-serif;
}
.button:hover,
button:hover,
input[type="submit"]:hover {
	background-color: #ccc;
}
.primary-button:hover {
	background-color: #a00;
	text-shadow: 1px 1px 1px rgba(255,255,255,.8);
}
.button:active,
.button:focus,
button:active,
button:focus,
input[type="submit"]:active,
input[type="submit"]:focus {
	-webkit-transform: scale(.95);
	-ms-transform: perspective(500px) rotateY(20deg) scale(.95);
	transform: perspective(500px) rotateY(20deg) scale(.95);
}

a, img, .button, input, button {
	transition: .18s all cubic-bezier(.8,.1,.1,.5);
}

.wp2013 input[type=text] {
	max-width: 80px;
}

@media only screen and (max-width: 660px) {
	.content {
		margin-left: 0;
		left: 0;
	}
}
@media only screen and (max-height: 600px) {
	.content {
		margin-top: 0;
		top: 0;
	}
}