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


/* ===== MY STYLES BELOW ===== */

body {
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    background-color: #f8f9fa;
    color: #2c3e50;
    font-size: 18px;
    line-height: 1.5;
}
   header {
    background-color: #f3f9ff;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

header a {
    
    justify-content: left;
    
}

header svg {
    width: 60px;
    height: 60px;
   
}

main, footer { 
    margin: 0 auto;
    max-width: 900px;
    padding: 0 2em;
}

h1 {
    font-family: "Bona Nova", serif;
  font-weight: 500;
  font-style: normal;
    font-size: 2.5em;
    color: #13064a;
    margin-top: 40px;
    margin-bottom: 30px;
    letter-spacing: -0.5px;
    line-height: 1.2;
}
    
    
p {
    margin-bottom: 20px;
    line-height: 1.7;
    color: #495057;
    font-size: 1.05em;
}

img {
    display: block;
    float: right;
    width: 100%; 
    max-width: 300px; /* preferred image width */
    height: auto; /* maintain aspect ratio */
    margin: 0.4em 0 0.5em 1em;
    border: 1.5px solid #24718b;
}

ul {
    line-height: 2em;
    list-style: none;
}

/* Navigation Styles */
nav {
            background-color: #f3f9ff;
            border-bottom: 3px solid #3498db;
            padding: 0;
            overflow: hidden;
        }

        nav ul {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin: 0;
            padding: 0;
            line-height: normal;
            max-width: 900px;
            margin: 0 auto;
        }

        nav li:first-child {
            margin-right: auto;
        }

        nav li:first-child a {
            padding: 10px 30px;
            border-bottom: none;
        }

        nav li:first-child a:hover {
            background-color: transparent;
            border-bottom: none;
        }

        nav li:first-child svg {
            width: 60px;
            height: 60px;
            display: block;
        }

        nav li {
            margin: 0;
        }

        nav a {
            display: block;
            color: #0e171a;
            text-decoration: none;
            padding: 20px 30px;
            font-size: 1em;
            font-family:'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
            font-weight: 500;
            letter-spacing: 0.3px;
            border-bottom: 3px solid transparent;
        }

        nav a:hover {
            color: #ffffff;
            background-color: #34495e;
           
        }

/*footer style*/
footer {
 padding-bottom: 30px;
    border-top: 1px solid #dee2e6;
    margin-top: 50px;

}

footer a svg {
    width: 40px;
    height: 40px;
    cursor: pointer;
    display: block;
    margin-top: 10px;
    transition: 0.3s ease;
}

footer a:hover svg {
    transform: scale(1.1);
}


