@font-face {
  font-family: "Victor Mono";
  src: url("/fonts/victor-mono-latin-wght-normal.woff2") format("woff2");
  font-weight: 100 700;
  font-display: swap;
}

@font-face {
  font-family: "Victor Mono";
  src: url("/fonts/victor-mono-latin-wght-italic.woff2") format("woff2");
  font-weight: 100 700;
  font-style: italic;
  font-display: swap;
}
:root {
  --background: #27314F;
  --accent: #4A5680;
  --text: #E3EAFF;
}

body {
  font-family: "Victor Mono", ui-monospace, monospace;
  background-color: var(--background);
  color: var(--text);
  font-size: 1rem;

  margin: 1rem;
}

h1 {
  margin-top: 0;
}

.toc {
  margin: 0 0 2rem 0;
}
.toc ul {
  list-style: none;
  margin: 0;
  padding:0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  text-decoration: none;
}
.toc li:first-child {
  flex-basis: 100%;
  text-align: center;
}
.toc a {
  color: inherit;
  text-decoration: none;
  border-top: 2px solid transparent;
  border-right: 2px solid transparent;
  border-left: 2px solid var(--accent);
  border-bottom: 2px solid var(--accent);
  padding: 0.25rem 0.5rem;
  font-style: italic;
}

.toc a:hover {
  border-color: var(--accent);
}
.toc a[aria-current="page"] {
  border-top-color: currentColor;
  border-right-color: currentColor;
}

.foodforthought {
  background-color: var(--accent);
  padding: 0.75rem;
}
.quote {
  font-style: italic;
}

.tweetstorm ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: block;
  align-items: baseline;
}
.tweetstorm a {
  color: inherit;
  padding: 1rem 0 1rem 0;
  text-decoration: none;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  border-bottom: 2px solid var(--accent);
}
.tweetstorm a:hover {
  color: var(--accent);
}
.tweetstorm time {
  font-size: 0.75rem;
}

.datestamp {
  font-size: 0.75rem;
}
.hi {
  margin-top: 0.75rem;
}

.disclaimer {
  font-size: 0.75rem;
}
.showcase {
  margin-top:0.75rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
summary:hover {
  cursor: pointer;
  color: var(--accent);
}

.end {
  padding: 2rem 0 2rem 0;
}
.end ul{
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: center;
  gap: 1rem;
}

.end a {
  color: inherit;
  text-decoration: underline;
}

@media (min-width: 60rem) {
  body {
    max-width: 60rem;
    margin-left: auto;
    margin-right:auto;

    display: grid;
    grid-template-columns: 5rem 1fr;
    gap: 3rem;
  }

  .toc {
    margin: 0;
  }
  .toc ul {
    flex-direction: column;
  }
  .toc li:first-child {
    flex-basis: auto;
    text-align: left;
  }
  .toc a {
    display: block;
  }

  .end ul {
    justify-content: flex-start;
  }
}
