@import url("https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.7.1/css/all.min.css");
@import url("https://fonts.googleapis.com/css?family=Protest+Guerrilla:400|Open+Sans");

/* GLOBAL */

body {
	margin: 0;
	background-color: #e5e5e5;
	font-family: 'Open Sans', sans-serif;
	font-size: 16px;
	line-height: 2em;
}

p {
	line-height: 1.5em;
}

small {
	color: #333;
	font-size: .9em;
	line-height: 1em !important;
}

small em {
	font-style: normal;
	font-weight: bold;
	color: #ff4488;
}

img {
	max-width: 100%;
}

header,
footer,
main {
	margin: 0 auto;
	padding: 1rem;
}

header,
footer,
main {
	margin: 0 auto;
	max-width: 100%;
	width: 1400px;
}

/* HEADER */

header {
	position: relative;
}

#branding {
	display: inline-block;
}

#branding h1 {
	background: #ff4488;
	color: #fff !important;
	font-family: 'Protest Guerrilla', serif;
	font-weight: 300;
	padding: 0.25em 0.5em;
	font-size: 2em;
	letter-spacing: 0.05em;
	display: inline-block;
	vertical-align: middle;
}

#branding h1 a {
	color: inherit !important;
	text-decoration: none;
}

#branding h2 {
	display: inline;
	color: #999;
	font-weight: 800;
	letter-spacing: 0.025em;
	font-size: 1em;
	vertical-align: middle;
	margin: 0 0 0 1em;
}

header nav {
	float: right;
	font-size: 1em;
}

header nav ul {
	list-style: none;
	padding-left: 0;
}

header nav ul li {
	float: left;
	line-height: 4.5em;
	padding-left: 1.5em;
}

header nav ul li a,
header nav ul li span {
	-moz-transition: background-color .25s ease-in-out;
	-webkit-transition: background-color .25s ease-in-out;
	-ms-transition: background-color .25s ease-in-out;
	transition: background-color .25s ease-in-out;
	font-weight: 800;
	letter-spacing: 0.025em;
	color: #666;
	text-decoration: none;
	padding: 0.5em 1em 0.5em 1em;
}

header nav ul li:hover a,
header nav ul li:hover span {
	background: #fff;
}

/* FOOTER */

/* MAIN CONTENT */

figure {
	left: 0;
	width: 100%;
	margin: 0;
	text-align: center;
	font-size: .8em;
	line-height: 1.75em;
	font-family: 'Courier New', Courier, monospace;
}

main>h1 {
	margin: .5em 0 0;
	font-family: 'Protest Guerrilla', serif;
	line-height: 1em;
	font-weight: 300;
	font-size: 5em;
}

main section h1 {
	margin-top: 1em;
	font-family: 'Protest Guerrilla', serif;
	font-weight: 300;
	font-size: 3em;
	line-height: 1em;
}

main h2 {
	font-size: 1.5em;
	margin-top: 2em;
}

main li em {
	font-style: normal;
	font-weight: bold;
}

main > section {
	display: flex;
	margin-top: 5em;
	flex-direction: row;
	flex-wrap: wrap;
	/* flex-flow: row wrap; */
	justify-content: flex-start;
	align-items: stretch;
	align-content: stretch;
	gap: 2em;
}

main > section > section {
	flex-basis: 32em;
	border: 1px solid #ff4488;
	padding: 1em;
}

main > section > section h2 {
	margin-top: 0;	
}


/* PAGE SPECIFIC STYLES */

.wikitable {
	margin-top: 2em;
	min-width: 30%;
}

.wikitable caption {
	margin: 1em 0;
	color: #333;
	font-family: 'Courier New', Courier, monospace;
	font-size: .85em;
	line-height: 1.5em;
}

.wikitable td,
.wikitable th {
	border: 1px solid #ddd;
	padding: .5em 1em;
}

.wikitable tr:nth-child(even) {
	background-color: #f2f2f2;
}

.wikitable tr:hover {
	background-color: #ddd;
}

.wikitable th {
	padding-top: 12px;
	padding-bottom: 12px;
	text-align: left;
	background-color: #04AA6D;
	color: white;
}

/* RESPONSIVE */

@media screen and (max-width: 1680px) {

	header,
	footer,
	main {
		width: 1200px;
	}

}

@media screen and (max-width: 1280px) {

	header,
	footer,
	main {
		width: 960px;
	}

}

@media screen and (max-width: 980px) {

	header,
	footer,
	main {
		width: 100%;
	}

}

@media screen and (max-width: 736px) {

	header,
	footer,
	main {
		width: 100%;
	}

	#branding h2 {
		display: block;
		margin-top: -1em;
	}

	header nav ul li {
		line-height: 4em;
		margin-right: 1.5em;
		padding: 0;
	}

	header nav ul li a {
		border: 1px solid #000;
	}

	main > h1 {
		font-size: 2.25em;
		line-height: 1.25em;
	}

	main section h1 {
		font-size: 2em;
	}

	.wikitable {
		width: 90%;
	}

}

/* MISC */

/* Clear Floated Elements */

/* http://sonspring.com/journal/clearing-floats */

.clear {
	clear: both;
	display: block;
	overflow: hidden;
	visibility: hidden;
	width: 0;
	height: 0;
}

/* http://www.yuiblog.com/blog/2010/09/27/clearfix-reloaded-overflowhidden-demystified */

.clearfix:before,
.clearfix:after {
	content: '\0020';
	display: block;
	overflow: hidden;
	visibility: hidden;
	width: 0;
	height: 0;
}

.clearfix:after {
	clear: both;
}