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

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

body,
html {
  margin: 0;
  padding: 0;
  font-family: "AlteHaasGroteskRegular", sans-serif;
  background: url("bg1.png") repeat;
  overflow: hidden;
  height: 100vh;
  white-space: nowrap;
  -ms-overflow-style: none;
  scrollbar-width: none;
  text-transform: uppercase;
  cursor: crosshair;
}

body::-webkit-scrollbar {
  display: none;
}

.background {
  position: fixed;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  z-index: -2;
  background-color: #e8f4d0;
}

.corner-text {
  position: fixed;
  font-size: 12px;
  line-height: 1.4;
  font-weight: regular;
  color: white;
  font-family: "AlteHaasGroteskRegular", sans-serif;
  z-index: 9;
  padding: 20px;
  text-align: center;
  mix-blend-mode: difference;
}

.corner-top-left {
  top: 0;
  left: 0;
  text-align: left;
}
.corner-top-right {
  top: 0;
  right: 0;
  text-align: right;
}
.corner-bottom-left {
  bottom: 0;
  left: 0;
  text-align: left;
}
.corner-bottom-right {
  bottom: 0;
  right: 0;
  text-align: right;
}
.corner-bottom-center {
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
}
.corner-center-left {
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  writing-mode: vertical-rl;
}
.corner-center-right {
  top: 50%;
  right: 0;
  transform: translateY(-50%);
  writing-mode: vertical-rl;
}

.menu {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 40px;
  padding: 15px 22px;
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  background: radial-gradient(ellipse at center, #e8f4d0 60%, rgba(232, 244, 208, 0.7) 100%);
  border-radius: 0;
}

.menu-item {
  font-family: "AlteHaasGroteskRegular", sans-serif;
  font-size: 28px;
  color: #1a1a1a;
  text-decoration: none;
  cursor: crosshair;
}

.bio-panel {
  display: none;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 90%;
  max-width: 380px;
  max-height: 400px;
  background-color: transparent;
  padding: 30px 0 10px 0;
  z-index: 999;
  overflow: hidden;
  border-radius: 0;
  text-transform: none;
  color: #e8f4d0;
  text-shadow: 0 0.5px 1px rgba(0, 0, 0, 0.4);
}

.blog-panel {
  display: none;
  position: fixed;
  top: 50%;
  left: 50%;
  min-height: 500px;
  transform: translate(-50%, -50%);
  width: 60%;
  max-width: 600px;
  max-height: 413px;
  background-color: transparent;
  padding: 30px 0 10px 0;
  z-index: 999;
  overflow: hidden;
  border-radius: 0;
  text-transform: none;
  color: #e8f4d0;
  text-shadow: 0 0.5px 1px rgba(0, 0, 0, 0.4);
}

.contact-panel {
  display: none;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 90%;
  max-width: 400px;
  max-height: 400px;
  background-color: transparent;
  padding: 30px 0 10px 0;
  z-index: 999;
  overflow: hidden;
  border-radius: 0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  text-transform: none;
  color: #e8f4d0;
  text-shadow: 0 0.5px 1px rgba(0, 0, 0, 0.4);
}

.contact-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at center, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0.1) 80%, transparent 100%),
    url("images/artwork6.png");
  background-size: 100% 100%;
  background-position: center;
  z-index: -1;
}

.contact-panel.active {
  display: block;
}

.contact-title {
  font-family: "AlteHaasGroteskBold", sans-serif;
  font-size: 18px;
  text-transform: uppercase;
  margin-top: 10px;
  margin-left: 10px;
  margin-bottom: 10px;
  text-align: left;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 0 30px 10px 30px;
}

.contact-form input,
.contact-form textarea {
  padding: 8px;
  font-size: 13px;
  font-family: "AlteHaasGroteskRegular", sans-serif;
  border: none;
  resize: none;
  background-color: rgba(0, 0, 0, 0.6);
  color: #e8f4d0;
  text-transform: none; /* <-- deze moet je HIER zetten */
  outline: none;
}

.contact-form textarea {
  min-height: 80px;
}

.slider-label {
  font-size: 11px;
  color: #e8f4d0;
  margin-bottom: 4px;
  font-family: "AlteHaasGroteskRegular", sans-serif;
  text-transform: none;
}

#humanSlider {
  -webkit-appearance: none;
  width: 100%;
  height: 6px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 3px;
  outline: none;
  margin-bottom: 10px;
  cursor: pointer;
}

/* Track */
#humanSlider::-webkit-slider-runnable-track {
  height: 6px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 3px;
}

