/*
   New Perspectives on HTML and CSS
   IT-270
   Final Project

   Author: Samuel Adams
   Date:  2/2/2016


*/

/* Display HTML5 structural elements as blocks */

article, aside, figure, figcaption, footer, hgroup, header, 
section, nav {
   display: block;
}


/* Set the default page element styles */

body * {
   font-family: Verdana, Geneva, sans-serif;
   font-size: 100%;
   font-weight: inherit;
   line-height: 1.2em;
   list-style: none;
   margin: 3px;
   padding: 5px;
   text-decoration: none;
   vertical-align: baseline;
}

/* Body Styles */
body {
   width: 95%;
   min-width: 900px;
   max-width: 1000px;
   font-family: Verdana, Geneva, sans-serif;
   font-weight: normal;
   font-size: 16px;
   margin: 0px auto;
   position: relative;
   border-left: 1px solid blue;
   border-right: 1px solid blue;
}

/* Header styles */

header {
   float: left;
   height: 400px;
   min-width: 900px;
   max-width: 1000px;
   -o-background-size: contain;
   -moz-background-size: contain;
   -webkit-background-size: contain;
   background-size: contain;
   background-color: rgb(107,142,35);
   border-bottom: 1px solid blue;
}

header img#img1 {
   display: block;
   float: left;
   margin: 5px 5px 5px 150px;
}

header img#img2 {
   float: left;
   height: 300px; 
   min-width: 900px;
   max-width: 1000px;
   margin: 5px 5px 5px 50px;
}

header nav ul li {
   display: block;
   float: left; 
   width: 23%;
   margin: auto 5px;
   text-align: center;
}

header nav ul li a {
   display: block;
   border: 1px solid black;
   width: 100%;
   background-color: rgb(107,142,35);
   color: black;
}

header nav ul li a:hover {
   color: red;
}

/* Section styles */

section {
   clear: left;
   width: 100%;
}


section article {
   float: left;
   width: 98%;
}

section article h1 {
   font-size: 2.5em;
   font-family: "Times New Roman", serif;
   font-weight: bold;
   color: rgb(152, 251, 152);
   letter-spacing: 7px;
   margin-right: 20%;
}


section article p {
   font-size: 0.9em;
   color: rgb(0, 0, 255);
   margin: 10px 30% 10px 2px;
}


section p {
   color: rgb(152, 251, 152);
   margin-left: 20px;
   padding-top: 20px;
}


