/*
   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: 0px;
   padding: 0px;
   text-decoration: none;
   vertical-align: baseline;
}



/* Body Styles */
body {
   background: white;
   width: 95%;
   min-width: 1000px;
   max-width: 1400px;
   font-family: Verdana, Geneva, sans-serif;
   font-weight: normal;
}



/* Header Styles */

header {
   width: 95%;
   
}

header nav {
   position: absolute;
   left: 11px;
   top: 5px;
   width: 90%;
}

header nav ul li {
   display: block; 
   float: left; 
   width: 13%;
   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: white;
}

header nav ul li a:hover {
   color: black;
}

header h1 {
   position: relative;
   margin-top: 50px;
   margin-left: 250px;
   margin-right: 25px;
   margin-bottom: 25px;
   width: 90%;
   font-size: 1.4em;
   letter-spacing: 3px;
   font-weight: bold;

}

header img {
   position: relative;
   clear: left;
   display: block;
   margin: 5px 200px;
   width: 50%;
}

#dateBox {
   width: 50%;
   margin-top: 70px;
   margin-left: 150px;
   margin-right: 25px;
   margin-bottom: 10px; 
   font-weight: normal;
   border: 2px solid black; 
   background-color: blue; 
   color: white;
   font-size: 10px; 
   text-align: center; 
   letter-spacing: 1px; 
   word-spacing: 1px;
}

/* Section Styles */
section {
   margin-top: 0px;
   margin-left: 20px;
}


section article h2 {
   margin: 0px 0px 15px 0px;
   font-weight: normal;
   text-align: center;
   color:  white;
   background-color: rgb(107,142,35);

   -moz-border-radius-topleft: 30px;
   -webkit-border-top-left-radius: 30px;
   border-top-left-radius: 30px;

   -moz-border-radius-topright: 30px;
   -webkit-border-top-right-radius: 30px;
   border-top-right-radius: 30px;


   font-size: 1.2em;
   letter-spacing: 5px;
   line-height: 2em;
}

section article {
   background-color: white;
   border: 3px  solid rgb(107,142,35);

   -moz-border-radius:  30px;
   -webkit-border-radius:  30px;
   border-radius: 30px;
   margin-left: 25px;
   margin-bottom: 20px;
}

section article p {
   font-size: 0.9em;
   margin: 15px;
}

section article img {
   display: block;
   float: right;
   clear: right;
   margin: 10px 10px 10px 10px;
   height: 100px;
   width: 100px;
   -o-transform: rotate(30deg);
   -moz-transform: rotate(30deg);
   -webkit-transform: rotate(30deg);
   -ms-transform: rotate(30deg);
   transform: rotate(30deg);
}


section article audio {
   background-color: white;
   display: block;
   margin: 5px auto;
   text-align: center;
   width 95%;
}

section article video {
   background-color: white;
   display: block;
   text-align: center;
   margin: 2px 2px 2px 2px;
   height: 150px;
   width: 300px;
}

section.middle article:first-of-type p:first-of-type {
   text-align: center;
}


/* Middle Section Styles */
section.middle {
   width:  30%;
   float: left;
   margin-left: 5px;
}

section.middle img {
   display: block;
   float: left;
   clear: left;
   margin: 10px 10px 10px 10px;
   height: 100px;
   width: 100px;
   -o-transform: rotate(-30deg);
   -moz-transform: rotate(-30deg);
   -webkit-transform: rotate(-30deg);
   -ms-transform: rotate(-30deg);
   transform: rotate(-30deg);
}

section.middle audio {
   background-color: white;
   display: block;
   margin: 5px auto;
   text-align: center;
   width 95%;
}

section.middle video {
   background-color: white;
   display: block;
   margin: 2px 2px 2px 2px;
   text-align: center;
   height: 150px;
   width: 300px;
}


/* Right Section Styles */
section.right {
   width: 35%;
   float: left;
   margin-left: 15px;
} 

section.right img {
   display: block;
   float: right;
   clear: right;
   margin: 10px 10px 10px 10px;
   height: 100px;
   width: 100px;
   -o-transform: rotate(30deg);
   -moz-transform: rotate(30deg);
   -webkit-transform: rotate(30deg);
   -ms-transform: rotate(30deg);
   transform: rotate(30deg);
}


section.right audio {
   background-color: white;
   display: block;
   margin: 5px auto;
   text-align: center;
   width 95%;
}

section.right video {
   background-color: white;
   display: block;
   text-align: center;
   margin: 2px 2px 2px 2px;
   height: 150px;
   width: 300px;
}


/* Footer Styles */
footer {
   clear: left;
   margin-left: 11px;
   width: 90%;
   border-top: 1px solid blue;
   background-color: rgb(100, 149, 237);
   padding-bottom: 20px;
}

footer nav ul li {
   display:  block;
   float:  left;
   width: 13%;
   text-align: center;
}

footer nav ul  li a {
   color: black;
   font-size: 0.7em;
}




