/*
   New Perspectives on HTML and CSS
   Final Project
   
   Author:	David Lucas
   Date:	November 6, 2015
   
   SwarsOrig Style Sheet

   Filename:   swars.css
   Supporting Files: 

*/

/* 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: url(http://4.bp.blogspot.com/-p--ZuNrAJ7o/T6oShcaGtpI/AAAAAAAABNA/xV0llUmWQ2Y/s1600/star-wars-A-New-Hope.jpg);
   width: 95%;
   min-width: 1000px;
   max-width: 1400px;
   font-family: Verdana, Geneva, sans-serif;
   font-weight: normal;
}

/* Figure and Image styles */

img#fighter {
   display: block;
   float: left;
   width: 200px;
   margin: 10px auto;
   transform: rotate(30deg);
}

figure img fighter {
	
	-moz-border-radius: 25px;
	-webkit-border-radius: 25px;
	border-radius: 25px;
	
	-moz-box-shadow: rgba(0, 0, 0, 0.6) 10px 10px 15px;
	-webkit-box-shadow: rgba(0, 0, 0, 0.6) 10px 10px 15px;
	box-shadow: rgba(0, 0, 0.6) 10px 10px 15px;
}


/* Header Styles */

header {
   width: 100%;
   color: #F7FE2E;
   text-shadow: black 1px 1px 0px;
				
}

header nav {
   position: absolute;
   left: 220px;
   top: 50px;
   width: 84%;
   z-index: 2;
}

header nav ul li {

   display: block; 
   float: left; 
   width: 13%;
   margin: 0px 2px;
   text-align: center;
}

header nav ul li a {
   display: block;
   border: 1px #F7FE2E ;
   width: 100%;
   background-color: blue;
   color: #F7FE2E;
}

header nav ul li a:hover {
   color: black;
}

header h1 {
   clear:  left;
   width: 100%;
   font-size: 1.4em;
   letter-spacing: 3px;
   font-weight: bold;
   margin-left: 30%;
}

/* Section Styles */
section {
   margin-top: 20px;
}

section article h2 {
   margin: 0px 0px 15px 0px;
   font-weight: normal;
   text-align: center;
   color:  #F7FE2E;
   background-color: blue;

   -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: #F2F5A9;
   border: 3px  solid blue;

   -moz-border-radius:  30px;
   -webkit-border-radius:  30px;
   border-radius: 30px;

   margin-bottom: 20px;
}

section article p {
   font-size: 0.9em;
   margin: 15px;
}


section.middle article:first-of-type p:first-of-type {
   text-align: center;
}




/* Middle Section Styles */
section.middle {
   width:  35%;
   float: right;
   margin-left: 5px;
}

section.middle img {
   float: right;
   clear: right;
   margin: 0px 0px 0px 10px;
}



/* Right Section Styles */
section.right {
   width: 35%;
   float: left;
   margin-left: 15px;
} 




/* Footer Styles */
footer {
   clear: left;
   margin-left: 20%;
   width: 65%;
   border-top: 1px #F7FE2E;
   padding-bottom: 20px;
}

footer nav ul li {
   display:  block;
   float:  left;
   width: 14%;
   text-align: center;
}

footer nav ul  li a {
   color: red; /*#F7FE2E;*/
   font-size: 0.7em;
}




