body {
  font-size: 16px;
  padding-top: 1px;
  margin-top: -1px;
}

.brand a, .brand a:hover, .brand a:active {
  color: #333;
  box-shadow: none;
  background: none;
}

.hero {
  position: relative;
  width: 100%;
  height: 70vh;
  transition: height 999999s;
  text-align: center;
  min-height: 300px;
  color: #333;
  padding: 1px 0;
  background: #B9DBFF url("https://upload.wikimedia.org/wikipedia/commons/thumb/2/22/View_of_Lake_Lugano_01.jpg/1280px-View_of_Lake_Lugano_01.jpg") no-repeat 50% center scroll;
    background-attachment: scroll;
    background-size: auto;
  background-size: cover;
}

.hero .content {
  position: relative;
  top: 50%;
  transform: translateY(-50%);
}

.hero h1 {
  font-size: 3em;
  padding: 0px;
  line-height: 1;
}

.hero h1,
.hero p {
  color: #fff;
  font-family: 'Dosis', Arial, Helvetica, sans-serif;
  margin: 0 1.2em;
}

.hero .links a {
  text-shadow: none;
}


.hero .slogan {
  font-size: 1.4em;
  margin: 0 1.2em 5px;
}

.hero .keepgoing {
  display: block;
  color: #fff;
  font-size: 2em;
  position: absolute;
  bottom: 10px;
  width: 100%;
  text-align: center;
  transition: all 0.5s ease 0s;
  opacity: .7;
  animation: bounce 1s ease infinite;
}

.hero .keepgoing:active,
.hero .keepgoing:focus {
  box-shadow: none;
  background: none;
}


.test section {
  width: 90%;
  max-width: 960px;
  margin: 80px auto;
}

.documentation h3 {
  padding: .6em 0 0;
}

.documentation pre + h3 {
  padding: 1.2em 0 0;
}

.documentation h3 + p {
  margin-top: .3em;
}

.thanks li {
  list-style-type: circle;
}

main section,
main section.flex {
  background: #fff;
  text-align: left;
  width: 90%;
  max-width: 960px;
  margin: 0 auto;
  padding: 80px 0 0;
}

#index section.flex:last-child {
  padding-bottom: 120px;
  text-align: center;
}

.hero + section.row {
  padding-top: 80px;
}

section.row .love {
  text-align: center;
  font-weight: bold;
}

nav {
  padding: 0 calc(50% - 480px);
}

nav.transparent {
  background: transparent;
  box-shadow: none;
}

main {
  width: 100%;
  background: #fff;
}

.cover {
  width: 100%;
  height: 100%;
  height: 100vh;
  position: fixed;
  z-index: -1;
  top: 0;
  left: 0;
  transform: translateZ(0);
  transition: height 999999s;
}

.color {
  background-color: #223344;
}

.city {
  background: url("img/city.svg") repeat top left;
  background-size: cover;
  background-position: center center;
}

.cloud {
  background: url("img/cloud.svg") repeat top left;
  background-size: 480px 320px;
  animation: cloud 30s linear infinite;
  opacity: .7;
}

.rain {
  background: url("img/drop.svg") repeat top left;
  background-size: 60px 60px;
  animation: rain .5s linear infinite;
  opacity: .4;
}

.wrap {
  width: 100%;
  height: 100%;
}

.install {
  width: 100%;
  max-width: 440px;
  color: #000;
  text-align: center;
  border-radius: 0px;
  margin: 1.3em auto 0.3em;
}

h2 {
  margin: 0px;
  padding: 0;
  line-height: 1;
}

.documentation h2 {
  padding-top: 3em;
  text-align: left;
}

.documentation pre + h2 {
  margin-top: 1em;
}

.documentation aside h2 {
  margin-top: 0;
  padding: 1.25em 0;
  line-height: 1;
}

.documentation .flex > * {
  padding-bottom: .3em;
}

.documentation aside a.pseudo {
  color: #0074D9;
  margin: 0;
}

aside a.button {
  display: block;
  text-align: left;
}

aside a.top {
  font-size: 0;
  position: fixed;
  bottom: 0;
  font-weight: bold;
  width: 180px;
  padding: .6em 0;
  margin-bottom: 0;
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
  transition: all .3s ease;
  text-align: center;
}

aside a.top.visible {
  font-size: 1em;
}

#index pre {
  box-sizing: border-box;
  margin: 0 -1.2em;
  width: calc(100% + 1.8em);
  padding: 0.6em 1.2em;
  line-height: 1.3;
}

@media (min-width: 600px) {
  #index pre {
    margin: 0;
    padding: 0.6em 0.9em;
  }
}

h2, h3, h4 {
  margin-bottom: .6em;
}

pre code {
  background: none;
}

@keyframes rain {
  from { background-position: 0 0; }
  to { background-position: -60px 60px; }
}

