/*
   New Perspectives on HTML and CSS
   Tutorial 7
   Tutorial Case

   Metallica Syle Sheet
   Author: Brian Connelly
   Date:   5/4/16
   
   Filename:         met.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 {
margin-left: auto;
  margin-right: auto; 
  background-image: url("metallicastar.jpg");
   width: 100%;
   min-width: 1000px;
   max-width: 1400px;
   font-family: Verdana, Geneva, sans-serif;
   font-weight: normal;
}



/* Header Styles */

header {
   
   clear: left;
   margin-left: 10%;
   width: 65%;
   padding-bottom: 20px;
   
}




header nav ul li {

   display: block; 
   float: left; 
   width: 13%;
   margin: 0px 2px;
   text-align: center;
  
   
}

header nav ul li a {
   display: block; 
   width: 100%;
   background-color: red;
   color: white;
   float:  left;
}

header nav ul li a:hover {
   color: Black;
}

header h1 {
   clear:  left;
   width: 100%;
   font-size: 1.9em;
   letter-spacing: 5px;
   font-weight: bold;
   margin-left: 40%;
}


/* Vertical Navigation Styles */
nav.vertical {
   float: left;
   width: 15%;
   margin-top: -10px;
background-color: red;
   border: 10px  solid rgb(0,0,0);
   -op-background-size: contain;
   -moz-background-size: contain;
   -webkit-background-size: contain;
   background-size: contain;
}
   

nav.vertical ul {
   margin-left: 10px;
}

nav.vertical li.lTitle {
   font-size: 0.9em;
   margin-top: 30px;
   margin-bottom: 12px;
   color: white;
}

nav.vertical li {
   display: block;
   margin-bottom: 3px;
}

nav.vertical li a {
   display:block;
   width: 100%;
   font-size: 0.8em;
   margin-left: 15px;
   color: white;
   
   
}

nav.vertical li a:hover {
   color:black;
}



/* Section Styles */
section {
   margin-top: 20px;
}


section article h2 {
   margin: 0px 0px 15px 0px;
   font-weight: normal;
   text-align: center;
   color:  white;
   background-color: rgb(0,0,0);
   
   -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: red;
   border: 10px  solid rgb(0,0,0);
color: white;
   -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:  30%;
  float: left; 
   margin-left: 5px;
}

section.middle img {
  clear: right;
 margin: 0px 0px 0px 50px;
   
}



/* Right Section Styles */
section.right {
   width: 35%;
   float: left;
   margin-left: 15px;
} 


/* Footer Styles */
footer {
   clear: left;
   margin-left: 12%;
   width: 65%;
   border-top: 1px solid black;
   padding-bottom: 20px;
background-color: red;
   border: 10px  solid rgb(0,0,0);
}

footer nav ul li {
   display:  block;
   float:  left;
   width: 14%;
   text-align: center;
}

footer nav ul  li a {
   color: white;
   font-size: 1.1em;
   
}

footer nav ul li a:hover {
   color: Black;
   
}