/* Thumb (the handle) */
#humanSlider::-webkit-slider-thumb {
  -webkit-appearance: none;
  height: 18px;
  width: 18px;
  background: #e8f4d0;
  border-radius: 50%;
  box-shadow: 0 0 6px rgba(232, 244, 208, 0.4);
  margin-top: -6px;
  transition: background 0.3s ease;
}

#humanSlider::-moz-range-thumb {
  height: 18px;
  width: 18px;
  background: #e8f4d0;
  border-radius: 50%;
  box-shadow: 0 0 6px rgba(232, 244, 208, 0.4);
  border: none;
  cursor: pointer;
}

/* Optional hover/focus effects */
#humanSlider:focus::-webkit-slider-thumb {
  background: #fff;
}

.contact-form button {
  padding: 10px;
  background-color: black;
  color: white;
  border: none;
  font-family: "AlteHaasGroteskBold", sans-serif;
  cursor: crosshair;
  text-transform: uppercase;
}

.close-contact {
  background: none;
  border: none;
  color: #e8f4d0;
  font-size: 20px;
  font-weight: bold;
  position: absolute;
  top: 8px;
  right: 12px;
  cursor: pointer;
}

.bio-panel::before,
.blog-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at center, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0.1) 80%, transparent 100%),
    url("images/artwork6.png");
  background-size: 150%;
  background-position: top right;
  background-repeat: no-repeat;
  z-index: -1;
}

.bio-panel.active,
.contact-panel.active,
.blog-panel.active {
  display: block;
}

.bio-title,
.contact-title,
.blog-title {
  font-family: "AlteHaasGroteskBold", sans-serif;
  font-size: 18px;
  text-transform: uppercase;
  margin: 10px 30px 10px 30px;
  text-align: left;
}

/* Maak de dropdown even groot en stijlvol als de blog‑titel */
.blog-title {
  /* bestaande styling… */
  font-family: "AlteHaasGroteskBold", sans-serif;
  font-size: 18px;
  text-transform: uppercase;
  margin: 10px 30px;
  color: #e8f4d0;
  background: transparent;
  border: none;
  cursor: pointer;
}

