

/* ==========================================================================
   Author's custom styles
   ========================================================================== */

html {
  height: 100%;
}

body {
  font-family: 'Lato', Helvetica, sans-serif;
  font-weight: 200;
  font-size: 1.3em;
  line-height: 1.4em;
  background: #fefefe;
  
  background: #ffffff; /* Old browsers */
  background: -moz-linear-gradient(top,  #ffffff 0%, #fefefe 100%); /* FF3.6+ */
  background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#ffffff), color-stop(100%,#fefefe)); /* Chrome,Safari4+ */
  background: -webkit-linear-gradient(top,  #ffffff 0%,#fefefe 100%); /* Chrome10+,Safari5.1+ */
  background: -o-linear-gradient(top,  #ffffff 0%,#fefefe 100%); /* Opera 11.10+ */
  background: -ms-linear-gradient(top,  #ffffff 0%,#fefefe 100%); /* IE10+ */
  background: linear-gradient(to bottom,  #ffffff 0%,#fefefe 100%); /* W3C */
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#fefefe',GradientType=0 ); /* IE6-9 */
  
  height: 100%;
}

.wrapper {
  position: relative;
}

a {
  color: #26dba7;
}

a:hover, a:focus {
  color: #1db186;
  text-decoration: none;
}

.intro {
  display: block;
  min-height: 400px;
  padding: 108px 0 0;
  -webkit-box-sizing: border-box;
     -moz-box-sizing: border-box;
          box-sizing: border-box;
  height: 100%;
  width: 100%;
}

.intro .page-width {
  display: table;
  height: 100%;
  position: relative;
  margin: 0 auto;
}

.navbar {
  padding-left: 20px;
  padding-right: 20px;
  font-size: 34px;
  line-height: 108px;
}

.navbar-absolute-top {
  position: absolute;
  top: 0;
}

.dark {
  color: #B1A9AE;
  background-color: #343434;
}

.highlight {
  color: #26dba7;
}

.superhero {
  display: block;
  
  font-size: 42px;

  display: table-cell;
  max-width: 700px;
  vertical-align: middle;
  text-align: center;
}

.superhero p {
  line-height: 1em;
}

.box {
  float: left;
  height: 340px;
  width: 340px;
  margin: 4px 4px;
  padding: 8px;
  
  display: cell;
}

.box-container {
  margin: 0 auto;
  width: 780px;
}

footer {
  padding-bottom: 4px;
}

.footer-content {
  display: inline-block;
}

ul.footer-content {
  margin: 0;
  padding: 0;
  line-height: 20px;
}

.footer-content li:after {
  content: "/";
  margin: 0;
  padding: 0 10px;
}

.footer-content li:first-of-type {
  padding-left: 0;
}

.footer-content li:last-of-type:after {
  display: none;
}

.footer-content li {
  margin: 0;
  font-size: 16px;
  line-height: 20px;
  display: inline-block;
  list-style: none outside none;
}

@media (max-width: 800px) {
  .box-container {
    width: 100%;
    -webkit-box-sizing: border-box;
       -moz-box-sizing: border-box;
            box-sizing: border-box;
  }

  .box {
    display: block;
    float: none;
    width: 100%;
    height: 160px;
    margin-left: 0;
    -webkit-box-sizing: border-box;
       -moz-box-sizing: border-box;
            box-sizing: border-box;
  }

  .superhero {
    font-size: 32px;
    max-width: 480px;
  }

  .footer-content li {
    display: block;
    text-align: left;
  }

  .footer-content li:after {
    display: none;
  }

  section, .main {
    padding-left: 20px;
    padding-right: 20px;
  }

  body {
    padding: 0;
  }
}

@media (max-width: 480px) {
  .navbar, .superhero {
    font-size: 26px;
  }
}