@keyframes cloud {
  from { background-position: 0 0; }
  to { background-position: -480px 0; }
}


@keyframes bounce {
  from { bottom: 20px; }
  70% { bottom: 10px; }
  to { bottom: 20px; }
}

code {
  word-wrap: normal;
  white-space: pre;
}

@media (min-width:926px) {
  nav {
    height: 4em;
  }
  nav .menu {
    font-size: 150%;
  }
  nav .logo {
    height: 3em;
  }
}

@media (max-width:60em) {
  nav .menu {
    min-height: 0;
    transform: translateY(-50%);
    top: 50%;
    position: relative;
    width: auto;
    margin-right: .3em;
  }

  nav.transparent .menu {
    background: transparent;
  }

  nav .menu > * {
    display: inline-block;
    margin: .3em .3em;
  }

  nav .menu > a {
    padding: .3em .6em;
  }

  .cover {
    position: absolute;
  }

  section.row {
    padding: 40px 0 0;
  }

  code {
    word-wrap: break-word;
    white-space: pre-wrap;
  }

  [class*=" icon-"]::before {
    margin: .2em;
  }

  .documentation {
    margin: 1em 0;
  }
}

@media all and (max-width: 1000px) {
  aside a.pseudo.top {
    background: rgba(255, 255, 255, .8);
    width: 100%;
    left: 0;
    text-align: center;
    z-index: 100;
  }
}

@media (max-width: 38em) {
  nav .menu {
    margin: 0;
    padding-right: .3em;
  }

  nav .menu > * {
    margin: .3em .1em;
  }

  nav .menu .text {
    display: none;
  }

  section.row {
    padding: 20px 0 0;
  }
}

@media (max-width: 21em) {
  section.row {
    padding: 10px 0 0;
  }
}



/* Prism */
/* http://prismjs.com/download.html?themes=prism&languages=markup+clike+javascript */
/**
 * prism.js default theme for JavaScript, CSS and HTML
 * Based on dabblet (http://dabblet.com)
 * @author Lea Verou
 */

code[class*="language-"],
pre[class*="language-"] {
  color: black;
  text-shadow: 0 1px white;
  font-family: Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace;
  direction: ltr;
  text-align: left;
  white-space: pre;
  word-spacing: normal;
  word-break: normal;
  word-wrap: normal;
  line-height: 1.5;

  -moz-tab-size: 4;
  -o-tab-size: 4;
  tab-size: 4;

  -webkit-hyphens: none;
  -moz-hyphens: none;
  -ms-hyphens: none;
  hyphens: none;
}

pre[class*="language-"]::-moz-selection, pre[class*="language-"] ::-moz-selection,
code[class*="language-"]::-moz-selection, code[class*="language-"] ::-moz-selection {
  text-shadow: none;
  background: #b3d4fc;
}

pre[class*="language-"]::selection, pre[class*="language-"] ::selection,
code[class*="language-"]::selection, code[class*="language-"] ::selection {
  text-shadow: none;
  background: #b3d4fc;
}

@media print {
  code[class*="language-"],
  pre[class*="language-"] {
    text-shadow: none;
  }
}

/* Code blocks */
pre[class*="language-"] {
  padding: 1em;
  overflow: auto;
  width: calc(100% + 1.8em);
  margin: .5em -1.2em;
}

@media (min-width: 600px) {
  pre[class*="language-"] {
    width: 100%;
    margin: .5em 0;
  }
}

pre code {
  font-size: 16px;
}

:not(pre) > code[class*="language-"],
pre[class*="language-"] {
  background: #f5f2f0;
}

/* Inline code */
:not(pre) > code[class*="language-"] {
  padding: .1em;
  border-radius: .3em;
  white-space: normal;
}

.token.comment,
.token.prolog,
.token.doctype,
.token.cdata {
  color: slategray;
}

.token.punctuation {
  color: #999;
}

.namespace {
  opacity: .7;
}

.token.property,
.token.tag,
.token.boolean,
.token.number,
.token.constant,
.token.symbol,
.token.deleted {
  color: #905;
}

.token.selector,
.token.attr-name,
.token.string,
.token.char,
.token.builtin,
.token.inserted {
  color: #690;
}

.token.operator,
.token.entity,
.token.url,
.language-css .token.string,
.style .token.string {
  color: #a67f59;
}

.token.atrule,
.token.attr-value,
.token.keyword {
  color: #07a;
}

.token.function {
  color: #DD4A68;
}

.token.regex,
.token.important,
.token.variable {
  color: #e90;
}

.token.important,
.token.bold {
  font-weight: bold;
}
.token.italic {
  font-style: italic;
}

.token.entity {
  cursor: help;
}

#about > img {
  width: 5em;
  border-bottom: 5px solid red;
}

.highlight {
  background-color: lightyellow;
  padding: 10px;
  margin: 1em -10px;
}
p.larger {
  font-size: 150%;
}
