html {
  height: 100%;
}

body {
  margin: 0 auto;
  background: #fafaf4;
  font-family: 'Tiempos', sans-serif;
  font-weight: 300;
  font-style: normal;
  -webkit-font-smoothing: antialiased;
  color: #333;
}

a {
  text-decoration: none;
  color: #eb1e30;
  -webkit-transition: all 0.2s ease-in-out;
  -moz-transition: all 0.2s ease-in-out;
  transition: all 0.2s ease-in-out;
}

a:visited {
  color: #eb1e30;
}

a:hover {
  border-bottom: 1px solid #eb1e30;
}

a:active, a:focus {
  position: relative;
  top: 1px;
}

#string {
  background: #333;
  height: 5px;
}

.wrapper {
  max-width: 980px;
  margin: 0 auto;
  padding-bottom: 25px;
}

header {
  margin-top: 50px;
  border-bottom: 1px solid #eee;
  padding-bottom: 25px;
}

#profile-pic {
  background: url(../images/man_on_the_moon.png);
  background-size: contain;
  width: 350px;
  height: 350px;
  border-radius: 50%;
  margin: 30px auto 25px;
}

section {
  max-width: 50%;
  padding: 2% 4%;
  display: block;
  margin: 0 auto;
}

section ul {
  list-style-type: none;
  padding-left: 0;
  text-align: center;
}

section ul li {
  text-align: center;
  display: inline-block;
  margin-right: 18px;
  line-height: 38px;
  font-size: 22px;
}

img.social-icons {
  width: 45px;
  height: auto;
}

section ul li a, section ul li a:visited {
  color: #111;
}

section ul li a:hover {
  color: #eb1e30;
  border-bottom: none;
}

section ul li:last-child {
  margin-right: 0;
}

section ul li:first-child {
  margin-left: 0;
}

article {
  margin: 25px 0;
  text-align: justify;
}

aside {
  max-width: 80%;
  clear: both;
  margin: 25px auto;
}

h1 {
  font-size: 42px;
  text-align: center;
  line-height: 30px;
  color: #444;
  margin: 0;
}

h1 > img {
  height: 86px;
  width: auto;
}

h2 {
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 3px;
  line-height: 45px;
  font-size: 10px;
  font-family: proxima-nova, sans-serif;
  margin: 0;
  color: #ccc;
}

h3 {
  text-align: center;
  font-weight: 600;
  text-transform: uppercase;
  color: #444;
  letter-spacing: 1px;
  margin: 40px 0 25px 0;
  font-size: 18px;
}

h4 {
  font-size: 20px;
  line-height: 30px;
  font-weight: normal;
  margin: 35px 0 0;
  text-align: center;
}

h5 {
  text-transform: uppercase;
  letter-spacing: 3px;
  font: normal 10px proxima-nova;
  color: #444;
  margin: 5px 0 0;
}

p {
  color: #2a2a2a;
  margin-bottom: 25px;
  font-weight: 300;
  font-size: 18px;
  line-height: 28px;
  margin-top: 25px;
}

aside > p {
  text-align: center;
  font-weight: normal;
  margin: 0;
  font-size: 16px;
}

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

  body {
    padding-bottom: 30px;
  }

  h1 {
    font-size: 40px;
  }

  h1 > img {
    height: 78px;
    width: auto;
  }

  #profile-pic {
    width: 330px;
  }

  h2 {
    font-size: 10px;
    letter-spacing: 3px;
    -webkit-transition: all 0.2s ease-in-out;
    -moz-transition: all 0.2s ease-in-out;
    transition: all 0.2s ease-in-out;
  }

  h4, h5 {
    text-align: center;
  }

  section {
    float: none;
    max-width: 95%;
    margin: auto;
    -webkit-transition: all 0.2s ease-in-out;
    -moz-transition: all 0.2s ease-in-out;
    transition: all 0.2s ease-in-out;
  }

  section ul {
    margin-top: 0;
    width: 100%;
    padding: 0;
  }

  section ul li {
    margin-left: 10px;
  }

  .right {
    margin-bottom: 60px;
  }

  .left {
    margin-bottom: 0;
  }

}

@media only screen
and (min-device-width : 320px)
and (max-device-width : 568px) {

  section {
    max-width: none;
    padding: 0;
  }

  p {
    padding: 0 10px;
  }

  aside > p {
    padding: 0;
  }

}
