/* Page styles from the original app.scss, vcss.scss and prism.scss. */
*,
::before,
::after {
  box-sizing: border-box;
}

html {
  cursor: default;
  line-height: 1.5;
  overflow-wrap: anywhere;
  tab-size: 4;
  -webkit-tap-highlight-color: transparent;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  color: #28143c;
  font-family: "Source Sans Pro", "Helvetica Neue", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.6;
}

main,
header,
footer {
  margin: 0 auto 16px;
  width: 100%;
}

main {
  display: block;
  padding: 0;
  width: calc(100% - 2rem);
  max-width: 750px;
}

body > header {
  width: 100%;
  background: white;
  opacity: 0.9;
  padding: 1rem;
  margin: 0;
}

body > header nav {
  max-width: 820px;
  margin: 0 auto;
}

body > header nav a {
  margin: 0 0.5rem;
}

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

a.navbar-logo {
  text-decoration: none;
}

a.navbar-logo img {
  max-height: 30px;
}

a.navbar-code svg {
  vertical-align: -0.125em;
}

.flex {
  display: flex;
  align-items: center;
}

.flex :first-child {
  flex-grow: 1;
}

footer {
  padding: 16px 0;
  text-align: center;
  color: #666;
  font-size: 95%;
}

p {
  margin: 0 0 16px;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: inherit;
  font-family: inherit;
  line-height: 1.2;
}

h1 {
  font-size: 40px;
  margin: 20px 0 16px;
}

h2 {
  font-size: 32px;
  margin: 20px 0 16px;
}

h3 {
  font-size: 25px;
  margin: 16px 0 8px;
}

h4 {
  font-size: 18px;
  margin: 16px 0 8px;
}

h5 {
  font-size: 16px;
  margin: 16px 0 8px;
}

h6 {
  font-size: 80%;
  margin: 16px 0 8px;
}

a {
  color: #44f;
  text-decoration: none;
  background-color: transparent;
}

a:hover,
a:focus {
  color: #11f;
  text-decoration: underline;
}

b,
strong {
  font-weight: bolder;
}

ul,
ol {
  margin-bottom: 8px;
  padding-left: 40px;
  vertical-align: baseline;
}

pre {
  background: #fafafa;
  color: #111;
  display: block;
  font-family: Menlo, Monaco, Consolas, "Courier New", monospace;
  font-size: 17px;
  margin: 16px 0;
  padding: 16px;
  white-space: pre-wrap;
  overflow-wrap: break-word;
  overflow: auto;
}

code {
  color: #111;
  font-family: Menlo, Monaco, Consolas, "Courier New", monospace;
  font-size: 17px;
  line-height: inherit;
  margin: 0;
  padding: 0;
  vertical-align: baseline;
  word-break: break-all;
  word-wrap: break-word;
}

:not(pre) > code {
  color: #28143c;
  font-size: 0.85em;
  background: #f3f3f5;
  border-radius: 4px;
  padding: 0.15em 0.35em;
  word-break: normal;
}

code[class*="language-"],
pre:has(> code[class*="language-"]) {
  font-size: 15px;
  text-align: left;
  white-space: pre;
  word-spacing: normal;
  word-break: normal;
  word-wrap: normal;
  tab-size: 2;
  hyphens: none;
}

blockquote {
  border-left: 2px solid #ccc;
  font-family: Georgia, Times, "Times New Roman", serif;
  font-style: italic;
  margin: 16px 0;
  padding-left: 16px;
}

hr {
  border: 0;
  border-top: 1px solid #eaeaea;
  display: block;
  margin: 16px 0;
  width: 100%;
  box-sizing: content-box;
  height: 0;
  overflow: visible;
}

table {
  border-collapse: collapse;
  border-color: inherit;
  text-indent: 0;
  margin-bottom: 16px;
}

th,
td {
  text-align: left;
  padding: 16px;
  vertical-align: inherit;
  border: 0;
}

/* Original Prism palette mapped to the Markdown renderer's Highlight.js. */
.hljs-comment,
.hljs-doctag,
.hljs-meta {
  color: #5a5a5a;
}

.hljs-punctuation {
  color: #999;
}

.hljs-attr,
.hljs-property,
.hljs-tag,
.hljs-literal,
.hljs-number,
.hljs-symbol,
.hljs-deletion {
  color: #905;
}

.hljs-selector-tag,
.hljs-string,
.hljs-built_in,
.hljs-addition {
  color: #690;
}

.hljs-operator,
.hljs-link {
  color: #9a6e3a;
  background: hsla(0, 0%, 100%, 0.5);
}

.hljs-keyword {
  color: #07a;
}

.hljs-title {
  color: #dd4a68;
}

.hljs-regexp,
.hljs-variable {
  color: #e90;
}

.hljs-strong {
  font-weight: bold;
}

.hljs-emphasis {
  font-style: italic;
}
