@font-face {
  font-family: Coanda;
  src: url("Coanda Website/coanda-regular.woff2") format("woff2"),
       url("Coanda Website/coanda-regular.woff.woff") format("woff");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: Coanda;
  src: url("Coanda Website/coanda-black.woff2") format("woff2"),
       url("Coanda Website/coanda-black.woff.woff") format("woff");
  font-style: normal;
  font-weight: 700 900;
  font-display: swap;
}

html {
  scrollbar-gutter: stable both-edges;
  font-family: Coanda, Arial, sans-serif;
}

body {
  margin: 0;
  background-color: black;
}

.knopf {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin: 0;
  padding: 5px 10px 0;
  font-size: 15px;
  font-style: normal;
  color: white;
}

.knopf a {
  color: inherit;
  font-weight: normal;
  text-decoration: none;
}

.knopf a[aria-current="page"] {
  font-weight: bold;
}

.knopf > a:nth-child(2) {
  justify-self: center;
}

.knopf > a:last-child {
  justify-self: end;
}

.home-video {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}

.home-page .knopf {
  z-index: 1;
  text-shadow: 0 1px 3px black;
}

.home-sound {
  position: fixed;
  left: 10px;
  bottom: 10px;
  padding: 6px 10px;
  border: 0;
  background: none;
  color: white;
  font: inherit;
  font-size: 15px;
  text-shadow: 0 1px 3px black;
  cursor: pointer;
}

.projects-page {
  color: white;
}

.projects-page .knopf {
  position: sticky;
  top: 0;
  z-index: 1;
  text-shadow: 0 1px 3px black;
}

.projects-page .knopf::before {
  content: "";
  position: absolute;
  inset: 0 0 -18px;
  z-index: -1;
  background: linear-gradient(to bottom, rgb(0 0 0 / 65%), transparent);
  pointer-events: none;
}

.project-list {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(72px, 10vh, 160px);
  padding-block: clamp(72px, 14vh, 200px) clamp(72px, 10vh, 160px);
}

.project-heading {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  margin: 0 10px 10px;
}

.project-heading h2,
.project-heading p {
  margin: 0;
  font-size: 1rem;
  font-weight: normal;
}

.project-heading h2 {
  grid-column: 2;
  text-align: center;
}

.project-heading p {
  justify-self: center;
}

.project-gallery {
  overflow-x: auto;
  scrollbar-width: none;
}

.project-gallery:focus-visible {
  outline: 2px solid white;
  outline-offset: -2px;
}

.project-gallery.is-looping {
  overscroll-behavior-x: none;
  cursor: grab;
}

.project-gallery.is-dragging {
  cursor: grabbing;
  user-select: none;
}

.project-track,
.project-slides {
  display: flex;
  width: max-content;
}

.project-slides {
  --project-image-width: 78vw;
  gap: 10px;
  padding-inline-end: 10px;
}

.project-image {
  display: block;
  align-self: start;
  width: var(--project-image-width);
  height: auto;
  aspect-ratio: 3 / 2;
  background: white;
  object-fit: contain;
  -webkit-user-drag: none;
}

.project-video {
  display: block;
  align-self: start;
  height: calc(var(--project-image-width) * 2 / 3);
  width: auto;
  aspect-ratio: 9 / 16;
  object-fit: contain;
}

.project-text {
  align-self: start;
  box-sizing: border-box;
  width: min(76vw, 72rem);
  margin: 0;
  padding: 10px clamp(12px, 4vw, 64px) 10px 0;
  font-size: 1rem;
  line-height: 1.45;
}

.project-text-with-details {
  align-self: stretch;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1em;
}

.project-text-with-details > p {
  margin: 0;
}

.project-details a {
  color: inherit;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

@media (max-width: 600px) {
  .project-slides {
    --project-image-width: 90vw;
  }

  .project-text {
    width: 88vw;
  }
}

.language-picker {
  position: fixed;
  right: 10px;
  bottom: 10px;
  z-index: 2;
  display: inline-flex;
  align-items: baseline;
  gap: 0.55em;
  padding: 6px 8px;
  color: white;
  font-size: 15px;
  text-shadow: 0 1px 3px black;
}

.language-picker button {
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  font: inherit;
  text-shadow: inherit;
  cursor: pointer;
}

.language-picker button[aria-pressed="true"] {
  font-weight: bold;
}

.about-page {
  color: white;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  height: 100vh;
  height: 100dvh;
  overflow: hidden;
}

.about-page .project-list {
  min-height: 0;
  grid-template-rows: minmax(0, 1fr);
  padding-block: clamp(20px, 5vh, 64px) 44px;
}

.about-page :is(.project-track, .project-slides) {
  height: 100%;
}

.about-page .project-image {
  max-height: 100%;
  object-position: left top;
  background: transparent;
}

.about-copy {
  max-height: 100%;
  overflow-y: auto;
  overscroll-behavior-y: contain;
}

.about-copy :is(p, h2, ul) {
  margin: 0;
}

.about-copy h2 {
  font: inherit;
}

.about-copy ul {
  padding: 0;
  list-style: none;
}

.about-skills {
  display: grid;
  gap: 1.25em;
