/* start with the reset */

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

/* *************************  end the reset ************************* */

/* model based of of 1280px mock up */
/* 15px/1152= 1.3020833 /4 = .3255208*/

body {
    width: 100%; /* 1280 */
    margin: auto;
}


.header {
    width: 90%; /* 1152/1280=90 */
    height: auto;
    margin-top: 1.171875%;
    margin-left: 3%; 
    margin-right: 3%;
    padding-left: 2%;
    padding-right: 2%;
    background-color: #eaf8fb;
    border: 2px solid #c6fbe4;
    background-image:url(../images/header-1.png);
    background-repeat:no-repeat;
    background-size:cover;
    padding-bottom: 18%; /*  */
}

.nav {
    width: 90%; 
    height: auto;
    margin-left: 3%; 
    padding-left: 2%;
    padding-right: 2%;
    background-color: #eaf8fb;
    border: 2px solid #c6fbe4;
    text-align: center;
    font-size: .9em;
    font-size-adjust: auto;
    float:left;
}

li {
    display: inline-flex;
    margin: 1%;
    padding: 1%;
    
}

.main {
    width: 90%; /* 230.4*4=921.6 -- 921.6/1152= .80  */
    height: auto; 
    margin-left: 3%; 
    margin-right: 3%;
    padding-left: 2%;
    padding-right: 2%;
    background-color: #eaf8fb;
    border: 2px solid #c6fbe4;
    font-size: 0.8em;
    float:left;
}

h1 {
    font-size: 4em;
    padding-top: 4%;
    text-align: center;
    position: sticky;
}

.main h2 {
    font-size: 2em;
}

/*Images*/

img {
    max-width: 30%;
    height: auto;
    float: left;
    position: static;
    padding: 1%;
    border: 2px solid white;
}

.footer {
    width: 90%; /* 1152/1280=90  */
    min-width: 200px;
    height: auto;
    margin-left: 3%; 
    margin-right: 3%;
    padding: 2%;   
    background-color: #eaf8fb;
    border: 2px solid #c6fbe4;
    float:left;
    text-align: center;
}

/* //////////// media query 800px //////////// */

@media screen and (max-width: 800px){
.header {
    width: 90%; 
    height: auto;
    margin-top: 1.171875%;
    margin-left: 3%; 
    margin-right: 3%;
    padding-left: 2%;
    padding-right: 2%;
    border: 2px solid #6f2e2e;
    background-color:#c38383;
    background-repeat:no-repeat;
    background-size:cover;
    padding-bottom: 18%; /*  */
}

.nav {
    width: 90%; 
    height: auto;
    margin-left: 3%; 
    padding-left: 2%;
    padding-right: 2%;
    background-color: #c38383;
    border: 2px solid #6f2e2e;
    text-align: center;
    font-size: .7em;
    font-size-adjust: auto;
    float:left;
}

li {
   display: inline-flex;
    margin: 1%;
    padding: 1%;
}


.main {
    width: 90%; 
    height: auto;
    margin-left: 3%;
    margin-right: 3%;
    padding-left: 2%;
    padding-right: 2%;
    background-color: #c38383;
    border: 2px solid #6f2e2e;
    float:left;
}

h1 {
    font-size: 2.5em;
    text-align: center;
    position: sticky;
}

.main h2 {
    font-size: 1.5em;
}

/*Images*/

img {
    max-width: 20%;
    height: auto;
    float: left;
    position: static;
    margin-left: 6.5%;
    margin-top: 0.5%;
    margin-bottom: 0.5%;
    padding: 1%;
    border: 2px solid white;
}

.footer {
    width: 90%; 
    height: auto;
    margin-left: 3%; 
    margin-right: 3%;
    padding: 2%;   
    background-color: #c38383;
    border: 2px solid #6f2e2e;
    float:left;
    text-align: center;
    font-size: 0.5em;
}
}

/* ////////////  //////////// */