/* http://meyerweb.com/eric/tools/css/reset/ 
   v2.0 | 20110126
   License: none (public domain)
*/

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 {
	
}
ol, ul {
	list-style: none;
}



/*************************** Begin of page styling *******************************************************/
@charset "UTF-8";
/* CSS Document */

body {
	font-family: Arial, sans-serif;
	color: #dfdfdf;
	background-color: #FAF1E1;
}
main {
	background-color: #2d251f;
	display: block;
	padding: 20px;
}

header {
	background-image: url(images/headerphoto.jpg);
	background-size: cover;	
	height: 456px;
	margin-top: 0;
	text-align: center;
}

header h1 {
	padding-top: 40px;
}

footer {
	text-align: left;
}

article {
	/*float: right;*/
	padding: 25px;
}
footer {
	/*clear: both;*/
	padding: 25px;
	background-color: #383f43;
}

/*** typography ***/
h2 {
	font-size: 32px;
	font-weight: bold;
	color: #d06038;
	margin-bottom: 16px;
}
p {
	margin-bottom: 16px;
	line-height: 22px;
}
/*** Navigation Styles ***/
nav ul {
	margin: 0px;
	padding: 0px;
	list-style-type: none;
}
nav ul li a {
	display: block;
	
	background-color: #1e1915;
	color: #e7dacc;
	
	font-weight: bold;
	font-size: 15px;
	
	line-height: 60px;
	
	text-transform: uppercase;
	text-decoration: none;
	
	padding-left: 25px;
	border-bottom: 5px solid #ead6be;
	text-align: center;
}
nav ul li a:hover {
	background: #d06038;
}

@media only screen and (min-width: 600px) {
	
	/***** Layout rules go in here ****/
	.container {
		padding: 20px;
		display: flex;
		flex-wrap: wrap;
		justify-content: flex-start;
	}
	
	header, footer {
		flex: 100%;
		text-align: left;
	}
	
	nav {
		flex: 1;
		background-color: #2d251f;
	}
	
	main {
		flex: 2;
	}
}

@media only screen and (min-width: 1020px) {
	
	/***** Maximum sized layout rules go in here ****/
	.container {
		width: 1020px;
		margin: auto;
	}
	header {
		text-align: left;
	}
	
	main {
		flex: 3;
		display: flex;
	}
	main article:first-of-type {
		margin-right: 20px;
	}
}