/*
   New Perspectives on HTML and CSS
   IT270 FINAL

   Author: Christina Morita
   Date:   November 1, 2015

   Filename:         contactus.css

*/

/* Display elements as blocks */

article, aside, figure, figcaption, footer, hgroup, header, 
section, nav {
   display: block;
}

/* page styles */

body * {
   font-family: Verdana, Helvetica, sans-serif;
   font-size: 100%;
   font-weight: inherit;
   line-height: 1.5em;
   list-style: none;
   margin: 0px;
   padding: 0px;
   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: 14px;
   margin: 0px auto;
   position: relative;
}

/* Header */

header {
   float: left;
   width: 100%;

   -o-background-size: contain;
   -moz-background-size: contain;
   -webkit-background-size: contain;
   background-size: contain;

   background-image: url(green.png);
   border-bottom: 2px dotted purple;
}

header img {
   display: block;
   float: left;
   width: 100%;
   background-size: contain;
   border: 3px, green;
}

/*Navigation list */

header nav {
   float: left;
   width: 95%;
   margin: 10px 10px 10px -7%;
   text-align: justify;
}

header nav li {
   display: block;
   width: 10%;
   margin-left: 10%;
   margin-bottom: 3px;
   float: left;
   
}

header nav li a {
   display: block;
   width: 100%;
   height: 50px;
   line-height: 50px;
   text-align: center;
   color: yellow;
   font-size: 0.8em;
   border-radius: 50px;
   background-color: darkslateblue;
}

header article {
   float: left;
   width: 100%;
   color: yellow;
   text-align: justify;
   border: yellow;
   
}

header h1 {
   font-size: 2.5em;
   font-family: Verdana, Helvetica, sans-serif;
   color: black;
   font-weight: bold;
   letter-spacing: 10px;
   text-align: center;
}

header p {
   font-size: 1em;
   color: orange;
   margin: 10px 0% 10px 10px;
   text-align: justify;
}

/* Section */

section {
   clear: left;
   width: 100%;
   background: slategray;
}

section p {
    background-color: slategray;
   text-align: center;  
   color: yellow;
   padding-top: 20px;
}