body {
  margin: 0; }
  @media (min-width: 44rem) {
    body {
      margin: 8em 0; } }

.page {
  text-align: center;
  padding: 2em 0; }
  @media (min-width: 44rem) {
    .page {
      padding: 0; } }

.separator {
  height: 2.5em; }
  @media (min-width: 44rem) {
    .separator {
      height: 10em; } }

p.author {
  font-size: 1.4rem;
  margin-top: 2em;
  letter-spacing: 0.05em;
  padding-left: 0.43em;
  color: #888;
  font-weight: 300; }
  p.author a {
    text-decoration: none;
    color: inherit; }

.share {
  margin-top: -0.7rem;
  margin-bottom: 0.7rem;
  padding-left: 0.6rem;
  font-size: 0; }
  .share iframe {
    display: inline-block;
    vertical-align: middle;
    background: #eee;
    border-radius: 5px;
    margin-left: auto;
    margin-right: auto;
    border: 0;
    height: 2.4rem;
    width: 13.6rem;
    height: 1.6rem;
    opacity: 0.8; }
    .share iframe:hover {
      opacity: 1; }
    .share iframe.github {
      width: 8rem; }

h2 {
  font-weight: 300;
  text-transform: uppercase;
  letter-spacing: 0.4em;
  font-size: 1.375em;
  line-height: 1;
  position: relative;
  margin: 2.5rem 0;
  color: #aaa;
  padding: 0 1rem; }
  h2 span {
    margin-right: -0.4em; }
  @media (min-width: 44rem) {
    h2 {
      margin: 5rem 0; } }

ol.chapters {
  list-style-type: none;
  margin-left: 0; }
  ol.chapters > li {
    clear: left;
    counter-increment: chaptersCounter; }
    ol.chapters > li:after {
      content: "";
      display: table;
      clear: both; }
    ol.chapters > li::before {
      display: inline-block;
      vertical-align: middle;
      content: counter(chaptersCounter) " ";
      margin-bottom: 0.875rem;
      color: #aaa;
      text-align: center;
      width: 1em;
      margin-right: 0.625em;
      font-weight: 300;
      float: left; }
    ol.chapters > li.coming-soon::before {
      opacity: 0; }
    ol.chapters > li.coming-soon a {
      font-size: 0.8em;
      margin-top: 0.2em;
      opacity: 0.4; }
  ol.chapters:first-child {
    counter-reset: chaptersCounter; }
  ol.chapters a {
    display: inline-block;
    vertical-align: middle;
    margin-bottom: 1rem; }

