body {
  font-size:12px;
  font-family: "Lucida Sans", sans-serif;
  background: #1c1d1a;
  }
  
.main {
  margin: 0 auto;
  margin-top:30px;
  margin-bottom:45px;
  border:4px solid #050505;
  width:600px;
  border-radius:3px;
  }
  
/*Box to contain header image*/
.header {
  border-bottom:6px solid #050505;
  padding:0px;
  overflow-y:auto;
   }
   
.header img {
  width:100%;
  padding:0px;
  display:block; /*Prevents extra space after image*/
  }
  
/*Inner text area inside main div, below the header and image.*/
.text {
  background:#050505;
  color:white;
  padding:25px;
  }
  
/*Prevent overflow of large images in main text areas.*/
.text img {
  max-width: 100%;
  height: auto;
  }
  
/*Used for the header below the header image.*/
.sub {
  font-size:16px;
  font-weight:bold;
  color:white;
  background:#050505;
  padding-top:3px;
  padding-bottom:6px;
  text-align:center;
  }  

/*Classes for links section.*/
.links {
  font-size:12px;
  color:white;
  background:#050505;
  padding-top:1px;
  padding-bottom:5px;
  text-align:center;
  }
 
/*Links are put into a ul list element*/ 
.links ul {
  list-style-type: none;
  margin:0px;
  padding: 0;
  }
  
/*Use li for the individual links*/
.links li {
  list-style-type: none;
  display: inline-block;
  padding: 5px 10px 3px 10px;
  margin: 5px 2px 3px 2px;
  background: #7eabac;
  }
  
.links a {
  color: #fff;
  text-decoration:none;
  font-weight:bold;
  }
  
.links li:hover { /*The color link buttons turn when hovered over*/
  background: #a45a57;
  }
  
.footer {
  font-size:10px;
  font-style:italic;
  color:white;
  background:#050505;
  padding-top:4px;
  padding-bottom:1px;
  text-align:center;
  }

.center {
  display: block;
  margin-left: auto;
  margin-right: auto;
  width: 50%;
}
  
@media(max-width:640px) {
  .main {
    margin-top:15px;
    margin-bottom:15px;}
  }