@font-face {
  font-family: "Karla";
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url(/fonts/Karla-VariableFont_wght.ttf) format("truetype");
}

@font-face {
  font-family: "Karla";
  font-style: italic;
  font-weight: 200 800;
  font-display: swap;
  src: url(/fonts/Karla-Italic-VariableFont_wght.ttf) format("truetype");
}

html, body {
  font-family: "Karla", sans-serif;
}

:root {
  --accent: #e14a2d;
}

body,
html {
  font-size: 14px;
  color: black;
  background-color: white;
  hyphens: auto;
  scroll-behavior: smooth;
}

@media screen and (prefers-reduced-motion: reduce) {
  body,
html {
    scroll-behavior: auto;
  }
}

.wrapper {
  display: block;
  width: 100%;
  max-width: 1920px;
  margin: auto;
  height: 100dvh;
  overflow: auto;
}

h1.title {
  color: var(--accent);
  transition: color 500ms;
  font-size: calc(0.06 * clamp(1000px, 100vw, 1920px));
  font-weight: 800;
  text-transform: uppercase;
  text-align: right;
  hyphens: none;
  line-height: 0.8;
  user-select: none;
}

h1.title a,
h1.title a:hover {
  color: inherit;
  transition: inherit;
  text-decoration: none;
}

main,
aside {
  padding: 1rem;
}

main {
  box-sizing: border-box;
  font-size: 1.4em;
}

aside {
  font-size: 1.4em;
  box-sizing: border-box;
}

aside img {
  display: block;
  max-width: 100%;
  margin: auto;
}

nav {
  text-shadow: white 0 0 0.1em;
}

nav ul {
  margin: auto 0;
  text-align: center;
  padding: 1rem;
  font-size: 0.9em;
}

nav ul li {
  display: inline-block;
  margin: 0.2em 0.2em;
  background-color: white;
}

nav ul li:first-child {
  margin-left: 0;
}

nav ul li:last-child {
  margin-right: 0;
}

a {
  color: var(--accent);
  transition: color 500ms;
  text-decoration: inherit;
}

a:hover {
  text-decoration: underline;
}

h1,
h2,
h3,
h4,
h5,
h6,
p {
  margin-top: 0;
}

.gallery {
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  gap: 2rem;
  align-items: center;
  justify-content: center;
}

.gallery figure {
  display: table;
  margin: 0;
  padding: 0;
  line-height: 0;
  box-sizing: border-box;
}

.gallery figure a {
  display: block;
}

.gallery figure a.anchor {
  display: block;
  position: relative;
  visibility: hidden;
}

.gallery figure img {
  max-height: 80vh;
  max-width: 100vw;
  width: 100%;
  height: 100%;
  box-shadow: rgba(0, 0, 0, 0.559) 0 0 1rem;
}

.gallery figure figcaption {
  display: table-caption;
  caption-side: bottom;
  text-align: center;
  font-size: 0.9em;
  font-weight: light;
  font-style: italic;
  line-height: 1;
  margin-top: 0.5em;
}

.cv table {
  margin-top: 2em;
}

.cv table td:first-child {
  padding-right: 1em;
  font-weight: bold;
}

.cv thead {
  display: none;
}

@media (max-width: 1000px) {
  .wrapper {
    position: fixed;
    height: 100%;
    overflow-y: auto;
  }
  aside {
    padding-top: 0;
  }
  .gallery figure:last-child {
    margin-bottom: 20vh;
  }
}

@media (min-width: 1000px) {
  aside {
    display: fixed;
    height: 100%;
    overflow-y: auto;
    float: left;
    width: calc(min(30%, 576px));
  }
  aside nav {
    width: inherit;
    position: fixed;
    bottom: 0;
  }
  figure.active, figure.inactive {
    transition: filter 500ms;
  }
  figure.inactive {
    filter: opacity(60%);
  }
  nav li {
    font-size: 1.1em;
  }
  main {
    display: fixed;
    height: 100%;
    overflow-y: auto;
    scroll-snap-type: y mandatory;
    scroll-snap-stop: normal;
    width: calc(100% - 30%);
    margin-left: 30%;
  }
  main,
aside {
    padding: 2rem;
  }
  .gallery figure {
    scroll-snap-align: center;
  }
  .gallery figure:first-child {
    margin-top: 50vh;
  }
  .gallery figure:last-child {
    margin-bottom: 50vh;
  }
}

/*# sourceMappingURL=main.css.map */