/* 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;
}

/* --- PAGE STYLING --- */

body {
	font-family: 'Inter', sans-serif; /* this sets the font for the whole document. Prefered font is put in the HTML head*/
   	font-weight: 200;
   	color: #252525;
   	background-color: #f5f2f0;
}

main, header {
	width: 60vw;
	max-width: 80em;
	margin: 0 auto 2em;
}

header {
	border-bottom: #b0b9a8 solid 3px;
	margin-top: 2em;
}

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

/*--- TYPOGRAPHY STYLING --- */

h1, h2 {
	font-family: 'Newsreader', serif;
}

h1, h2{
	font-weight: 400;
}

h1 span {
	display: block;
	margin-left: 1em;
}

h1 {
	font-weight: lighter;
	font-size: 6em;
}

h2 {
	font-size: 1.2em;
	margin-top: 2em;
	margin-bottom: .5em;
}

p {
	line-height: 1.4em;
}

h3+p, p+p {
	margin-top: 0.2em;
}

p+img {
	display: block;
	margin: 2em auto 0;

}

figure {
	display: flex;
	margin-top: 2em;
	align-items: center;
	gap: 2em;
}

figure p {
	font-size: 0.9em;
	font-family: 'Inter', sans-serif;
	font-style: italic;
	margin-top: 0;
}

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

main img {
	border: solid #b0b9a8 0.3em;
	border-radius: 10%;
}

section { 
	gap: 1.5em;
}

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

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

header, section { 
	display: flex;
	align-items: center;
	justify-content: space-between;
}

header nav, header img {
	display: inline-block;
	margin: 0;
}

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

a {
	text-decoration: none;
	padding-bottom: 0.2em;
}

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

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

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

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

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

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