html {
  background: #f9f9fc;
  color: #555;
  font-size: 20px;
  font-family: Libre Baskerville;
  line-height: 1.3;
  width: 40em;
}

a.nav-link {
  opacity: 0;
  transition: opacity .3s;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: Young Serif;
}
a.nav-link:hover {
  opacity: .4;
}
a.nav-link:active {
  opacity: .5;
}

a#toc-link {
  background: #f9f9fc;
  color: #555;
  width: 13em;
  height: 3em;
  position: fixed;
  top: 0;
  left: 0;
  box-shadow: -2px 1px 1px 1px black;
}

a#prev-link, a#next-link {
  font-size: 5em;
  width: 1em;
  height: 100%;
  position: fixed;
  top: 0;
}

a#prev-link {
  background: #f9f9fc;
  color: #555;
  left: 0;
  box-shadow: 1px 0 1px 1px black;
}

a#next-link {
  background: #555;
  color: #f9f9fc;
  right: 0;
  box-shadow: -1px 0 2px 2px black;
}

body {
  margin: 0;
  display: flex;
  flex-flow: row nowrap;
  justify-content: center;
}

#content {
  display: flex;
  flex-flow: row nowrap;
  width: 100%;
}

#left {
  flex: 0 0 13em;
  display: flex;
  flex-flow: column nowrap;
  align-items: flex-end;
  background: #555;
  color: #f9f9fc;
  box-shadow: 1px 0 1px 1px black;
}

#right {
  flex: 2 0;
  padding: 3em 1em 0 1em;
}

#doc {
  max-width: 34em;
  width: 34em;
  position: relative;
  padding-bottom: 100px;
}

#sidebar {
  position: sticky;
  top: 3em;
  text-align: right;
  margin: 0 1em 1em 1em;
}

#jumpnav {
  top: 7em;
  right: 0;
  width: 11em;
  text-align: right;
  opacity: .3;
  transition: opacity .3s;
}
#jumpnav:hover {
  opacity: 1;
}

#jumpnav a {
  text-decoration: none;
  font-family: Young Serif;
  font-variant: small-caps;
  color: #f9f9fc;
  transition: color .15s;
}
#jumpnav a:hover {
  color: #89e;
}
#jumpnav hr {
  width: 5em;
  margin-right: 0;
}

h1 {
  font-size: 1.2em;
  margin: 0;
  font-family: Young Serif;
  text-transform: uppercase;
}

.header {
  margin: 2em 0 0 0;
}
.header:first-child {
  margin-top: 0;
}
h2 {
  margin: 0;
  font-size: 1.4em;
  font-family: Young Serif;
  font-weight: normal;
}

h2 hr {
  background: #555;
  height: 1px;
  width: 75%;
  margin-top: 3em;
  margin-bottom: 3em;
}

.highlight {
  color: #e6a;
}


.identity-move {
  padding: .8em 0;
}
.move-name {
  padding-top: 1em;
  font-size: 1.5em;
  font-family: Young Serif;
  line-height: 1em;
}

p:first-child, .header + p {
  margin-top: 0;
}
p:last-child {
  margin-bottom: 0;
}

.stat {
  display: inline;
  font-family: Young Serif;
  text-transform: uppercase;
}

a {
  text-decoration: none;
  color: #666;
  transition: color .15s;
}
a:not(.section):hover {
  color: #89e;
}

.em {
  color: #777;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

p {
  margin: .5em 0;
}

li {
  margin: 0 0;
}

.move {
  margin-bottom: 3em;
}
.move h3 {
}

span.medium {
}

@media screen and (max-width: 1000px) {
  html {
    width: 100%;
  }
  #content {
    flex-flow: column nowrap;
  }
  #left {
    flex: 0 0 5em;
    font-size: .5em;
    align-items: center;
    padding: 1em 1em 0 1em;
  }
  #sidebar {
    text-align: center;
  }
  #right {
    display: flex;
    padding-top: 1em;
    justify-content: center;
  }
  h1 {
    font-size: 3em;
  }
  #jumpnav {
    display: none;
  }
}

table.equipment td:first-child {
  width: 300px;
}
table.equipment td:nth-child(2) {
  font-size: 25px;
  line-height: 0px;
}

@media only screen and (max-width: 750px) {
  html {
    font-size: 15px;
  }
}
@media only screen and (-webkit-min-device-pixel-ratio: 1.1) and (max-width: 1000px),
       only screen and (min-resolution: 97dpi) and (max-width: 1000px)
  {
  html {
    font-size: 30px;
  }
}
