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

/* ======== DON'T CHANGE ANYTHING ABOVE THIS LINE ======== */



/* MY STYLESHEET STARTS HERE*/

/*Layout*/

body{
    width: 90%;
	  max-width: 1980px;
	  min-width: 320px;
	  margin: 0 auto;
    font-family: 'Roboto', Arial, Helvetica, Time, sans-serif;
    font-weight: 300;
    line-height: 1.5;
    color: #690018;
    background-color: #fffaed;
}

/* - - Profile page - - */

.profile {
    background-image: url(../images/tulipan.png);
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-position: bottom right;
}

h1+p {
    margin-top: .8em;
}

main {
    padding-bottom: 4em;
    padding-right: 4em;
}

.education::after {
    content: "";
    clear: both;
    display: table;
} /*to avoid mixing illustrations with ul*/

.extra::after {
    content: "";
    clear: both;
    display: table;
}

.extra {
    padding: 1em 2em 1em 2em;
    background-color: #fc5843;
}

.list {
    float: left;
    margin-bottom: 2em;
}

/*Typography*/

h1, h2, h3 {
    font-family: 'Poppins', Arial, Helvetica, Time, sans-serif;
    color: #690018;
    font-weight: 400;
    font-size: 1.8em;
    margin: .9em 0em .5em 1em;
    border-bottom: 1px;
    padding-bottom: 3px;
}

h1 {
    font-size: 3em;
    color: #fc5843;
    margin: .8em 0em .5em .3em;
    text-transform: uppercase;
    line-height: .75;
    letter-spacing: -.03em;
}

figcaption > h2 {
    font-size: 1.2em;
    padding: 0;
    margin: 0;
}

figcaption > p {
    padding: 0;
    margin: 0;
}

p {
margin-top: 4em;
margin-left: 2em;
font-size: 1.2em;
color: #690018;
}

p+p{
    margin-top: 1em;
    margin-bottom: 2em;
}

strong {
    font-weight: 500;
    text-transform: uppercase;
}

/*Links*/

a {
    text-decoration: underline;
    margin-right: 2em;
    color: #3f4d2e;
}

/*Ul for Extra*/

ul {
    color: #690018;
    list-style-type: disc;
    list-style-position: inside;
    margin-left: 1em;
    margin-right: 2em;
    font-size: 1.2em;
}

/*Navigation*/

nav a {
    padding: 15px;
}

nav ul {
    font-size: 1.2em;
    margin-bottom: 2em;
    list-style-type: none;
    text-align: center;
    display: flex;
    flex-wrap: wrap;
}

nav li {
    flex: 1;
    margin-top: 0.8em;
}

nav a:visited {
color: #fc5843;
}

nav a:hover {
color: #fffaed;
text-decoration: none;
background-color: #3f4d2e;
}

/*Images*/

img {
    width: 25%;
	max-width: 960px;
	min-width: 320px;
    margin-left: 1em;
}

figure {
    float: left;
    padding: 5px;
}

figcaption {
    color: #690018;
    padding: 1em 2em 1em;
    margin-top: 1em;
    margin-bottom: 3em;
    line-height: 2em;
}

main > img {
   float: left;
   display: block;
   margin-top: -2em;
}
