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

/* END OF RESET*/

/* MY STYLE RULES */

* {
    box-sizing: border-box;
}
/* border-box tells the browser to account for any border and padding in the values you specify for an element's width and height.*/

body {
    max-width: 1050px;
    margin: 0 auto;
    background-color: #c1e1c1;
    color: #000000;
    font-family: 'Montserrat',  sans-serif;
    font-family: 'Ysabeau', sans-serif;
    line-height: 1.5;
    font-size: 1.5em;
    padding: 1.5em;
    text-align: left;
    
}

h1, h2 {
    font-family: 'Playfair Display', Georgia, Garamond, serif; /* do not need to repeat the font family here as it inherits it from the body*/
    color: #006400;
    font-weight: bold;
    text-align: left;
}

h1 {
    font-size: 1.5em;
    margin-top: 1em;
    margin-bottom: 1em;
}

h1 a {
    color: #006400;
    text-decoration: none;
}

h1 a:hover {
    color: #00aa00;
}

h1, p {
    max-width: 35em; 
}
p:first-of-type {
    font-weight: bold;
}
p {
    font-size: 1.0em;
    line-height: 1em;
    background-color: #ffffff60;
    padding-left: 1.2em;
    padding-right: 1.2em;
}
p+p {
    padding-top: 1.0em;
}

a:hover {
    color: #ffc123;
}

h2 {
    font-size: 1.2em;
    margin-top:1.5em;
    margin-bottom:0.5em;
}
h2 + p {
    background-color: #c1e1c1;
    padding: 0;
    font-weight: 600;
    font-style: italic;
}
h2 + p + p{
    background-color: #c1e1c1;
    padding: 0;
    font-weight: 600;
    font-style: italic;
}
h2 + h3 a {
    font-size: 1.05em;
    color: #b8860b;
    text-decoration: none;
}
h3 a {
    font-size: 1.05em;
    color: #b8860b;
    text-decoration: none;
}
h3 + p{
    background-color: #c1e1c1;
    padding: 0;
    font-weight: 600;
    font-style: italic;
}
h4 {
    margin-left: 2em;
    font-style: oblique;
}
h4 a {
    text-decoration: none;
    color: #b8860b;
}
h4 + p {
    background-color: #c1e1c1;
    padding: 0;
    font-weight: 600;
    font-style: italic;
}
hr {
    margin-top: 1.5em;
}

footer{
    background-color: #006400;
    color: #ffffff;
    padding: 1.2em;

}