* {
	box-sizing: border-box;
}
body {
	background-color: #1f1f1f;
	color: #f8f8f8;
	font-family: 'Open Sans', sans-serif;
	font-size: 0.9rem;
	padding: 0;
	max-width: 740px;
	margin: 0 auto;
	line-height: 2rem;
}

body #home {
	text-align: center;
}

header, footer {
	text-align: center;
}

a {
	color: #ff4f4f;
	background: #333;
	text-decoration: none;
	border-radius: 3px;;
}

a:hover {
	color: #333;
	background: #ff4f4f;
}

header a {
	margin: 0 1px;
	font-size: 1.2rem;
	width: calc(710px / 5);
	display: inline-block;
	padding: 10px 0;
}

header a.active, header a:focus, header a:hover {
	background-color: #ff4f4f;
	color: #fff;
}

h1 {
	color: #ff4f4f;
	margin: 2rem 0 0;
}

header h1 small {
	font-size: 1rem;
	color: #a0a0a0;
}

p {
	margin: 1rem 0;
}

p#tagline {
	margin-top: 0;
	font-size: 1rem;
	color: #a0a0a0;
}

nav {
	margin-bottom: 3rem;
	
}

label {
	display: block;
	margin: 0.5rem 0;
	color: #f8f8f8;
}

input, textarea {
	font-family: 'Open Sans', sans-serif;
	padding: 1rem;
	width: 60%;
	max-width: 500px;
	border: none;
	border-radius: 3px;
	font-size: 1rem;
}

#contactForm input,
#contactForm textarea {
	width: 100%;
	max-width: unset;
}

#contactForm input[type=checkbox] {
	width: auto;
	margin-right: 0.5rem;
}

#susForm {
	margin-bottom: 1rem;
}

textarea {
	height: 150px;
	resize: vertical;
}

button {
	padding: 1rem 2rem;
	margin-top: 1rem;
	background-color: #ff4f4f;
	border: none;
	color: white;
	border-radius: 3px;
	font-size: 1rem;
	cursor: pointer;
}

button:hover {
	background-color: #ff6666;
}

#result img {
	max-width: 100%;
	height: auto;
	display: block;
	margin: 0 auto;
}

footer {
	position: absolute;
	bottom: 10px;
	font-size: 1rem;
	color: #a0a0a0;
	width: 740px;
	text-align: center;
}


/* Meme stuff */
marquee, blink {
	display: inline-block;
	width: 100px;
	color: #eee;
	line-height: 1rem;
	text-align: center;
	font-family: 'Courier New', Courier, monospace;
}

/* mobile styles */
@media (max-width: 600px) {
	body {
		padding: 0 1rem;
	}
	
	header a {
		width: 100%;
		margin: 0.5rem 0;
	}
	
	input, textarea {
		width: 100%;
	}
	
	button {
		width: 100%;
	}
	
	marquee, blink {
		width: auto;
	}
	
	h1 {
		font-size: 1.5rem;
	}

	footer {
		position: relative;
		bottom: 0;
		width: 100%;
	}
}