@font-face {
  font-family: Lato;
  font-style: normal;
  font-weight: 300;
  src: local("Lato Light"), local("Lato-Light"), url("../fonts/lato-v14-latin-300.woff2") format("woff2");
  font-display: swap
}

@font-face {
  font-family: Lato;
  font-style: normal;
  font-weight: 400;
  src: local("Lato Regular"), local("Lato-Regular"), url("../fonts/lato-v14-latin-regular.woff2") format("woff2");
  font-display: swap
}

@font-face {
  font-family: Lato;
  font-style: normal;
  font-weight: 700;
  src: local("Lato Bold"), local("Lato-Bold"), url("../fonts/lato-v14-latin-700.woff2") format("woff2");
  font-display: swap
}

:root {
  --bg: #333;
  --surface: #444;
  --surface2: #2b2b2b;
  --text: #ddd;
  --muted: #aaa;
  --link: #fc0;
  --hover: #f90;
  --border: #555;
  --max: 978px
}

* {
  box-sizing: border-box
}

html {
  font-size: 16px;
  -webkit-text-size-adjust: 100%
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 16px/1.625 Lato, "Helvetica Neue", Arial, sans-serif;
  text-shadow: 0 1px 3px rgba(0, 0, 0, .5)
}

a {
  color: var(--link);
  text-decoration: none
}

a:hover,
a:focus {
  color: var(--hover)
}

.wrap {
  width: min(var(--max), calc(100% - 40px));
  margin: auto
}

.site-header {
  background: var(--surface2);
  border-bottom: 1px solid #444
}

.nav {
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px
}

.brand {
  font-weight: 700;
  color: #fff;
  font-size: 1.25rem
}

.navlinks {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  font-size: .9rem
}

.navlink-current {
  color: var(--hover)
}

.hero {
  padding: 64px 0 48px;
  max-width: 820px
}

.eyebrow {
  color: var(--link);
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase
}

.hero h1 {
  margin: .15em 0 .25em;
  color: #fff;
  font-size: clamp(3rem, 8vw, 5rem);
  line-height: 1;
  font-family: Arial, sans-serif
}

.lead {
  font-size: 1.45rem;
  font-weight: 300;
  line-height: 1.45
}

.content {
  padding: 20px 0 80px
}

.content h2 {
  margin-top: 2.1em;
  color: #fff;
  font-weight: 300
}

.content h3 {
  color: #fff
}

.content p,
.content li {
  max-width: 850px
}

.content li {
  margin: .35em 0
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px
}

.card {
  display: block;
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 4px solid transparent;
  border-radius: 8px;
  padding: 24px;
  color: var(--text);
  transition: .15s
}

.card:hover {
  border-left-color: var(--link);
  transform: translateY(-2px)
}

.card h3 {
  margin: 0 0 8px;
  color: var(--link);
  font-size: 1.35rem
}

.card p {
  margin: 0;
  color: #ccc
}

.notice {
  padding: 18px 22px;
  margin: 24px 0;
  background: #45413a;
  border-left: 4px solid var(--link)
}

.code {
  background: #202020;
  border: 1px solid #555;
  border-radius: 6px;
  padding: 18px;
  overflow: auto;
  color: #eee;
  font: 14px/1.5 Menlo, Consolas, monospace;
  white-space: pre-wrap
}

.table-wrap {
  overflow-x: auto
}

table {
  width: 100%;
  border-collapse: collapse;
  margin: 18px 0;
  background: #3b3b3b
}

th,
td {
  padding: 9px 11px;
  border: 1px solid #555;
  text-align: left;
  vertical-align: top
}

th {
  background: #292929;
  color: #fff
}

img {
  max-width: 100%;
  height: auto
}

.image-placeholder {
  min-height: 180px;
  margin: 24px 0;
  background: #3d3d3d;
  border: 1px dashed #777;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #999
}

.breadcrumbs {
  font-size: .85rem;
  color: #999;
  margin-bottom: 18px
}

.breadcrumbs a {
  color: var(--link)
}

.site-footer {
  background: var(--surface2);
  border-top: 1px solid #444;
  padding: 28px 0 40px;
  color: #999;
  font-size: .85rem
}

.footer-nav {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  margin-bottom: 8px
}

@media(max-width:700px) {
  .wrap {
    width: calc(100% - 30px)
  }

  .card-grid {
    grid-template-columns: 1fr
  }

  .nav {
    align-items: flex-start;
    padding: 15px 0;
    flex-direction: column
  }

  .hero {
    padding: 42px 0 30px
  }

  .hero h1 {
    font-size: 3.3rem
  }
}

/* Documentation layout */
.docs-layout {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 34px;
  align-items: start;
}

.docs-sidebar {
  position: sticky;
  top: 24px;
  padding: 18px 0 8px;
  font-size: .9rem;
}

/* Documentation navigation settings */
.docs-menu-title {
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border);
  font-weight: 700;
}

.docs-sidebar h4 {
  margin: 18px 0 5px;
  color: #fff;
  font-size: .78rem;
  letter-spacing: .08em;
  text-transform: uppercase;
}

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

.docs-sidebar li {
  margin: 0;
}

.docs-sidebar li a {
  display: block;
  padding: 2px 10px;
  border-left: 3px solid transparent;
  color: #bbb;
}

.docs-sidebar li a:hover,
.docs-sidebar li.current a {
  border-left-color: var(--link);
  color: var(--link);
}

.doc-content {
  min-width: 0;
}

.doc-content h1 {
  margin-top: 0;
  color: #fff;
  font-weight: 300;
}

.docs-mobile {
  display: none;
}

#doc-nav {
  width: 100%;
  padding: 9px 10px;
  border: 1px solid var(--border);
  border-radius: 5px;
  background: #292929;
  color: var(--text);
  font: inherit;
}

@media(max-width:800px) {
  .docs-layout {
    display: block;
  }

  .docs-sidebar {
    display: none;
  }

  .docs-mobile {
    display: block;
    margin-bottom: 24px;
  }
}
