/*! styleguide.css v1.0.0 */

/* Typography
   ========================================================================== */

/**
 * Import Google Font Lato
 */
@import url(https://fonts.googleapis.com/css?family=Lato:400,300,300italic,400italic,700,700italic);

body {
  font-family: 'Lato', Helvetica, sans-serif;
  color: #333447;
}

h1 {
  font-size: 2.5rem;
}

h2 {
  font-size: 2rem;
}

h3 {
  font-size: 1.375rem;
}

h4 {
  font-size: 1.125rem;
}

h5 {
  font-size: 1rem;
}

h6 {
  font-size: 0.875rem;
}

p, li {
  font-size: 1.125rem;
  font-weight: 200;
  line-height: 1.8;
}

.font-light {
  font-weight: 300;
}

.font-regular {
  font-weight: 400;
}

.font-heavy {
  font-weight: 700;
}

/* Anchors
   ========================================================================== */

a,
a:link {
  color: #5595b5;
}

a:visited,
a:hover,
a:active {
  color: #6bb04e;
}

/* Header
   ========================================================================== */

.header {
  background-color: #fafafa;
  box-shadow: 0 1px 1px #ccc;
  height: 120px;
  margin-bottom: 80px;
  position: relative;
  width: 100%;
}

.header__logo {
  font-size: 28px;
  font-weight: 100;
  line-height: 1;
  background-color: #5595b5;
  background-image: -webkit-gradient(linear,0% 50%,50% 100%,from(#6bb04e),to(#5595b5));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin: 0;
  padding: 0;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
}

.header__circle {
  padding: 50px;
  border-radius: 50%;
  background-color: #f8f8f8;
  box-shadow: 0 1px 1px #ccc;
  position: relative;
  margin: -30px auto 0;
  width: 60px;
  height: 45px;
}

/* Menu Button
   ========================================================================== */

.menu__button {
  display: block;
  position: absolute;
  overflow: hidden;
  margin: 0;
  padding: 0;
  width: 40px;
  height: 40px;
  font-size: 0;
  text-indent: -9999px;
  appearance: none;
  box-shadow: none;
  border-radius: 4px;
  border: none;
  cursor: pointer;
  transition: all 0.3s;
  top: 44%;
  left: 20px;
}

.menu__button:focus {
  outline: none;
}

.menu__button__icon {
  display: block;
  position: absolute;
  top: 50%;
  left: 10px;
  right: 10px;
  height: 2px;
  background-color: #f8f8f8;
}

.menu__button__icon::before,
.menu__button__icon::after {
  position: absolute;
  display: block;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: #f8f8f8;
  content: "";
}

.menu__button__icon::before {
  top: -6px;
}

.menu__button__icon::after {
  bottom: -6px;
}

.menu__button--htla {
  background-color: #5595b5;
}

.menu__button--htla span {
  transition: transform 0.3s;
}

.menu__button--htla span::before {
  transform-origin: top right;
  transition: transform 0.3s, width 0.3s, top 0.3s;
}

.menu__button--htla span::after {
  transform-origin: bottom right;
  transition: transform 0.3s, width 0.3s, bottom 0.3s;
}

/*
* Active State, i.e. menu open
*/
.menu__button--htla.is-active {
  background-color: #fafafa;
  box-shadow: inset 0 0 8px #5595b5;
}

.menu__button--htla.is-active span {
  transform: rotate(180deg);
  background: #6bb04e;
}

.menu__button--htla.is-active span::before,
.menu__button--htla.is-active span::after {
  width: 50%;
  background-color: #6bb04e;
}

.menu__button--htla.is-active span::before {
  top: 0;
  transform: translateX(12px) translateY(1px) rotate(45deg);
}

.menu__button--htla.is-active span::after {
  bottom: 0;
  transform: translateX(12px) translateY(-1px) rotate(-45deg);
}

/* Code Block
   ========================================================================== */
.pre {

}

code {
  background: #333447;
  color: #fafafa;
  display: inline-block;
  font-family: monospace !important;
  font-weight: normal;
  padding-left: 5px;
  padding-right: 5px; 
}

.code {
  background: #333447;
  color: #fafafa;
  display: block;
  font-family: monospace !important;
  overflow: scroll;
  font-weight: normal;
}



/* Main Navigation
   ========================================================================== */
.main-navigation {
  position: fixed;
  height: 100vh;
  width: 100vw;
  float: left;
  background: #5595b5;
  z-index: 0;
  margin-top: 30px;
}

.main-navigation__list {
  list-style-type: none;
  padding: 0;
  margin: 0;
}

.main-navigation__list__item a{
  color: #f8f8f8;
  display: block;
  width: 100%;
  padding: 10px 20px;
  text-decoration: none;
  border-bottom: 1px solid #f8f8f8;
}

/* Body Container
   ========================================================================== */

.body-container {
  background-color: #fff;
  position: relative;
  padding-bottom: 50px;
  z-index: 5;
  left: 0;
  transition: left 0.5s;
  box-shadow: -3px 0 5px rgba(0,0,0,.25);
  min-height: 98vh;
}

.body-container--push-right {
  left: 70%;
}

.reset-svg {
  max-width: 40px;
}