body {
  background: #fff;
  margin: 0;
  padding: 8em 0 0 0; }

.container {
  max-width: 1200px;
  margin: 0 auto; }

img {
  max-width: 100%; }

#page-content {
  background: #fff;
  position: relative;
  overflow: hidden;
  padding: 1em 1.3em;
  box-sizing: border-box; }

article {
  max-width: 30em; }

.laptop-and-up {
  display: none; }

#projects {
  padding-top: 3vh; }
  #projects h4 {
    font-size: 1.5em;
    font-family: "Lato"; }
  #projects p {
    max-width: 40em; }

#social-footer {
  text-align: center;
  padding: 13vh 0 3vh; }

header {
  background: #7ad342;
  font-family: "Averia Libre", normal;
  font-size: 1.2em;
  width: 100%;
  box-sizing: border-box;
  box-shadow: 3px 1px 4px rgba(0, 0, 0, 0.1);
  position: fixed;
  top: 0;
  z-index: 400; }
  header a {
    color: #fff;
    text-decoration: none;
    vertical-align: center;
    padding: 0.3em 0.7em;
    transition: background 1s; }
    header a:hover {
      transition: all 0.3s; }
  header nav {
    padding: 0 0.3em; }
    header nav a {
      padding-top: 1em;
      padding-bottom: 0.8em;
      display: inline-block; }
      header nav a:hover {
        background: #fff;
        color: #5fa734; }

#logo-header {
  font-size: 1.4em;
  vertical-align: center;
  background: #5fa734;
  display: block; }
  #logo-header:after {
    content: ".se"; }

h1, h2, h3, h4, h5 {
  margin-bottom: 2px;
  color: #111;
  font-family: "Averia Libre", normal;
  font-weight: 200; }

p {
  margin-top: 0;
  font-weight: 200;
  color: #444;
  font-family: "Lato";
  font-size: 1.24em; }

#page-content a, #projects a {
  color: #288e00;
  position: relative;
  text-decoration: none;
  display: inline-block;
  -webkit-transition: 0.5s ease;
  transition: 0.5s ease; }
  #page-content a:hover, #projects a:hover {
    color: #288e00;
    -webkit-transition: 0.5s ease;
    transition: 0.5s ease; }
    #page-content a:hover:before, #projects a:hover:before {
      visibility: visible;
      -webkit-transform: scaleX(1);
      transform: scaleX(1); }
  #page-content a:before, #projects a:before {
    content: "";
    position: absolute;
    width: 100%;
    height: 1px;
    bottom: 3px;
    left: 0;
    background-color: #72c843;
    visibility: hidden;
    -webkit-transform: scaleX(0);
    transform: scaleX(0);
    -webkit-transition: all 0.3s ease-in-out 0s;
    transition: all 0.3s ease-in-out 0s; }

footer {
  clear: both;
  padding: 1em; }

@media screen and (orientation: portrait) and (max-device-width: 480px) {
  .hide-on-small-screens {
    display: none; }

  #logo-header {
    padding-top: 0.7em;
    padding-bottom: 0.7em;
    text-align: center; }
    #logo-header + nav {
      text-align: center; } }
@media screen and (max-width: 700px) {
  .hide-on-small-screens {
    display: none; }

  #logo-header {
    padding-top: 0.7em;
    padding-bottom: 0.7em;
    text-align: center; }
    #logo-header + nav {
      text-align: center; } }
@media screen and (min-device-width: 700px) and (min-width: 1000px) {
  body {
    padding-top: 5em; }

  article {
    float: left;
    width: 60%;
    padding-right: 5%; }

  aside {
    float: right;
    width: 30%; }

  .laptop-and-up {
    display: inherit; }

  header {
    padding: 0 1em; }
    header nav {
      display: inline-block;
      padding: 0; }
      header nav a {
        top: -0.1em;
        position: relative;
        padding: 1em 0.5em;
        display: inline; }

  #logo-header {
    display: inline-block;
    font-size: 1.4em;
    vertical-align: center;
    margin-right: 0.4em; } }
