/* Base styles
-------------------------------------------------- */

html, body {
  margin: 0;
  padding: 0;
}

body {
  font-family: "proxima-nova", "HelveticaNeue-Light", "Helvetica Neue Light", Helvetica, Arial, sans-serif;
  font-size: 14px;
  line-height: 1.6;
  color: #333;
  background-color: #fff;
  -webkit-font-smoothing: antialiased; /* Fix for webkit rendering */
  -webkit-text-size-adjust: 100%;
}


/* Typography
-------------------------------------------------- */

h1,
h2,
h3,
h4,
h5,
h6 {
  text-rendering: optimizeLegibility;
}


/* Docs structural styles
-------------------------------------------------- */

.docs-outer-wrapper {
  position: relative;
}

.docs-inner-wrapper {
  width: 1000px;
  margin: 0 auto;
}

/* Jumbo header
-------------------------------------------------- */

.docs-header {
  height: 530px;
  background-color: #02122b;
  box-shadow: inset 0 0 10px rgba(0,0,0,.6);
  background-image: url(../img/header-bg.png);
  background-size: cover;
}

.docs-header-text {
  position: relative;
  z-index: 3;
  top: 140px;
  width: 800px;
  margin: 0 auto;
  color: #fff;
  text-align: center;
  text-shadow: 0 0 5px #000;
  -webkit-animation: fadeintext 2s;
     -moz-animation: fadeintext 2s;
}

.docs-header-subtitle {
  margin-bottom: 35px;
  font-size: 45px;
  font-weight: 300;
  line-height: 55px;
}

/* Styles for the social media buttons */
.social {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 20px 0;
  background-color: rgba(0,0,0,.3);
  -webkit-animation: fadeinsocial 2.5s;
     -moz-animation: fadeinsocial 2.5s;
}

.social ul {
  height: 20px;
  padding-left: 20px;
  list-style: none;
  text-align: center;
}

.social li {
  display: inline-block;
  height: 20px;
  padding: 0;
  vertical-align: top;
}

@media only screen and (max-width: 320px) {
  .docs-header-text {
    top: 30px;
  }
}

@media only screen and (max-width: 767px) {
  .docs-outer-wrapper,
  .docs-inner-wrapper,
  .docs-header-text,
  .docs-content {
    width: auto;
  }

  .docs-inner-wrapper {
    padding-right: 20px;
    padding-left: 20px;
  }


  .docs-header {
    height: 320px;
  }

  .docs-header-text {
    top: 50px;
  }

  .docs-header-subtitle {
    margin-bottom: 18px;
    font-size: 24px;
    line-height: 30px;
  }

  .docs-btn {
    width: 100%;
    padding: 15px 0;
    font-size: 18px;
  }

  .docs-btn:active {
    padding: 16px 0 14px;
  }

  .social ul {
    height: auto;
  }

  .social li {
    padding-bottom: 15px;
  }

  .social li:last-child {
    padding-bottom : 0;
  }

  .content-section {
    padding-top: 50px;
  }
}

/* animations */

@-webkit-keyframes fadeintext {
  0% {
   opacity: 0;
   -webkit-transform: translateY(20px);
  }
  50% {
   opacity: 0;
   -webkit-transform: translateY(20px);
  }
  100% {
   opacity: 1;
   -webkit-transform: translateY(0);
  }
}

@-webkit-keyframes fadeinsocial {
  0% {
   opacity: 0;
  }
  85% {
   opacity: 0;
  }
  100% {
   opacity: 1;
  }
}

@-moz-keyframes fadeintext {
  0% {
   opacity: 0;
   -moz-transform: translateY(20px);
  }
  50% {
   opacity: 0;
   -moz-transform: translateY(20px);
  }
  100% {
   opacity: 1;
   -moz-transform: translateY(0);
  }
}

@-moz-keyframes fadeinsocial {
  0% {
   opacity: 0;
  }
  85% {
   opacity: 0;
  }
  100% {
   opacity: 1;
  }
}