/* Reset en basisinstellingen */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

@font-face {
  font-family: "Roboto Local";
  src: url("Roboto-VariableFont_wdth,wght.ttf") format("truetype");
  font-style: normal;
  font-weight: 100 900;
  font-stretch: 75% 100%;
  font-display: swap;
}

@font-face {
  font-family: "Apfel Grotezk Brukt";
  src: url("ApfelGrotezk-Brukt.otf") format("opentype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-height: 100svh;
  font-family: "Roboto Local", Roboto, sans-serif;
  font-size: 13px;
  font-weight: 300;
  line-height: 1.2;
  color: #000000;
  background-color: #E2E2DE;
  padding: 16px 20px;
  -webkit-font-smoothing: antialiased;
}

p {
  font-size: 13px;
}

/* Koppen & Algemene elementen */
.header.font-apfel-brukt {
  font-family: "Apfel Grotezk Brukt", sans-serif;
  font-weight: normal;
  font-size: 26px;
}

header.header {
  margin-bottom: 24px;
  font-weight: bold;
}

.container {
  flex: 1;
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  max-width: 1000px;
}

@media (min-width: 768px) {
  .container {
    grid-template-columns: 1fr 1fr;
    gap: 60px;
  }
}

@media (max-width: 767px) {
  .container {
    gap: 0;
  }

  .column:last-child {
    order: -1;
  }

  .nav-links {
    margin-bottom: 0;
  }
}

.column {
  display: flex;
  flex-direction: column;
}

/* Linkerkolom stijlen */
.label {
  margin-bottom: 4px;
  font-size: 13px;
  font-weight: 300;
}

.font-roboto-condensed-medium {
  font-family: "Roboto Local", Roboto, sans-serif;
  font-stretch: 75%;
  font-size: 13px;
  font-weight: 500;
  font-style: normal;
}

.highlight-box {
  background-color: #ffff00;
  color: #000000;
  display: inline-block;
  padding: 1px 2px;
  font-weight: 300;
}

.project-trigger {
  border: 0;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition: background-color 150ms ease, color 150ms ease;
}

.project-trigger:hover,
.project-trigger:focus-visible {
  background-color: #000000;
  color: #ff0000;
  text-decoration: none;
}

.project-trigger:focus-visible {
  outline: 1px solid currentColor;
  outline-offset: 3px;
}

.archive-group {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr);
  column-gap: 8px;
  row-gap: 12px;
  margin-top: 12px;
}

.writings {
  margin-top: 24px;
}

.year {
  grid-column: 1;
  grid-row: 1;
  font-family: "Roboto Local", Roboto, sans-serif;
  font-stretch: 75%;
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 4px;
}

.project-list {
  grid-column: 2;
  display: block;
  width: 100%;
  padding: 0;
  background: none;
  color: #111111;
}

.writing-entry {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr);
  column-gap: 8px;
  margin-top: 12px;
}

.project-panel {
  position: fixed;
  inset: 0 0 0 auto;
  left: min(calc(50vw + 30px), 550px);
  width: auto;
  max-width: none;
  height: 100vh;
  height: 100dvh;
  max-height: none;
  overflow-y: auto;
  margin: 0;
  padding: 0;
  border: 0;
  background: #E2E2DE;
  color: #000000;
  box-shadow: -12px 0 32px rgb(0 0 0 / 8%);
}

.project-panel[open] {
  display: block;
  animation: project-panel-in 220ms ease-out;
}

.project-panel::backdrop {
  background: rgb(0 0 0 / 16%);
}

.project-panel-content {
  min-height: 100%;
  padding: 16px 40px;
}

.project-panel-content.has-gallery {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-content: start;
  column-gap: 24px;
}

.project-panel-title {
  max-width: 90%;
  line-height: 1.2;
  font-family: "Roboto Local", Roboto, sans-serif;
  font-stretch: 75%;
  font-size: 13px;
  font-style: italic;
  font-weight: 500;
}

.project-panel-content.has-gallery .project-panel-title {
  grid-column: 1 / -1;
}

.project-panel-byline {
  font-style: normal;
}

.project-panel-details {
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-family: "Roboto Local", Roboto, sans-serif;
  font-stretch: 75%;
  font-size: 13px;
  font-weight: 500;
  line-height: 1;
  white-space: pre-line;
}

.project-panel-details p {
  margin: 0;
}

.project-panel-details .project-panel-description-heading,
.project-panel-details .project-panel-description-heading span,
.project-panel-details .project-panel-description-heading em {
  font-stretch: 75%;
  font-weight: 500;
}

.project-panel-details .project-panel-description-heading {
  margin-top: 8px;
}

.project-panel-details .project-panel-about-heading {
  margin-top: 8px;
}

.project-panel-details .project-panel-description {
  max-width: 62ch;
  font-stretch: 100%;
  font-weight: 300;
  line-height: 1.2;
}

