@import url('https://waps.l3s.uni-hannover.de/live/cs_/https://fonts.googleapis.com/css2?family=Archivo:wght@700&display=swap');
@font-face {
  font-family: 'Aileron';
  src: url('/live/oe_/https://mcluck.tech/assets/aileron-light-webfont.woff') format('woff');
}

@font-face {
  font-family: 'Cascadia Code';
  src: url('/live/oe_/https://mcluck.tech/assets/CascadiaCode.otf') format('opentype');
}

@font-face {
  font-family: 'Wallpoet';
  src: url('/live/oe_/https://mcluck.tech/assets/Wallpoet-Regular.ttf') format('truetype');
}

@font-face {
  font-family: 'Archivo';
  src: url('/live/oe_/https://mcluck.tech/assets/Archivo-Bold.ttf') format('truetype');
}

h1,
h2,
h3,
h4,
h5 {
  font-family: 'Archivo', sans-serif;
}

header {
  display: flex;
  width: 100%;
  margin: 0 auto;
  margin-bottom: 2em;
  border-bottom: solid 1px #fff;
  background: #0c0c0c;
  color: hsl(163, 30%, 96%);
  border-bottom-color: #aaffdd;
}
header .right {
  display: flex;
  flex: 1;
  align-self: flex-end;
  justify-content: flex-end;
  margin-bottom: 0.5em;
}

header h1 {
  font-family: 'Wallpoet', sans-serif;
  margin-left: 1em;
}

header a {
  color: #e6e6e6 !important;
}

body {
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  font-family: 'Aileron', sans-serif;
  color: #e6e6e6;
  background-attachment: fixed;
}

a {
  text-decoration: none;
}

code {
  font-family: 'Cascadia Code', 'Fira Code Retina', monospace;
  font-size: 10pt;
}

.toggle-theme {
  background: transparent;
  border: none;
  cursor: pointer;
  margin: 0 1em;
  padding: 0;
}
.toggle-theme:focus {
  outline: 0;
}

.toggle-theme img {
  width: 1.5em;
  height: 1.5em;
}

/* Dark theme */
.dark body {
  background-color: #000;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='49' viewBox='0 0 28 49'%3E%3Cg fill-rule='evenodd'%3E%3Cg id='hexagons' fill='%23192923' fill-opacity='0.4' fill-rule='nonzero'%3E%3Cpath d='M13.99 9.25l13 7.5v15l-13 7.5L1 31.75v-15l12.99-7.5zM3 17.9v12.7l10.99 6.34 11-6.35V17.9l-11-6.34L3 17.9zM0 15l12.98-7.5V0h-2v6.35L0 12.69v2.3zm0 18.5L12.98 41v8h-2v-6.85L0 35.81v-2.3zM15 0v7.5L27.99 15H28v-2.31h-.01L17 6.35V0h-2zm0 49v-8l12.99-7.5H28v2.31h-.01L17 42.15V49h-2z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  color: hsl(163, 30%, 96%);
}

.dark a {
  color: #81c5ff;
}

.dark blockquote {
  background: #31312b;
}

.toggle-theme {
  filter: invert(100%);
}

/* Light theme */
.light body {
  color: #000;
  background-color: #eee;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='49' viewBox='0 0 28 49'%3E%3Cg fill-rule='evenodd'%3E%3Cg id='hexagons' fill='%23ffffff' fill-opacity='0.4' fill-rule='nonzero'%3E%3Cpath d='M13.99 9.25l13 7.5v15l-13 7.5L1 31.75v-15l12.99-7.5zM3 17.9v12.7l10.99 6.34 11-6.35V17.9l-11-6.34L3 17.9zM0 15l12.98-7.5V0h-2v6.35L0 12.69v2.3zm0 18.5L12.98 41v8h-2v-6.85L0 35.81v-2.3zM15 0v7.5L27.99 15H28v-2.31h-.01L17 6.35V0h-2zm0 49v-8l12.99-7.5H28v2.31h-.01L17 42.15V49h-2z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.light a {
  color: #0071d1;
}

.light header a {
  color: #000;
}

.light blockquote {
  background: #fffaec;
}

.dark body::-webkit-scrollbar {
  width: 0.75em;
}

.dark body::-webkit-scrollbar-thumb {
  border-radius: 0.5em;
  background: #000;
  border: solid 1px #afd;
}

.light body::-webkit-scrollbar {
  width: 0.75em;
}

.light body::-webkit-scrollbar-thumb {
  border-radius: 0.5em;
  background: #fff;
  border: solid 1px #000;
}
