/* === MEDIA QUERIES AND RESET === */

* {
	margin: 0;
	padding: 0;
	box-sizing:border-box;
}

html, body {
	height: 100%;
	background: #fff;
}

/* === MOBILE LAYOUT === */
/* Mobile first: will be inherited by all other layouts */

#wrapper {
	background: #d9e8ff;
	width: 100%;
	padding: 20px;
}

header, nav, section, article, aside {
	margin-bottom: 20px;
}

	header h1, h2 {
		letter-spacing: -3px;
	}

nav {
	line-height: 50px;
}

nav a {
	padding: 10px;
	font-family: Bangers, sans-serif;
	font-size: 22px;
	font-weight: normal;
}

section {
	width: 100%;
	float: none;
}

article {
	width: 100%;
	float: none;
}

aside {
	width: 100%;
	float: none;
}

/* === TABLET LAYOUT === */
/* 481px to 768px. Inherits styles from: Mobile Layout. */

@media only screen and (min-width: 481px) {
	#wrapper {
		width: 96%;
		margin: 0 auto;
	}

	header h1, h2 {
		letter-spacing: -2px;
	}

	section {
		width: 50%;
		float: left;
	}
}

/* === DESKTOP LAYOUT === */
/* Desktop Layout: 769px to a max of 1200px. Inherits styles from: Mobile Layout and Tablet Layout. */

@media only screen and (min-width: 769px) {

	#wrapper {
		width: 90%;
		max-width: 1200px;
	}

	section {
		width: 25%;
	}

	header h1, h2 {
		letter-spacing: -10px;
	}
	
	nav a {

		font-size: 32px;

	}

	article {
		float: left;
		width: 75%;
		padding-right: 20px;
		border-right: solid #fff 3px;
	}

	aside {
		float: left;
		width: 25%;
		padding-left: 20px;
	}

	footer {
		clear: both;
	}

}