@charset "UTF-8";
@media screen and (max-width: 30em) {
  .flex-20-s {
    flex: 0 0 20%; } }

@media screen and (min-width: 30em) and (max-width: 60em) {
  .max-width-half-m {
    max-width: 50%; } }

@media screen and (min-width: 60em) {
  .max-width-quarter-l {
    max-width: 25%; }
  .mw-50-l {
    max-width: 50%; }
  .mw-33-l {
    max-width: 33%; }
  .mw-67-l {
    max-width: 67%; } }

:root, :root:not([data-theme]) {
  --gray: #2a3439;
  --red: #a72145;
  --yellow: #ffc832;
  --code-color: black;
  --code-bg-color: rgba(42, 52, 57, 0.05);
  --code-border-color: rgba(42, 52, 57, 0.25);
  --blockquote-color: black;
  --blockquote-bg-color: rgb(247, 249, 249);
  --blockquote-left-border-color: rgb(195, 205, 210);
  --body-background-color: white;
  --body-foreground-color: white;
  --body-color: rgb(34,34,34);
  --div-brand-a-color: black;
  --white-elem-color: black;
  --white-a: #2a3439;
  --nav-links-a: #2a3439;
  --publish-date-author: #2a3439;
  --section-header-h2-color: black;
  --theme-icon: #43484d;
  --theme-popup-border: #43484d;
  --theme-popup-bg: white;
  --theme-hover: #cacaca;
  --theme-choice-color: black;
  --rust-logo-filter: initial; }

[data-theme='dark']:root {
  --gray: #2a3439;
  --red: #a72145;
  --yellow: #ffc832;
  --code-color: white;
  --code-bg-color: rgba(213, 203, 198, 0.05);
  --code-border-color: rgba(213, 203, 198, 0.25);
  --blockquote-color: rgb(195, 205, 210);
  --blockquote-bg-color: rgba(213, 203, 198, 0.05);
  --blockquote-left-border-color: rgb(195, 205, 210);
  --body-background-color: #181a1b;
  --body-foreground-color: #e8e6e3;
  --body-color: white;
  --div-brand-a-color: white;
  --white-elem-color: white;
  --white-elem-a: #d5cbc6;
  --nav-links-a: #d5cbc6;
  --publish-date-author: #d5cbc6;
  --section-header-h2-color: white;
  --theme-icon: #43484d;
  --theme-popup-border: #43484d;
  --theme-popup-bg: #141617;
  --theme-hover: #474c51;
  --theme-choice-color: #d5cbc6;
  --rust-logo-filter: drop-shadow(1px 0 0px #fff) drop-shadow(0 1px 0 #fff) drop-shadow(-1px 0 0 #fff) drop-shadow(0 -1px 0 #fff); }

html {
  font-size: 62.5%; }

@media screen and (min-width: 30em) {
  html {
    font-size: 75%; } }

body {
  font-family: "Fira Sans", Helvetica, Arial, sans-serif;
  background-color: var(--body-background-color);
  color: var(--body-color);
  /* Ensure the footer is always at the bottom of the screen */
  min-height: 100vh;
  display: flex;
  flex-direction: column; }
  body > #main-content {
    flex: 1; }

blockquote {
  font-style: italic;
  position: relative;
  background-color: var(--blockquote-bg-color);
  border-left: 8px solid var(--blockquote-left-border-color);
  border-radius: 5px;
  margin: 0;
  margin-bottom: 2rem;
  padding: 2rem; }
  blockquote:before {
    font-size: 4em;
    line-height: 0.1em;
    margin-right: 0.25em;
    vertical-align: -0.4em; }
  blockquote p:last-of-type {
    margin-bottom: 0; }

details > summary {
  cursor: pointer;
  font-style: italic; }

details > blockquote {
  font-style: normal; }

code {
  overflow: auto; }

section {
  padding: 30px 0 60px 0; }
  section header {
    padding: 30px 0 60px 0;
    display: inline-block; }
    section header h2 {
      font-size: 2.6em;
      font-family: "Alfa Slab One", serif;
      margin: 0;
      padding: 0;
      letter-spacing: 1px;
      color: var(--section-header-h2-color); }

header h1, section h2 {
  z-index: 999999;
  position: relative; }

header h1 {
  font-family: "Alfa Slab One", serif;
  font-size: 8rem;
  margin-bottom: 0;
  margin-top: 0; }

section {
  padding: 30px 0 60px 0; }

section .container {
  padding-top: 20px; }

ul.nav, ul.nav li {
  margin-bottom: 0; }

.nav a {
  color: var(--gray);
  color: var(--nav-links-a); }

div.brand {
  color: black;
  font-family: "Alfa Slab One", serif;
  font-size: 3rem;
  text-decoration: none;
  margin-top: 3px; }
  div.brand a {
    color: var(--div-brand-a-color);
    text-decoration: none; }
  div.brand img {
    width: 80px;
    margin-top: -3px; }
  div.brand span {
    display: inline-block;
    margin-left: -1rem; }

.white {
  color: var(--white-elem-color); }
  .white .highlight {
    background-color: var(--yellow); }
  .white a {
    color: var(--white-elem-a);
    text-decoration: underline; }
  .white .button.button-secondary {
    background-color: var(--yellow);
    color: var(--gray);
    border: 1px solid var(--yellow);
    text-decoration: none;
    display: block;
    overflow: hidden;
    text-overflow: ellipsis; }
    .white .button.button-secondary:hover, .white .button.button-secondary:focus {
      border-color: var(--gray); }
  .white code {
    color: var(--code-color);
    background-color: var(--code-bg-color);
    border: 1px solid var(--code-border-color); }
  .white a.anchor::before {
    content: "§";
    display: none;
    position: absolute;
    width: 1em;
    margin-left: -1em;
    text-decoration: none;
    opacity: 0.7;
    color: var(--gray);
    font-weight: normal; }
  .white :hover > a.anchor::before {
    display: block; }
  .white a.anchor:hover::before {
    opacity: 1; }

ul, ol {
  list-style-position: outside;
  padding-left: 1.2em; }

ul {
  list-style-type: disc; }

.posts {
  background-color: var(--gray);
  color: var(--body-foreground-color); }
  .posts .highlight {
    background-color: var(--red); }
  .posts a {
    color: var(--body-foreground-color);
    text-decoration: underline; }
  .posts .button.button-secondary {
    background-color: var(--red);
    border: 1px solid var(--red);
    color: white;
    text-decoration: none;
    display: block;
    overflow: hidden;
    text-overflow: ellipsis; }
    .posts .button.button-secondary:hover, .posts .button.button-secondary:focus {
      border-color: white; }
  .posts code {
    color: white;
    background-color: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.65); }

