/* Header values from www.jsteinbrecher.work's Squarespace styles. */
@font-face {
  font-family: 'Portfolio Fira Code';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/fira-code-regular.woff2') format('woff2');
}
@font-face {
  font-family: 'Portfolio Fira Code';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/fonts/fira-code-bold.woff2') format('woff2');
}
header {
  --header-rem: 17px;
  position: relative;
  z-index: 10;
  width: 100%;
  margin: 0;
  padding: .8vw 2vw;
  background: #fff;
  color: hsl(120 16.46% 15.49%);
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.3vw;
  flex-wrap: wrap;
}
header::before, header::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
}
header::before {
  border: 4px solid currentColor;
  z-index: 1;
}
header::after {
  box-shadow: 0 12px 12px 0 currentColor;
  opacity: .15;
}
header .wordmark {
  position: relative;
  display: block;
  width: fit-content;
  font-family: 'Portfolio Fira Code', monospace;
  font-style: normal;
  font-weight: 400;
  font-size: min(calc(.4 * 1.2vw + var(--header-rem)), max(calc(.4 * .012 * 2946px + var(--header-rem)), calc(1.4 * var(--header-rem))));
  line-height: 1.2em;
  letter-spacing: 0;
  text-transform: none;
  text-decoration: none;
  color: inherit;
}
header .wordmark:hover { color: inherit; }
header .wordmark span { display: inline; color: inherit; font-weight: inherit; }
.header-links {
  display: flex;
  align-items: center;
  gap: .3vw;
  margin-left: auto;
}
.header-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  color: inherit;
}
.header-links a:hover { color: inherit; opacity: .65; }
.header-links svg { width: 20px; height: 20px; fill: currentColor; }
@media (max-width: 991px) {
  header { --header-rem: 16px; }
}
@media (max-width: 799px) {
  .header-links { gap: 12px; padding: 8px 0; }
  header .wordmark {
    font-weight: 700;
    line-height: 1.5em;
    letter-spacing: .19em;
    font-size: min(calc(2 * 1.2vw + var(--header-rem)), max(calc(2 * .012 * 2946px + var(--header-rem)), calc(3 * var(--header-rem))));
  }
}
@media (max-width: 767px) and (orientation: portrait) {
  header .wordmark { font-size: calc(2 * .012 * min(100vh, 900px) + var(--header-rem)); }
}
main { margin-top: 40px; }
