* {
  box-sizing: border-box;
  margin: 0;
  padding: 0; }

html {
  font-size: 10px; }

@font-face {
  font-family: "Open Sans";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: local("Open Sans Bold"), local("OpenSans-Bold"), url(opensans-bold-ext.woff2) format("woff2");
  unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face {
  font-family: "Open Sans";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: local("Open Sans Bold"), local("OpenSans-Bold"), url(opensans-bold.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face {
  font-family: "Open Sans";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: local("Open Sans Regular"), local("OpenSans-Regular"), url(opensans-normal-ext.woff2) format("woff2");
  unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face {
  font-family: "Open Sans";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: local("Open Sans Regular"), local("OpenSans-Regular"), url(opensans-normal.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face {
  font-family: "JetBrainsMono";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: local("JetBrainsMono"), url(jetbrainsmono-regular.woff2) format("woff2"); }
@font-face {
  font-family: "JetBrainsMono";
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: local("JetBrainsMono"), url(jetbrainsmono-italic.woff2) format("woff2"); }
@font-face {
  font-family: "JetBrainsMono";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: local("JetBrainsMono"), url(jetbrainsmono-medium.woff2) format("woff2"); }
@font-face {
  font-family: "JetBrainsMono";
  font-style: italic;
  font-weight: 500;
  font-display: swap;
  src: local("JetBrainsMono"), url(jetbrainsmono-medium-italic.woff2) format("woff2"); }
@font-face {
  font-family: "JetBrainsMono";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: local("JetBrainsMono"), url(jetbrainsmono-bold.woff2) format("woff2"); }
@font-face {
  font-family: "JetBrainsMono";
  font-style: italic;
  font-weight: 700;
  font-display: swap;
  src: local("JetBrainsMono"), url(jetbrainsmono-bold-italic.woff2) format("woff2"); }
@font-face {
  font-family: "JetBrainsMono";
  font-style: normal;
  font-weight: 900;
  font-display: swap;
  src: local("JetBrainsMono"), url(jetbrainsmono-extrabold.woff2) format("woff2"); }
@font-face {
  font-family: "JetBrainsMono";
  font-style: italic;
  font-weight: 900;
  font-display: swap;
  src: local("JetBrainsMono"), url(jetbrainsmono-extrabold-italic.woff2) format("woff2"); }
body {
  background: #fff;
  color: #444;
  display: grid;
  font-family: "Open Sans", sans-serif;
  font-size: 1.4rem;
  line-height: 1.9rem;
  grid-template-areas: "h c c" "n c c" "n l r" "f f f";
  grid-template-columns: 300px 1fr 1fr;
  grid-template-rows: 50px auto 50px auto; }

header {
  background: #eee;
  grid-area: h;
  position: fixed;
  z-index: 10; }
  header a {
    text-decoration: none; }
    header a h1 {
      border-bottom: 2px solid #ff8000;
      color: #ff8000;
      height: 50px;
      font-family: "JetBrainsMono";
      font-weight: 400;
      padding: 13px 20px 0;
      transition: background .1s, border .1s, color .1s;
      width: 300px; }
      header a h1:hover {
        background: #aa0000;
        border-bottom: 2px solid #aa0000;
        color: #fff; }

#menu {
  background: #f8f8f8;
  grid-area: n;
  padding: 20px; }
  #menu #search {
    background: #fff;
    border: 1px solid #888;
    cursor: pointer;
    display: block;
    font-family: "Open Sans", sans-serif;
    font-size: 1.4rem;
    font-weight: 400;
    height: 25px;
    left: 233px;
    margin-bottom: -25px;
    padding: 2px 0 2px 20px;
    opacity: 0;
    position: relative;
    transition: left .25s, margin .25s, opacity .25s, padding .25s, width .25s;
    width: 25px; }
    #menu #search:active, #menu #search:focus, #menu #search:not(:placeholder-shown) {
      border: 1px solid #444;
      left: 0;
      margin-bottom: 10px;
      opacity: 1;
      padding: 2px 5px 2px 25px;
      width: 258px; }
  #menu label {
    position: relative;
    left: 233px;
    top: 14px;
    transition: left .25s, top .25s; }
    #menu label::before {
      content: "";
      border: 2px solid #888;
      border-radius: 100%;
      display: block;
      height: 10px;
      left: 4px;
      pointer-events: none;
      position: absolute;
      top: 4px;
      width: 10px; }
    #menu label::after {
      content: "";
      background: #888;
      border-radius: 3px;
      display: block;
      left: 18px;
      pointer-events: none;
      position: absolute;
      width: 2px;
      height: 8px;
      top: 14px;
      transform: rotate(-45deg); }
  #menu #search:active + label, #menu #search:focus + label, #menu #search:not(:placeholder-shown) + label {
    left: 0;
    top: -21px; }
  #menu .menu-split {
    display: none; }
    #menu .menu-split.show {
      display: block; }
  #menu ul {
    list-style: none; }
    #menu ul ul {
      padding-left: 15px; }

main {
  background: #fff;
  grid-area: c;
  margin: 0 auto;
  max-width: 720px;
  padding: 7px 20px;
  width: 100%; }

#page-prev, #page-next {
  background: #f8f8f8;
  display: block;
  height: 50px;
  padding: 15px 20px; }
  #page-prev:hover, #page-next:hover {
    background: #fff; }

#page-prev {
  grid-area: l; }

#page-next {
  grid-area: r;
  text-align: right; }

footer {
  background: #eee;
  border-top: 2px solid #ddd;
  grid-area: f;
  padding: 20px;
  text-align: right; }

a {
  color: #888;
  text-decoration: underline; }
  a:hover {
    color: #666; }

main p, main h1, main h2, main h3, main ol, main ul {
  padding: 1rem 0; }
main ul ul, main ol ol {
  padding-left: 15px; }
main ul, main ol {
  list-style: inside; }
main pre {
  border: 1px solid #ddd;
  border-radius: 3px;
  margin: 1rem 0;
  max-width: 100%;
  overflow-x: auto;
  padding: 10px; }
  main pre code {
    padding-right: 10px; }
main code {
  color: #666;
  font-family: "JetBrainsMono", monospace; }
main table th, main table td {
  padding: 10px; }
main table th + th, main table td + td {
  border-left: 1px solid #ddd; }
main table tbody tr td {
  border-top: 1px solid #ddd; }
main .example {
  border-left: 2px solid #ddd;
  padding: 0 0 0 20px; }
