/* Eric Reset */

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;
    line-height: 1;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
	display: block;
}
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 Eric Reset */ 

/* My Global Styles */ 

*{
    box-sizing: border-box;
}

body { 
    font-family:'Open Sans',Arial,Helvetica,Verdana,Tahoma,sans-serif;
    background-color: #c4ccd7;
}

main, nav {
    width: 95%;
	max-width: 960px;
	min-width: 320px;
	margin:  0 auto ;
}

main {
    padding-bottom: 2rem;
}

/* End of My Global Styles */

/* For Home Page */

/* Changed this from a Section to A Div on the recommendation of W3C validator */

div {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
}

div img {
    padding: 1rem;
}

div > p {
    justify-content: center;
    font-size: 1.4rem;
    line-height: 1.8;
    margin: 1.8rem;
}
/* For Other Pages */

/*Navigation */

nav ul{
    display: flex;
    justify-content: space-evenly;
    margin: auto;
    align-items: center; 
    list-style: none;
    font-family: 'Lora',Georgia,Garamond,Didot,Palatino,serif;
    background: #9ea5b5;
    font-weight: 400;
    padding-top: 0.5rem;
  }

/* Navigation Ends */

/* Typography and General Paragraph Layout */


h1,h2 {
    font-family:'Lora',Georgia,Garamond,Didot,Palatino,serif;
}

h1 { 
    font-weight: 600;
    font-size: 2.8rem;
    text-align: center;
    padding-top: 2rem;
}

h2 { 
    font-weight: 400;
    font-size: 1.3rem;
    text-align: center;
    padding-top: 1rem;
}

p { 
    display: flow-root;
    line-height: 2;
    padding-top: 1.5rem;
}

p:first-of-type:first-letter{
    color: black;
    float: left;
    font-size: 5em;
    margin: 0 .1em 0 0;
    line-height: 0.85;
  }

p + p {
    text-align: left;
}

/* Typography and General Paragraph layout Ends */

/*Paragraph layout Specifically for Images */

p > img {
        float:left;
        margin: 7px 20px 10px 0;
    }
    

p + p > img {
   float: right;
   margin: 7px 0 10px 20px;
}

/* Paragraph Layout Specifically for Images End */

/* Links */

 a {
    padding-top: 1.5rem;
    font-size: 1.3rem;
    color: black;
    text-decoration: none;
    line-height: 2.5rem;
}

a:link {
    color: black;
}

a:visited {
    color: rgb(20, 42, 185);
    text-decoration: underline;
}

a:focus {
    color: rgb(220, 223, 72);
}

a:hover {
    color: rgb(220, 223, 72);
    text-decoration: underline;
}

a:active {
    color: rgb(88, 155, 226);
    text-decoration: underline;
}

/* End of Links /*




  









