/* http://meyerweb.com/eric/tools/css/reset/
   v2.0 | 20110126
   License: none (public domain)
   <3 thanks, Eric :-)
*/

html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary, time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */

article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {
	display: block;
}

body {
	font-family: Fira Sans, Helvetica Neue, Helvetica, Calibri, Arial, sans-serif;
	font-size: 1em;
	line-height: 1.4;
	color: #666;
	background: #fff;
}

ol, ul {
	list-style: none;
}

blockquote, q {
	quotes: none;
}

blockquote:before, blockquote:after, q:before, q:after {
	content: '';
	content: none;
}

table {
	border-collapse: collapse;
	border-spacing: 0;
}

* {
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}



/* link styling */

a:link, a:visited {
	display: inline-block;
	padding: 1px;
	color: #60a7e6;
}

a:hover, a:active, a:focus {
	color: #000;
}








/* ---------------------------------------------------
HEADER STYLING 
--------------------------------------------------- */

header {
	margin: 0 auto;
	width: 80%;
	max-width: 48em;
	text-align: center;
}

header h1 {
	font-size: 2em;
	font-size: calc(2em + .8vw);
	line-height: 1.1;
	color: #666;
	margin: 2em 0 12px 0;
}

header small {
	display: inline-block;
	padding: 0 5%;
	border-top: 1px solid #ccc;
}


/* ---------------------------------------------------
CONTENT STYLING 
--------------------------------------------------- */

main {
	overflow: hidden;
	max-width: 66em;
	margin: 0 auto;
}

article {
	margin: 1em auto;
	padding: 0 4vw;
	/*	width: 50%;
		float: left;*/
}

article h2 {
	font-size: 1.36em;
	font-size: calc(1.36em + .8vw);
	line-height: 1.1;
	color: #666;
	margin: 0 0 12px 0;
}

article p {
	margin: 0 0 2em 0;
}

article ol p {
	margin: 0 0 2em 0;
}

article:nth-of-type(2) {
	border-top: 1px solid #ccc;
	padding: .86em 0 0 0;
	padding: .86em 4vw 0 4vw;
}

/* list styling with custom numbers */

/* disable automatic decimal numbers */

ol li {
	list-style: none;
	position: relative;
}

/* initialize counter */

ol {
	counter-reset: li;
}

/* initialize counter */

ol > li:before {
	content: counter(li); /* Use the counter as content */
	counter-increment: li;
	font-size: 8em;
	font-weight: 700;
	line-height: 1;
	position: absolute;
	top: 0;
	right: 0;
	opacity: .2;
}

ol strong {
	color: #000;
	font-size: 1.2em;
	font-size: calc(1.2em + .8vw);
	line-height: 1.1;
	display: block;
	margin: 0 0 .5em 0;
}

figure {
	padding: 6px;
	margin: 0 0 24px 0;
	background: #f5f5f5;
}

figcaption {
	text-align: center;
	color: #000;
}

article img {
	display: block;
	width: 100%;
	height: auto;
	margin: 0 0 6px 0;
}

small {
	font-size: .8em;
	opacity: .6;
}

/* ---------------------------------------------------
FOOTER STYLING 
--------------------------------------------------- */

footer {
	padding: 1em 8vw;
	border-top: 1px solid #ccc;
}

footer p {
	font-size: .8em;
	text-align: center;
	margin: 0;
}


/* --------------------------------------------------- /\/\/\
MEDIA QUERIES
--------------------------------------------------- /\/\/\ */

@media (min-width: 380px) {
	header {
		margin: 2em auto;
	}
}
@media (min-width: 680px) {
	article:nth-of-type(2) {
		border-color: #ccc;
		margin-top: 0;
	}
	
	ol strong {
		font-size: 1.1em;
		font-size: calc(1.1em + .4vw);
	}
	
}

@media (min-width: 820px) {
	
	/* solve with floats */
	main {
		width: 90%;
		max-width: 64em;
		margin: 0 auto 6em auto;
		display: flow-root;
	}	
	article {
		width: 50%;
		float: left;
		margin: 0;
		padding: 0 5% 0 0;
	}	
	
	/* solve with flexbox */
	/*main {
		width: 90%;
		max-width: 64em;
		margin: 0 auto 6em auto;
		display: flex;
		flex-flow: row wrap;
	}	
	article {
		width: 50%;
		margin: 0;
		padding: 0 5% 0 0;
	}*/
}

@media (min-width: 1000px) {
	header {
		max-width: 62em;
	}
}
@media (min-width: 1400px) {
	header {
		max-width: 84em;
	}
}