.title {
  color: #e16363;
}

h1,
h2,
h3 {
  font-family: 'Work Sans', sans-serif;
  font-weight: normal;
  color: #eee;
  align-self: center;
  text-align: center;
  margin: 0;
}

h4 {
  color: #eee;
}

a {
  color: #8a92a4;
  font-weight: bold;
}

a:hover {
  color: #7988d7;
}

#page {
  margin-top: 2.5em;
}

body {
  font-family: 'Work Sans', helvetica;
  background-color: #16181c;
  color: #ccc;
  display: flex;
  flex-direction: column;
  padding-bottom: 20px;
  scrollbar-gutter: stable;
  overflow-y: scroll;
}

p {
  line-height: 1.4;
  margin: 0;
}

nav {
  padding-top: 1rem;
  font-weight: bold;
}

nav a {
  color: white;
  text-decoration: none;
}


nav a:hover {
  text-decoration: underline;
}

#content {
  align-self: center;
  box-sizing: border-box;
  padding: 0 30px;
/*  max-width: min(600px, 100vw);*/
  max-width: max(60%, 45em);
}

@media (max-width: 1200px) {
    #content {
         max-width: none;
    }
}

.centered {
  align-self: center;
  text-align: center;
}

p:has(+ pre) {
  margin-bottom: 0;
}

p+pre {
  margin-top: 5px;
}

pre {
  overflow: auto;
  border-top: 1px solid #aaa;
  border-bottom: 1px solid #aaa;
  padding: 4px 0;
  background-color: #111;

}

code {
  font-variant-ligatures: none;
  font-feature-settings: "liga" 0;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.9rem;
}

p>code,
a>code,
h1>code,
h2>code,
h3>code,
h4>code,
h5>code,
li>code {
  font-weight: bold;
  color: #ddd;
  font-size: 1em;
}

.copy-button {
  font-family: sans-serif;
  font-size: 0.8rem;
  text-decoration: underline;
}

table th {
  border-bottom: 1px solid #ccc;
}

img,
video {
  margin: 0;
  max-width: 100%;
}

.warning {
  border-color: #CCCC49 !important;
}

.warning h1 {
  border-color: #CCCC49 !important;
  background-color: #CCCC49 !important;
}

.block {
  border: 1px dashed #CCC;
}

.block.padded {
  margin: 10px;
  border: 1px solid #CCC;
}

.block p {
  padding-top: 0;
  font-size: 0.9em;
  padding-left: 15px;
  padding-right: 15px;
}

.block h1 {
  font-size: 1.17em;
  position: relative !important;
  margin: 0 !important;
  text-align: left;
  padding-left: 15px;
  padding-right: 15px;
  padding-top: 2px !important;
  border: 1px solid #CCC;
  color: #111;
  background-color: #CCC;
}

.nopara p {
  padding: 0;
  margin: 0px;
  margin-bottom: -5px;
}


li {
  padding: 1px 0;
  margin-top: 1.5em;
}

:root {
  /* guess which browser needed this */
  font-size: 1rem;
}

@media screen and (min-width: 800px) and (max-width: 1000px) {
  :root {
    zoom: 1.2;
  }
}

@media screen and (min-width: 1000px) and (max-width: 1200px) {
  :root {
    zoom: 1.3;
  }
}

@media screen and (min-width: 1200px) and (max-width: 1400px) {
  :root {
    zoom: 1.4;
  }
}

@media screen and (min-width: 1400px) and (max-width: 1600px) {
  :root {
    zoom: 1.5;
  }
}

@media screen and (min-width: 1400px) and (max-width: 1600px) {
  :root {
    zoom: 1.55;
  }
}


@media screen and (min-width: 1400px) and (max-width: 1600px) {
  :root {
    zoom: 1.6;
  }
}

@media screen and (min-width: 1600px) and (max-width: 1800px) {
  :root {
    zoom: 1.65;
  }
}

@media screen and (min-width: 1800px) {
  :root {
    zoom: 1.7;
  }
}

b {
#  color: #eee;
}
