body {
  margin:0;
  font-size:100%;
  font: 1.15em/1.3 'Oxygen','Helvetica',arial,sans-serif;
  font-weight: 300;
  }
  
/*--------GENERAL TEXT RULES---------------------------*/  
h1 {
  font:2.5em/1 'Oxygen','Helvetica',arial,sans-serif;
  font-weight: 400;
  text-align:center;
}
h2 {
  font:1.35m/2 'Oxygen','Helvetica',arial,sans-serif;
  color:red;
  font-weight: 400;
  text-align:center;
}

/*--------NAV RULES---------------------------*/
nav {
  height: 3em;
  line-height: 2.3em;
  position: fixed;
  top:0;
  left:0;
  z-index:600;
  display: inline-block;
  width:100%;
  background: rgba(0,0,0,0.55);
  border: 0;
  font-family:'Oxygen','Helvetica',arial,sans-serif;
  text-transform: uppercase;
  text-align: center;
  /* Next line prevents links from jumping to wrong place in Chrome and Safari*/
  -webkit-transform: translateZ(0);  
}

nav.nav_closed {
  overflow: hidden;
}
/*MENU button rules*/
a#menu {
  float: right;
  border: 1px solid #ccc;
  color: #FFE3CD;
  width: 4em;
  margin-top: 5px;
  margin-right: 15px;
  font-weight: 300;
  margin-bottom: 6px;
  text-decoration: none;
}
a#menu:hover {
  background: rgba(255,255,255,0.4);
  color: #333;
  font-weight: 600;
}

/*#navlist*/
ul#navlist {
  clear: right;
  list-style: none;
  font-weight: 300;
}
nav.nav_closed ul#navlist {
  display: none;
}
nav.nav_open {
  overflow: visible;
  background: rgba(0,0,0,0.85);
}
nav.nav_open ul#navlist {
  display: block;
  background: rgba(0,0,0,0.85);
}


nav.nav_open a#menu {
  color: #333;
  background: #999;
}
nav ul#navlist li a {
  display: block;
  width: 100%;
  height: 100%;
  border-top: 1px #ccc solid;
  color: #FFE3CD;
  text-decoration: none; 
}
nav ul#navlist li a:hover {
  background: #009ee6;
  color: #fff;
  text-decoration: none;
}

/*---------NOSCRIPT STYLES----------------------*/

#mainnav {
 padding: 4em;
}

#mainnav li{
  width: 100%;
  text-align: center;
  height: 2.5em;
  line-height: 2.5em;
  border-top: 1px #ccc solid;
}
noscript p {
 text-align: center;
 margin: 1em auto;
 width: 80%; 
}

/*--------SECTION  RULES---------------------------*/ 
section {

}
/*--------Section#page-header rules----------------*/ 

section#page-header {
  height:100vh; /*vh is a wiewpoint height*/
  width:100%;
  background: #ccc url(images/aerial.jpg) no-repeat center center;
  background-size: cover;
  color:#000;
  display: table; /*IMPORTANT: sets parent container to behave like a table*/
}
section#page-header header{
  width:100%;
  text-align: center;
  display: table-cell; /*IMPORTANT: sets child to display like table cell for vertical centering*/
  vertical-align: middle; /*IMPORTANT: vertically centers text in a "table cell" regardless of   parent resizing*/
}
section#page-header header h1 {
  font-size: 4em;
  font-weight: 400;
  line-height: 1em;
}
section#page-header header h2 {
  font-size: 1.45em;
  text-transform: uppercase;
  font-weight: 300;
}

/*section.page-content*/
section.page-content{
  clear: both;
}
section.page-content div {
  width: 85%;
  max-width: 1500px;
  margin: 3em auto;
  padding-top: 4em;/*ensures h1s clear the persistent navbar at the top*/
}
/*++++++++++++++++++I MIGHT HAVE TO TAKE THIS SHIT OUT+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*/
section.page-content article {
  margin-top: 1em;
  background: no-repeat top center;
  padding-top: 30px;
  background-size: 60%;
}
section.page-content article h3{
 font-weight: 700;
 font-size: 1.15em;
}
section.page-content article dl {
 margin: 1.5em auto;
 margin-left: 0.5em;
}
section.page-content article dt {
 font-weight: 700;
}
section.page-content article dd {
 margin-bottom: 0.6em;
}
section.page-content article h4{
 font-weight: 700;
 font-size: 1.15em;
}
section.page-content article dl {
 margin: 1.5em auto;
 margin-left: 0.5em;
}
section.page-content article dt {
 font-weight: 700;
}
section.page-content article dd {
 margin-bottom: 0.6em;
}
section.page-content article h5{
 font-weight: 700;
 font-size: 1.15em;
}
section.page-content article dl {
 margin: 1.5em auto;
 margin-left: 0.5em;
}
section.page-content article dt {
 font-weight: 700;
}
section.page-content article dd {
 margin-bottom: 0.6em;
}
/*special PROFILE rules*/

section#profile div {
  margin-top: 0;
}

/*---------special SKILLS rules--------------------------*/
 section#skills ul {
  width: 60%;
  margin: 1em auto;
  padding: 1em;
  overflow: hidden;
}
section#skills ul li {
  float: left;
  width: 33%;
  padding: 2%;
}
section#skills ul li img {
  display: block;
  width: 100%;
  margin: auto;
}

/*special HOBBIES rules*/
section#hobbies h3 {
  font-weight: 300;
  text-transform: uppercase;
  font-size: 1.25em;
  text-align: center;
  height: 2em;
  line-height: 2em;
  width: 80%;
  margin: 0 auto;
}
section#hobbies h3:hover {
  background: #E5E3E3;
}
section#hobbies ul {
  width: 100%;
  max-width: 800px;
  margin: 1em auto;
  overflow: hidden;
}
section#hobbies li {
  width: 80%;
  max-width: 200px;
  margin: 1em auto;
  padding: 1%;
  border: 1px solid #ccc;
  -moz-box-shadow: 0 0 5px rgba(0,0,0,0,4);
  -webkit-box-shadow: 0 0 5px rgba(0,0,0,0,4)
  box-shadow:0 0 5 px rgba(0,0,0,0,4);
}
section#hobbies li:hover {
  -moz-box-shadow: 0 0 10px rgba(0,0,0,0,7);
  -webkit-box-shadow: 0 0 10px rgba(0,0,0,0,7);
  box-shadow: 0 0 10px rgba(0,0,0,0,7);
}
section#hobbies li a img {
  display: block;
  width: 100%;
  margin:0 auto;
}
/*special CONTACT rules*/
section#contact{
  text-align: center;
  background: #d5d0cc;
  border-bottom: 4em #232323 solid;
}

section#contact ul {
  width: 75%;
  margin: 1em auto;
  padding: 1em;
  overflow:  hidden;
}
section#contact ul li {
  float: left;
  width: 20%;
}
section#contact ul li a img {
  display: block;
  width: 60%;
  max-width: 80px;
  margin: auto;
}


/*-----------------MEDIA QUERIES--------------------------------------*/
@media screen and (min-width:720px){
 section#skills ul {
  width: 100%;
 }
 section#skills ul li {
  width: 10%;
  padding: 0.11%;
 }
 section#hobbies li{
  float: left;
  width: 29%;
  max-width: 29%;
  margin: 1em 1%;
  padding: 1%;
 }
}