:root {
  --bgc: #121111;
  --fgc: #efeeee;
  --hlc: #d22;
}

@media (prefers-color-scheme: light) {
  :root {
    --bgc: #fff;
    --fgc: #000;
    --hlc: #d22;
  }
}

@font-face {
    font-family: 'Grotesk';
    src: url('fonts/HKGrotesk-Regular.otf');
}

@font-face {
    font-family: 'Bagnard';
    src: url('fonts/BagnardSans.otf');
}

details > summary {
  list-style: none;
  margin: none;
  cursor: pointer;
  color: color-mix(in hsl, var(--fgc), var(--hlc));
  text-align: center;
}

details > summary::-webkit-details-marker {
  display: none;
}

body {
  background: var(--bgc);
  color: var(--fgc);
  font-size: 8px;
  @media (hover: none) { font-size: 20px; }
}

.expertise {
  width: 38em;
  padding: 0.5em;
}

.portrait {
  height: 30em;
  border: 3px solid var(--fgc);
  border-radius: 3em;
  filter: drop-shadow(var(--hlc) 0.6em 0.3em 0.2em);
}

.hero {
  margin: auto;
  width: 100vw;
  height: 100vh;
  object-fit: contain;
  opacity: 0;
  transition: all 3s ease-out;
}

.nav {
  border: 1px solid var(--fgc);
  position: fixed;
  top: 10em;
  right: 0.25em;
  max-width: 20em;
  opacity: 0;
  background: var(--bgc);
  transition: all 0.3s ease-out;
  display: none;
}

.navbutton {
  display: block;
  padding: 1em 0;
  margin: 0 !important;
}

button, .button {
  background: none;
  box-shadow: none;
  font-size: 2em;
  padding: 1em 1em;
  margin: 0.25em 0.5em;
  cursor: pointer;
  border: 1px solid var(--fgc);
  text-align: center;
  transition: all 0.3s ease-out;
  text-decoration: none;
  color: var(--fgc);
}

button:hover,.button:hover {
  background: var(--hlc);
}

a {
  color: var(--hlc);
  display: inline-block;
}

h1 {
  font-family: "Bagnard";
  font-size: 3em;
}

h2 {
  font-family: "Bagnard";
  font-size: 2.5em;
}

h3 {
  font-family: "Bagnard";
  font-size: 2em;
}

p, li {
  font-family: "Grotesk";
  font-size: 2em;
  margin: 0.5em;
  background: var(--fgc);
  background-clip: text;
  transition: all 3s ease-out;
}