.project-panel-details .project-panel-description + .project-panel-description {
  margin-top: 10px;
}

.project-panel-description a {
  color: inherit;
  text-decoration: underline;
}

.project-panel-description a:hover,
.project-panel-description a:focus-visible {
  background-color: #000000;
  color: #ff0000;
}

.project-panel-content.has-gallery .project-panel-details {
  grid-column: 1;
}

.project-panel-gallery {
  display: flex;
  flex-direction: column;
  gap: 8px;
  grid-column: 2;
  grid-row: 2;
  margin-top: 44px;
}

.project-panel-gallery img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  cursor: zoom-in;
}

.image-viewer {
  position: fixed;
  inset: 0 0 0 min(calc(50vw + 30px), 550px);
  width: auto;
  max-width: none;
  height: 100vh;
  height: 100dvh;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  background: #E2E2DE;
  overflow: auto;
}

.image-viewer[open] {
  display: block;
}

.image-viewer::backdrop {
  background: rgb(0 0 0 / 16%);
}

.image-viewer-content {
  min-height: 100%;
  padding: 48px 40px;
}

.image-viewer-gallery {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.image-viewer-gallery img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  object-fit: contain;
}

.image-viewer-close {
  position: absolute;
  top: 10px;
  right: 20px;
  border: 0;
  padding: 0;
  background: transparent;
  color: #000000;
  font: inherit;
  font-size: 13px;
  line-height: 1;
  cursor: pointer;
}

.image-viewer-close:hover,
.image-viewer-close:focus-visible {
  color: #ff0000;
}

.project-panel-long-description {
  margin-top: -12px;
  max-width: 68ch;
}

.project-panel-long-description.writing-description {
  margin-top: 8px;
}

.project-panel-long-description > p {
  margin: 0 0 3px;
  font-size: 13px;
  font-weight: 300;
  line-height: 1.2;
  font-family: "Roboto Local", Roboto, sans-serif;
  font-stretch: 100%;
  white-space: normal;
}

.writing-illustration {
  margin: 0 0 5px;
}

.writing-illustration img {
  display: block;
  width: 100%;
  height: auto;
}

.project-panel-gallery img[hidden] {
  display: none;
}

.project-panel-gallery-more {
  display: block;
  margin: 0;
  padding: 0 4px;
  border: 0;
  background: transparent;
  color: #000000;
  font-family: "Roboto Local", Roboto, sans-serif;
  font-size: 13px;
  font-weight: 300;
  text-align: right;
  cursor: pointer;
}

.project-panel-gallery-more:hover,
.project-panel-gallery-more:focus-visible {
  background: #000000;
  color: #ff0000;
}

.project-panel-close {
  position: absolute;
  top: 10px;
  right: 20px;
  border: 0;
  padding: 0;
  background: transparent;
  color: #000000;
  font: inherit;
  font-size: 13px;
  line-height: 1;
  cursor: pointer;
  transition: color 150ms ease;
}

.project-panel-close:hover,
.project-panel-close:focus-visible {
  color: #f00;
}

@keyframes project-panel-in {
  from {
    transform: translateX(24px);
    opacity: 0;
  }

  to {
    transform: translateX(0);
    opacity: 1;
  }
}

@media (max-width: 767px) {
  .project-panel {
    inset: 0;
    width: 100%;
  }

  .project-panel-content {
    padding: 16px 20px;
  }

  .project-panel-content.has-gallery {
    display: block;
  }

  .project-panel-content.has-gallery > .project-panel-gallery {
    max-width: 62ch;
    margin: 12px 0;
  }

  .project-panel-content:has(.project-panel-long-description) > .project-panel-gallery {
    max-width: 68ch;
  }

  .image-viewer {
    inset: 0;
    width: 100%;
  }

  .image-viewer-content {
    padding: 48px 20px;
  }
}

.participating-artists {
  font-family: "Roboto Local", Roboto, sans-serif;
  font-size: 13px;
  font-stretch: 75%;
  font-weight: 500;
  margin-bottom: -12px;
  margin-top: -12px;
}

/* Rechterkolom stijlen */
.artist-title {
  font-family: "Roboto Local", Roboto, sans-serif;
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 16px;
}

.bio-text {
  margin-bottom: 32px;
  max-width: 420px;
}

.nav-links {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  width: 100%;
  gap: 2px;
  margin-bottom: 24px;
}

.nav-links a {
  display: block;
  width: 100%;
  padding: 2px;
  font-size: 13px;
  color: #000000;
  text-decoration: none;
  transition: background-color 150ms ease, color 150ms ease;
}

.nav-links a:hover {
  background-color: #000000;
  color: #ff0000;
}

.copyright {
  margin-left: auto;
  text-align: right;
}

/* Footer */
.footer {
  margin-top: auto;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 16px;
  font-size: 13px;
  color: #000000;
}