ol.chapters, ul.potions, .preface-link {
  font-weight: 300;
  letter-spacing: 0.01em;
  margin-right: -0.01em;
  font-size: 1.25em;
  line-height: 1;
  position: relative;
  width: 14em;
  max-width: 100%;
  text-align: left;
  margin: 0 auto;
  padding: 0 1rem; }
  @media (min-width: 44rem) {
    ol.chapters, ul.potions, .preface-link {
      font-size: 1.75rem; } }
  @media (min-width: 72rem) {
    ol.chapters, ul.potions, .preface-link {
      font-size: 2rem; } }
  ol.chapters a, ul.potions a, .preface-link a {
    color: inherit;
    text-decoration: none;
    white-space: nowrap; }
    html[data-user-agent*="Chrome"] ol.chapters a:hover span, html[data-user-agent*="Chrome"] ul.potions a:hover span, html[data-user-agent*="Chrome"] .preface-link a:hover span {
      background: linear-gradient(#ffffff, #ffffff), linear-gradient(#ffffff, #ffffff), linear-gradient(#464646, #464646);
      background-size: 0.05em 2px, 0.05em 2px, 2px 2px;
      background-repeat: no-repeat, no-repeat, repeat-x;
      text-shadow: 0.03em 0 #fff, -0.03em 0 #fff, 0 0.03em #fff, 0 -0.03em #fff, 0.06em 0 #fff, -0.06em 0 #fff, 0.09em 0 #fff, -0.09em 0 #fff;
      background-position-y: 88%, 88%, 88%;
      background-position-x: 0%, 100%, 0%; }
      html[data-user-agent*="Chrome"] ol.chapters a:hover span::selection, html[data-user-agent*="Chrome"] ul.potions a:hover span::selection, html[data-user-agent*="Chrome"] .preface-link a:hover span::selection {
        text-shadow: 0.03em 0 currentColor, -0.03em 0 currentColor, 0 0.03em currentColor, 0 -0.03em currentColor, 0.06em 0 currentColor, -0.06em 0 currentColor, 0.09em 0 currentColor, -0.09em 0 currentColor;
        background: currentColor; }
      html[data-user-agent*="Chrome"] ol.chapters a:hover span::-moz-selection, html[data-user-agent*="Chrome"] ul.potions a:hover span::-moz-selection, html[data-user-agent*="Chrome"] .preface-link a:hover span::-moz-selection {
        text-shadow: 0.03em 0 currentColor, -0.03em 0 currentColor, 0 0.03em currentColor, 0 -0.03em currentColor, 0.06em 0 currentColor, -0.06em 0 currentColor, 0.09em 0 currentColor, -0.09em 0 currentColor;
        background: currentColor; }
      html[data-user-agent*="Chrome"] ol.chapters a:hover span[data-starts-with="T"], html[data-user-agent*="Chrome"] ul.potions a:hover span[data-starts-with="T"], html[data-user-agent*="Chrome"] .preface-link a:hover span[data-starts-with="T"] {
        background-size: 0.15em 2px, 0.05em 2px, 2px 2px; }

ul.potions, .preface-link {
  list-style: none;
  text-align: center; }
  ul.potions li, .preface-link li {
    margin-bottom: 0.5em; }

.logo.animated .the-magic-of {
  transition: opacity 800ms 1300ms ease-in-out;
  opacity: 0; }
  .trigger-pageload-animations .logo.animated .the-magic-of {
    opacity: 1; }
.logo.animated .css-rainbow .rainbow {
  -webkit-backface-visibility: hidden; }
.logo.animated .css-rainbow .css-rainbow-c .rainbow {
  transition: transform 800ms 0ms ease-in-out;
  transform: rotateZ(90deg); }
  .trigger-pageload-animations .logo.animated .css-rainbow .css-rainbow-c .rainbow {
    transform: rotateZ(-90deg); }
.logo.animated .css-rainbow .css-rainbow-s-1 .bottom-half .rainbow {
  transition: transform 400ms 600ms ease-in;
  transform: rotateZ(270deg); }
  .trigger-pageload-animations .logo.animated .css-rainbow .css-rainbow-s-1 .bottom-half .rainbow {
    transform: rotateZ(90deg); }
.logo.animated .css-rainbow .css-rainbow-s-1 .top-half .rainbow {
  transition: transform 400ms 1000ms ease-out;
  transform: rotateZ(90deg); }
  .trigger-pageload-animations .logo.animated .css-rainbow .css-rainbow-s-1 .top-half .rainbow {
    transform: rotateZ(270deg); }
.logo.animated .css-rainbow .css-rainbow-s-2 .bottom-half .rainbow {
  transition: transform 400ms 800ms ease-in;
  transform: rotateZ(270deg); }
  .trigger-pageload-animations .logo.animated .css-rainbow .css-rainbow-s-2 .bottom-half .rainbow {
    transform: rotateZ(90deg); }
.logo.animated .css-rainbow .css-rainbow-s-2 .top-half .rainbow {
  transition: transform 400ms 1200ms ease-out;
  transform: rotateZ(90deg); }
  .trigger-pageload-animations .logo.animated .css-rainbow .css-rainbow-s-2 .top-half .rainbow {
    transform: rotateZ(270deg); }

.page-inner > *:not(.logo) {
  transition: opacity 800ms 1300ms ease-in-out;
  opacity: 0; }
  .trigger-pageload-animations .page-inner > *:not(.logo) {
    opacity: 1; }
  .window-has-been-scrolled .page-inner > *:not(.logo), .has-been-here-before .page-inner > *:not(.logo) {
    transition: none; }

.trigger-pageload-animations.trigger-pageload-animations-3s .logo.animated:hover .css-rainbow .css-rainbow-c .rainbow {
  transition: transform 800ms 1200ms ease-in-out;
  transform: rotateZ(90deg); }
.trigger-pageload-animations.trigger-pageload-animations-3s .logo.animated:hover .css-rainbow .css-rainbow-s-1 .bottom-half .rainbow {
  transition: transform 400ms 1000ms ease-out;
  transform: rotateZ(270deg); }
.trigger-pageload-animations.trigger-pageload-animations-3s .logo.animated:hover .css-rainbow .css-rainbow-s-1 .top-half .rainbow {
  transition: transform 400ms 600ms ease-in;
  transform: rotateZ(90deg); }
.trigger-pageload-animations.trigger-pageload-animations-3s .logo.animated:hover .css-rainbow .css-rainbow-s-2 .bottom-half .rainbow {
  transition: transform 400ms 400ms ease-out;
  transform: rotateZ(270deg); }
.trigger-pageload-animations.trigger-pageload-animations-3s .logo.animated:hover .css-rainbow .css-rainbow-s-2 .top-half .rainbow {
  transition: transform 400ms 0ms ease-in;
  transform: rotateZ(90deg); }