/* Zorg dat de pijl rechts goed zichtbaar is */
.blog-title::-ms-expand {
  display: none;
}
.blog-title {
  -webkit-appearance: none;
  appearance: none;
  padding-right: 20px; /* ruimte voor de pijltje */
  background-image: url("data:image/svg+xml;charset=US-ASCII,\
    %3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='5'%3E\
    %3Cpath fill='%23e8f4d0' d='M0 0l5 5 5-5z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
}

/* Scrollable content blocks */
.bio-scroll {
  max-height: 320px;
  overflow-y: auto;
  font-size: 13px;
  font-weight: 100;
  text-align: left;
  white-space: normal;
  word-break: break-word;
  padding: 0px 30px 30px 30px;
  scrollbar-width: none;
  -ms-overflow-style: none;
  scroll-behavior: smooth;
  mask-image: linear-gradient(to bottom, black 0%, black 8%, black 90%, transparent 100%);
  -webkit-mask-image: linear-gradient(to bottom, black 0%, black 8%, black 90%, transparent 100%);
}

.bio-scroll::-webkit-scrollbar {
  display: none;
}

.blog-scroll {
  max-height: 300px;
  overflow-y: auto;
  font-size: 13px;
  font-weight: 100;
  text-align: left;
  white-space: normal;
  word-break: break-word;
  padding: 10px 30px 100px 30px; /* 👈 verhoog bovenruimte */
  scrollbar-width: none;
  scroll-behavior: smooth;
  -ms-overflow-style: none;

  mask-image: linear-gradient(to bottom, black 0%, black 10%, black 90%, transparent 100%);
  -webkit-mask-image: linear-gradient(to bottom, black 0%, black 10%, black 90%, transparent 100%);
}

.blog-scroll::-webkit-scrollbar {
  display: none;
}

.blog-post p {
  margin: 0 0 10px 0; /* optioneel: nette afstand tussen paragrafen */
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 0 30px 10px 30px;
}

.contact-form input,
.contact-form textarea {
  padding: 8px;
  font-size: 14px;
  font-family: "AlteHaasGroteskRegular", sans-serif;
  border: none;
  resize: none;
  text-transform: uppercase;
}

.contact-form button {
  padding: 10px;
  background-color: black;
  color: white;
  border: none;
  font-family: "AlteHaasGroteskBold", sans-serif;
  cursor: crosshair;
  text-transform: uppercase;
}

/* Close buttons */
.close-bio,
.close-contact,
.close-blog {
  background: none;
  border: none;
  color: #e8f4d0;
  font-size: 20px;
  font-weight: bold;
  position: absolute;
  top: 8px;
  right: 12px;
  cursor: pointer;
}

/* Blog navigation */
.blog-nav {
  position: absolute;
  bottom: 10px;
  right: 20px;
  display: flex;
  gap: 10px;
}

.blog-nav button {
  background: rgba(232, 244, 208, 0.7);
  border: none;
  color: black;
  font-size: 16px;
  font-family: "AlteHaasGroteskBold", sans-serif;
  padding: 5px 12px;
  cursor: crosshair;
  transition: background 0.3s ease;
}

.blog-nav button:hover {
  background: rgba(232, 244, 208, 1);
}

.blog-post {
  display: none;
}

/* Title */
.center-title {
  position: fixed;
  top: 35%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: clamp(60px, 15vw, 172px);
  font-family: "AlteHaasGroteskBold", sans-serif;
  font-weight: bold;
  color: white;
  mix-blend-mode: difference;
  z-index: 2;
  text-align: center;
  line-height: 0.9;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
}
.center-title span {
  display: block;
}

/* Images */
.image-track-wrapper {
  height: 100vh;
  overflow: hidden;
  white-space: nowrap;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1;
  cursor: crosshair;
}

.image-track {
  display: inline-flex;
  gap: 0;
  height: 100vh;
  will-change: transform;
  align-items: center;
}

.image-track img {
  object-fit: contain;
  display: block;
  height: auto;
  max-height: none;
  transition: transform 0.5s ease;
  transform-origin: center;
  mix-blend-mode: multiply;
  filter: brightness(0.9) contrast(1.05);
  user-select: none;
  pointer-events: none;
}

.contact-form input,
.contact-form textarea {
  padding: 8px;
  font-size: 13px;
  font-family: "AlteHaasGroteskRegular", sans-serif;
  border: none;
  resize: none;
  background-color: rgba(0, 0, 0, 0.6);
  color: #e8f4d0;
  outline: none;
  text-transform: none; /* zorgt dat getypte tekst niet hoofdletter wordt */
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  font-size: 13px;
  font-family: "AlteHaasGroteskRegular", sans-serif;
  color: #e8f4d0;
  opacity: 0.8;
  text-transform: none;
}

.blog-post.active {
  display: block;
}

/* Maak de dropdown even groot en stijlvol als de blog‑titel */
.blog-title {
  /* bestaande styling… */
  font-family: "AlteHaasGroteskBold", sans-serif;
  font-size: 18px;
  text-transform: uppercase;
  margin: 10px 30px;
  color: #e8f4d0;
  background: transparent;
  border: none;
  cursor: pointer;
}

/* Zorg dat de pijl rechts goed zichtbaar is */
.blog-title::-ms-expand {
  display: none;
}
.blog-title {
  -webkit-appearance: none;
  appearance: none;
  padding-right: 20px; /* ruimte voor de pijltje */
  background-image: url("data:image/svg+xml;charset=US-ASCII,\
    %3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='5'%3E\
    %3Cpath fill='%23e8f4d0' d='M0 0l5 5 5-5z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
}

@media (max-width: 1000px) {
  .corner-center-left,
  .corner-center-right {
    display: none;
  }
}
@media (max-width: 768px) {
  .corner-top-left, 
  .corner-top-right, 
  .corner-bottom-center, 
  .corner-bottom-right {
    display: none;
  }}

/* Maak blog-panel smaller op kleine schermen */
@media (max-width: 768px) {
  .blog-panel {
    width: 90%;
    max-width: none;
  }
}

/* “Sprong” voor je menu op iPhone‑breedte */
@media (max-width: 480px) {
  .menu {
    gap: 20px;        /* minder ruimte tussen items */
    padding: 12px 16px;/* slankere padding */
  }
  .menu-item {
    font-size: 24px;  /* kleinere letters */
  }
}

/* Reduce ruimte tussen titel en timestamp in blogposts */
.blog-post h3 {
  margin: 0 0 4px;             /* geen bovenmarge, 4px ondermarge */
}
.blog-post > p:first-of-type {
  margin: 0 0 6px;             /* geen bovenmarge, 6px ondermarge */
}

/* Ruimte tussen afzonderlijke blogposts */
.blog-post {
  margin-bottom: 30px; /* vergroot de afstand naar de volgende post */
}

/* Gestileerde scheidslijn tussen posts */
.blog-post:not(:last-child)::after {
  content: "";
  display: block;
  height: 1px;
  background: rgba(232, 244, 208, 0.3); /* lichte lijn in je thema‑kleur */
  margin: 20px 0;    /* ruimte boven én onder de lijn */
}
