/* 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 {
	line-height: 1;
}
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;
}

* {
	box-sizing: border-box;
}

/* --- MY STYLING STARTS HERE --- */

/* --- MAIN CONTENT ---*/

body {
	font-family: Inter, 'Helvetica Neue', 'Sergoe UI', sans-serif;
	font-weight: 200;
	background-color: #f5f2f0;
	color: #252525;
}

main, header {
	margin: 2em 4em;
}

header {
	border-bottom: solid #b0b9a8 3px;
}

footer {
	background-color: #b0b9a8;
	margin-top: 1em;
	padding: 2em 0;
}

/* --- TYPOGRAPHY ---*/

h1, h2, h3, h4, h5, h6 {
	font-family: Newsreader, Georgia, 'Times New Roman', Times, serif;
}

h1 {
	font-size: 2em;
	font-weight: 400;
	text-align: center;
}

h2 {
	font-size: 1.5em;
	font-weight: 400;
	margin: 0.5em 0;
}

p {
	font-size: 1em;
	line-height: 1.4em;
	margin-bottom: 2em;
}

h1+p {
	margin-top: 2em;
}

main p+p:last-of-type {
	text-align: center;
	font-weight: 500;
	margin-bottom: 0;
}

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

li {
	display: inline-block;
	text-align: center;
	margin: 0 2em;
}

ul {
	text-align: center;
}

main ul{
	width: 100%;
	margin: 0 auto;
}

/* --- IMAGES ---*/

img {
	display: block;
	margin: 2em auto;
}

main img{
	width: 250px;
	height: auto;
	border: solid #b0b9a8 0.3em;
	border-radius: 10%;
}

main ul li {
	display: block;
}

/* --- NAV MENU --- */

header { 
	display: block;
}

header img {
	display: block;
	width: 20vw;
	height: auto;
	margin: 0 auto;
}

header nav {
	display: block;
	margin: 2em auto 1em;
}

header img {
	width: 138px;
	height: auto;
}

nav a, a {
	text-decoration: none;
	color: #252525;
	padding-bottom: 0.2em;
}

/* --- LINK STATES --- */

nav a:link, nav a:visited {
	color:#252525;
}

nav a:hover, nav a:active, nav a:focus {
	border-bottom: solid #dcb480 3px;
}

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

/* this makes sure that the nav bar doesn't wrap and remains inline when on smaller screens */
@media (min-width: 600px) {	
	header nav ul{
		display: flex;
		justify-content: space-between;
	}
	
	header nav li {
		margin-left: 0;
	}

	header li:last-of-type {
		margin-right: 0;
	}
}

@media (min-width: 960px) {
	main, header {
		width: 60vw;
		max-width: 80em;
		margin: 2em auto;
	}
	
	header {
		display: flex;
		align-items: center;
		justify-content: space-between;
	}
	
	header nav, header img {
		display: inline-block;
		margin: 0;
	}
	
	header img {
		width: 138px;
		height: auto;
	}

	header li:first-of-type {
		margin-left: 0;
	}
	
	header li:last-of-type {
		margin-right: 0;
	}

	main ul img {
		width: 250px;
		height: auto;
	}

	main img {
		width: 400px;
		height: auto;
	}
}

/* this sets the images to show all on one line, next to eachother */
@media (min-width: 1400px) {
	main ul img {
		width: 250px;
		height: auto;
	}
	
	main ul li {
		display: inline-block;
		margin-left: 0;
		margin-right: 2em;
	}
}