:root {
  --font-default: system-ui, sans-serif;
  --font-fancy: "poynter-oldstyle-display", serif;
  --font-mono: "source-code-pro", monospace;
}

html {
}

body {
  font: 16px "proxima-nova", system-ui;
  color: #343434;
  padding: 2em 0.5em;
  margin: 0 auto;

  -webkit-font-smoothing: antialiased;
}

#spiral {
  z-index: -1;
  position: absolute;
  top: -300px;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  width: 500px;
  height: 500px;
  max-width: 100%;
}

.container {
  max-width: 45rem;
  padding-left: 0.5em;
  padding-right: 0.5em;
  margin: 0 auto;
  position: relative;
}

.full-bleed {
  width: 100vw;
  margin-left: 50%;
  transform: translateX(-50%);
}

img {
  max-width: 100%;
}

p {
  line-height: 1.5;
}

ol > * + * {
  margin-block-start: 1rem;
}

body > header a {
  color: inherit;
  text-decoration: none;
  font-size: 2.5em;
  font-weight: 600;
  display: inline-block;
  margin-top: 1em;
  font-family: var(--font-fancy);
}

main h1 {
  font-family: var(--font-fancy);
  margin-top: 2em;
  font-size: 2.5em;
  font-weight: 800;
}

h1 {
  font-size: 2.5em;
  letter-spacing: 1px;
}

h1,
h2 {
  font-weight: 600;
}

h1 a {
  color: inherit;
  text-decoration: none;
}

h2 {
  margin-top: 40px;
  line-height: 1.6;
}

h3 {
  font-size: 1em;
  margin-top: 2em;
}

main a {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid #ccc;
  padding: 1px 0 0 0;
  margin: -1px 0;
}

main a:hover {
  color: black;
}

a:focus {
  outline: 0;
  background: #12213422;
  color: black;
  border-radius: 2px;
  border-color: #122134;
  box-shadow: 0 5px 0 -3px #12213433;
}

ul > * + li,
ol > * + li {
  margin-block-start: 0.5em;
}

main hr {
  border: 0;
  border-top: 1px solid #ccc;
  margin-block-start: 5em;
  margin-block-end: 5em;
  margin-inline-start: 40%;
  margin-inline-end: 40%;
}

code {
  font-family: var(--font-mono);
}

pre {
  background: rgba(0, 0, 0, 0.9);
  color: white;
  border-radius: 3px;
  padding: 1em;
  overflow-y: auto;
  font-size: 0.9em;
}

:not(pre) > code {
  background: rgba(0, 0, 0, 0.05);
  padding: 0px 4px;
  border-radius: 3px;
  font-size: 0.8em;
  position: relative;
  bottom: 0.05em;
}

main blockquote {
  border-inline-start: 3px solid rgba(0, 0, 0, 0.1);
  margin-inline-start: 0;
  padding-inline-start: 1em;
  font-style: italic;
  margin-block-start: 3em;
  margin-block-end: 3em;
}

iframe {
  border-radius: 3px;
  background: rgba(150, 150, 150, 0.1);
}

main > * + * {
  margin-top: 2em;
}

.visually-hidden {
  position: absolute !important;
  height: 1px;
  width: 1px;
  overflow: hidden;
  clip: rect(1px 1px 1px 1px); /* IE6, IE7 */
  clip: rect(1px, 1px, 1px, 1px);
  white-space: nowrap; /* added line */
}

.metadata {
  margin-bottom: 3em;
}

article {
  margin-block-start: 1em;
}

article .metadata {
  margin-block-end: 0;
  font-size: 0.8em;
}

article * {
  margin: 0;
}
article * + * {
  margin-block-start: 0.7em;
}

.notice {
  background: #384ff3;
  color: white;
  padding: 1em;
  border-radius: 0.5em;
  position: relative;
  border-left: 0.5em solid #ff4f5f;
}

.notice :first-child {
  margin-top: 0;
}

.notice a:hover,
.notice a:focus {
  color: white;
}
.notice a:focus {
  background: rgba(255, 255, 255, 0.2);
}

.subtitle {
  text-wrap: balance;
}
