html {
  font-family: Arial, sans serif;
  font-size: 1.1rem;
  line-height: 1.5rem;
  font-weight: 400;
  font-style: normal;
  text-size-adjust: 100%;
  vertical-align: baseline;
  color: #333;
  margin: 0 auto;
}

body {
  margin: 0;
}

h1 {
  font-size: 3rem;
  line-height: 3rem;
  font-weight: 500;
  margin: 0;
  margin-bottom: 2rem;
}

h1 > .subtitle {
  display: block;
  font-size: 2.5rem;
  line-height: 2.5rem;
  margin: 0.5rem 0;
}

h2 {
  font-size: 2rem;
  line-height: 2rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
}

h3 {
  margin-top: 2rem;
  margin-bottom: 0.5rem;
}

div#header {
  border-bottom: 3px solid #333;
  margin-bottom: 40px;
}

section#content {
  padding: 0 20px;
  max-width: 800px;
  margin: 0 auto;
}

nav {
  max-width: 800px;
  display: flex;
  font-size: 2.5rem;
  line-height: normal;
  justify-content: space-between;
  padding: 20px;
  padding-bottom: 0;
  margin: 0 auto;
}

nav a {
  color: #333;
  text-decoration: none;
}

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

a {
  color: #4070a0;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

figure {
  margin-inline: 0;
}

img {
  max-width: 100%;
  margin: 0 auto;
  display: block;
}

figcaption {
  padding-top: 5px;
  text-align: center;
  font-size: 0.9rem;
}

figcaption > p {
  margin-block-start: 0;
  margin-block-end: 0;
}

li {
  padding: 0.25em 0;
}

li > p {
  margin: 0;
}

code {
  background-color: #e6e6e6;
  border-radius: 3px;
  font-family: monospace;
  overflow-wrap: break-word;
  padding: 1px;
}

.breakable-code {
  background-color: #e6e6e6;
  border-radius: 3px;
  font-family: monospace;
  overflow-wrap: break-word;
  padding: 1px;
}

pre code {
  background-color: initial;
  border: none;
}

pre {
  max-height: min(20rem, 50vh);
  background-color: #282c34;
  padding: 10px;
  color: #e6e6e6;
  line-height: normal;
  border-radius: 3px;
  overflow: auto;
}

pre .language-command-output {
  line-height: normal;
  color: #e6e6e6;
  background-color: #282c34;
}

.date {
  font-size: 0.9rem;
  color: #6c6c6c;
}

.description {
  max-width: 400px;
  font-size: 0.9rem;
  line-height: 1.1rem;
}


.caption {
  border-bottom: 1px solid gray;
  line-height: 0;
  text-align: center;
  margin: 0 10px;
  margin-bottom: 1em;
}

.filename {
  background: white;
  padding: 0 10px;
  font-size: 0.9rem;
  font-family: monospace;
}

.filename .download {
  padding-left: 5px;
  font-family: Arial;
}

.signature {
  margin-top: 2rem;
  font-size: 0.8rem;
}

.call-out {
  background-color: #dbeafe;
  border-radius: 5px;
  padding: 0.1px .5rem;

  border-left: 5px solid #2d79f5;
}

.call-out > p {
  margin-block-start: 0.5rem;
  margin-block-end: 0.5rem;
}

.series-overview > p {
  margin-block-start: 0.1rem;
  margin-block-end: 0.1rem;
}

.highlight {
  overflow: auto;

  border-radius: 3px;
  margin: 1em 0;
  line-height: normal;
  color: #61afef;
  background-color: #282c34;
}

.highlight.script > pre {
  max-height: min(50rem, 80vh);
}

.highlight code {
  padding: 0;
}

highlight > pre {
  margin: 0;
}

.highlight.execution .line:first-child::before {
  font-family: monospace;
  content: '$ ';
  color: white;
}

.highlight.execution.root .line:first-child::before {
  font-family: monospace;
  content: '# ';
  color: white;
}

.chroma {
  margin: 0;
}

.activitypub-reference {
  font-weight: bold;
  border-radius: 3px;
  padding: 1px;
}

.activitypub-reference.activitypub-academy {
  color: #364fc7;
}

.activitypub-reference.techhub-social, .activitypub-reference.lemmy-academy {
  color: #087f5b;
}

.activitypub-reference.mastodon-social, .activitypub-reference.lemmy-world, .activitypub-reference.threads {
  color: #AE4774;
}