table.post-list a {
  text-decoration: none; }

table.post-list a:hover {
  text-decoration: underline; }

.publish-date-author {
  color: var(--publish-date-author);
  margin: -60px 0 60px 0; }

footer {
  padding: 30px 0;
  background-color: black;
  color: white; }
  footer ul {
    list-style-type: none;
    padding-left: 0; }
  footer a {
    color: var(--yellow);
    text-decoration: none; }
    footer a:hover {
      color: var(--yellow);
      text-decoration: underline; }

footer h4 {
  font-size: 1.2em;
  font-weight: 800; }

footer img {
  width: 40px;
  padding: 0 10px; }

footer .attribution {
  text-align: center;
  padding-top: 30px; }

h3, .post h2, header h2 {
  display: inline-block;
  font-weight: 800;
  font-size: 1.8em;
  letter-spacing: normal; }

.post h2 {
  font-size: 2em; }

.post h3 {
  display: block; }

.post img {
  display: block;
  margin-left: auto;
  margin-right: auto; }

.post .right-thumbnail {
  float: right;
  width: 150px;
  margin-left: 15px;
  margin-bottom: 15px;
  clear: right;
  box-shadow: 0 0 6px rgba(0, 0, 0, 0.3); }

header h1 {
  letter-spacing: 1px; }

.highlight {
  height: 12px;
  position: relative;
  top: 0;
  left: -10px;
  width: 120%;
  max-width: 90vw;
  border-radius: 2px; }

@media screen and (max-width: 769px) {
  .highlight {
    border-bottom-left-radius: 0;
    border-top-left-radius: 0; } }

.theme-icon {
  display: none;
  line-height: 2em;
  border: 2px solid var(--theme-icon);
  border-radius: 5px;
  padding: 0px 5px;
  color: var(--theme-choice-color); }
  .theme-icon:hover {
    color: var(--theme-choice-color); }

#theme-choice {
  display: none;
  border: 2px solid var(--theme-popup-border);
  border-radius: 5px;
  color: var(--theme-choice-color);
  background: var(--theme-popup-bg);
  position: absolute;
  list-style: none;
  font-weight: 400;
  padding: 0px;
  margin: 0.2em -0.5em; }

.theme-item {
  padding: 0px 5px; }

#theme-choice.showThemeDropdown {
  display: block;
  z-index: 1; }

li.theme-item:hover {
  background-color: var(--theme-hover); }

.rust-logo {
  filter: var(--rust-logo-filter); }
