* {
	box-sizing: border-box;
}
body {
	margin: 0;
	padding: 0;
	background: #111;
	min-height: 100vh;
	color: #bbb;
	font: 20px Arvo, sans-serif;
	letter-spacing: 0.01em;
}
h1 {
	margin: 0;
}
h2 {
	font-weight: 800;
}
a {
	text-decoration: none;
	color: #ccc;
}
header {
	position: relative; /* allow for cogs */
	background: radial-gradient(at bottom, #fff6, #fff0 60%);
	text-align: center;
	animation: flicker 3s 0s infinite;
	padding: 8vw 0;
	overflow: hidden;
}
@keyframes flicker {
	0% { opacity: 1; }
	5% { opacity: 0.9; }
	10% { opacity: 1; }
	15% { opacity: 0.8; }
	20%,24% { opacity: 1; }
	25% { opacity: 0.8; }
	30%,40% { opacity: 1; }
	45% { opacity: 0.9; }
	50%,60% { opacity: 1; }
	65% { opacity: 0.9; }
	70%,80% { opacity: 1; }
	85% { opacity: 0.9; }
	90%,100% { opacity: 1; }
}
.cog {
	position: absolute;
	filter: drop-shadow(-4px -4px 8px #0006) blur(1px);
	z-index: -1;
}
#cog1 {
	width: 40vw;
	bottom: -24vw;
	left: 0;
}
#cog2 {
	width: 50vw;
	bottom: -28vw;
	right: -10vw;
	filter: drop-shadow(-4px -4px 8px #0006) blur(2px);
}
.cog img {
	height: 100%;
	animation: rotate 16s linear 0s infinite;
}
#cog2 img {
	animation-duration: 24s;
}
@keyframes rotate {
	from { transform: rotate(0deg); }
	to   { transform: rotate(360deg); }
}
header img {
	width: 100%;
	max-width: 800px;
}
#subheader {
	font-weight: bold;
	text-align: center;
}
#nav ul {
	list-style: none;
	padding: 0;
	margin: 0;
	text-align: center;
}
#nav li {
	display: inline-block;
}
main {
	background: radial-gradient(at top, #fff4, #fff0 30%);
}
main, footer {
	clear: both;
	padding: 1em;
}
h2, p {
	max-width: 1000px;
	margin: 1em auto;
}
footer {
	font-size: 0.6em;
}
#brand-container {
	text-align: center;
}
#brand-container a {
	display: inline-block;
	text-align: center;
	vertical-align: top;
	background: white;
	border-radius: 4px;
	height: 140px;
	width: 140px;
	margin: 2px;
}
#brand-container a img {
	max-width: 100%;
	max-height: 100%;
	object-fit: contain;
	transform: translatey(calc(70px - 50%));
}
#contactbuttonholder {
	position: relative;
}
#contactbuttonholder button {
	position: relative;
	top: 0;
	left: 0;
	background: #666;
	outline: none;
	transition: all 0.1s;
	font: inherit;
	color: inherit;
}
#contactbuttonholder button.moved {
	left: 100px;
	top: -100px;
}