* {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box; }

/* http://meyerweb.com/eric/tools/css/reset/ 
   v2.0 | 20110126
   License: none (public domain)
*/
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline; }

/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
  display: block; }

html {
  position: relative;
  height: 100%;
}

body {
  font-family: 'Telex', sans-serif;
  background: white;
  color: black;
  padding: 0;
  margin: 0;
  font-size: 1.25em;
  display: block;
}

ul {
  margin: 0;
  padding: 0;
  list-style-type: none;
}

a {
  color: #82BABA;
  text-decoration: none;
}
 
a:hover {
  color: #757575;
}

header {
  background-image: url("/img/crust.png");
  background-position: center;
  background-size: cover;
  overflow: hidden;
  width: 100%;
  height: 8rem;
  z-index: 5;
  text-align: center;
}

a.name {
  margin: .25rem;
  font-size: 1.25rem;
  font-weight: bold;
  border-radius: 1px;
  position: absolute;
  z-index: 3;
  top: 2.5rem;
  left: 4rem;
  background-color: white;
  padding: .5rem;
  color: black;
}

a.name:hover {
  color: #757575;
}

nav ul {
  list-style-type: none;
  display: inline-flex;
  position: absolute;
  z-index: 3;
  right: 4rem;
  top: 2.5rem;
}

nav li a {
  margin: .25rem;
  font-size: 1.25rem;
  font-weight: bold;
  border-radius: 1px;
  float: left;
  color: #303030; 
  background-color: white;
  padding: .5rem;
}

#intro {
  margin-top: 6%;
}

.content {
  margin: 0 20%;
  padding-bottom: 3%;
}

h2 {
  font-size: 1.25em;
}

#projects {
  margin-top: 6%;
  margin-bottom: 10%;
  text-align: center;
}

.title {
  padding-bottom: 2%;
}

ul.links li {
  list-style-type: none;
  display: inline-block;
  padding: 1%;
}

ul.links a {
  color: #82BABA;
}

ul.links a:hover {
  padding-bottom: .5rem;
  border-bottom: 2px solid #757575;
  color:  #757575;
}

.entries {
  margin: 2% 20%;
  list-style-type: none;
  position: relative;
  text-align: center;
}
 
.entries img {
  width: 100%;
}

#resume {
  margin-top: 6%;
  margin-bottom: 2%;
  text-align: left;
}

.skills {
  padding-bottom: 3%;
}

.skills li {
  margin: 0 0 3% 0;
  padding: 0px;
  text-indent: 0;
}

.skills span {
  color: #82BABA;
  padding-right: 1%;
}

#about {
  margin-top: 6%;
  margin-bottom: 10%;
  text-align: left;
}

img.theo {
  width: 205px;
  float: left;
  padding-top: .5rem;
  padding-right: 1.5rem;
  padding-bottom: 1rem;
}
 
footer {
  font-size: 0.65em;
  width: 100%;
  text-align: center;
  padding: 1rem;
  display: block;
  position: absolute;
}

footer ul.social {
    display: inline-block;
    vertical-align: baseline;
    width: auto;
}

footer ul li {
  display: inline-block;
  padding: 1.5rem;
  width: auto;
}

footer ul li a:hover {
  padding-bottom: .5rem;
  border-bottom: 2px solid #757575;
}

  /* iPhone 5*/

@media screen and (max-width: 568px) { 

  body {
  font-size: 1em;
  text-align: left;
  }

  header {
    background-size: 568px auto;
    height: 5.4em;
    margin-bottom: 8em;
    overflow: visible;
  }

  a.name {
    font-size: 1em;
    padding: .5rem;
    position: relative;
    left: 0;
    top: 1.5em;
  }

  a.name:hover {
    color: #757575;
  }

  nav ul {
    list-style-type: none;
    z-index: 7;
    margin: 0 auto;
    position: relative;
    top: 0;
    right: 0;
    margin-top: 6em;
    display: -webkit-inline-flex;
  }

  nav li a {
    margin: 0;
    padding: 0;
    font-size: 1em;
    font-weight: bold;
    border-radius: 1px;
    color: #303030; 
    background-color: white;
    margin-right: 1.25em;
    padding-bottom: .25rem;
    border-bottom: 2px solid black;
  }

  nav li a:hover {
    border-bottom: 2px solid #757575;
  }

  .content, .entries {
  margin: 5% 5% 5% 5%;
  }

  img.theo {
  width: 150px;
  } 

  ul.links a:hover {
  padding-bottom: 0;
  border-bottom: none;
  }

  footer ul li {
    padding: 0.75rem;
  }

  footer ul li a:hover {
  padding-bottom: 0;
  border-bottom: none;
}

}






