:root {
  --link-color: #0c0;
  --text-color: #efefef;
  --bg-color: #222;
}
::selection {
  color: var(--bg-color);
  background: var(--text-color);
}
* {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  padding: 0;
  margin: 0;
  font-family: "Victor Mono", monospace;
  line-height: 1.5rem;
}
html {
  font-size: clamp(12px, 2vw, 14px);
}
body {
  color: var(--text-color);
  background-color: var(--bg-color);
  background-image: url("/assets/background.jpg");
  background-position: bottom right;
  background-attachment: fixed;
  background-size: 100vmin;
  background-repeat: no-repeat;
  background-blend-mode: multiply;
  padding: 30px;
}
hr {
  display: block;
  margin: 20px 0;
}
h1 {
  display: inline-block;
  margin-bottom: 2rem;
}
h2 {
  display: inline-block;
  margin: 1rem 0;
}
p {
  margin: 0.5rem 0;
}
small {
  font-size: 0.75rem;
}
a {
  color: var(--link-color);
  position: relative;
  text-decoration: none;
}
a::before {
  content: "";
  position: absolute;
  width: 100%;
  height: 2px;
  border-radius: 2px;
  background-color: var(--link-color);
  bottom: 0;
  left: 0;
  transform-origin: right;
  transform: scaleX(0);
  transition: transform 0.15s ease-in-out;
}
a:hover::before {
  transform-origin: left;
  transform: scaleX(1);
}
ul {
  columns: 3;
  -webkit-columns: 3;
  -moz-columns: 3;
}
@media (max-width: 1000px) {
  ul {
    columns: 2;
    -webkit-columns: 2;
    -moz-columns: 2;
  }
}
@media (max-width: 500px) {
  ul {
    columns: 1;
    -webkit-columns: 1;
    -moz-columns: 1;
  }
}
ul.links {
  list-style: none;
}
[data-tooltip-template] {
  cursor: help;
  text-decoration-line: underline;
  text-decoration-style: dotted;
  text-decoration-color: var(--link-color);
  text-decoration-thickness: 2px;
}
[data-tippy-root] .tippy-content {
  padding: 5px;
}
[data-tippy-root] .tippy-content img {
  max-width: 100%;
}
@media print {
  :root {
    --link-color: #00f;
    --text-color: #000;
    --bg-color: #fff;
  }
  html {
    font-size: 12px;
  }
  body {
    background-image: none;
  }
}
