
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-family: "Courier new", serif;
  font-style: normal;
  font-size: 14px;
}

body {
  margin: 0;
}

.main-container {
  position: absolute;
  box-sizing: border-box;
  display: flex;
  flex-wrap: wrap;
  max-height: 100vh;
  max-width: 100vw;
}

.container {
  display: flex;
  flex-wrap: wrap;
  min-width: 250px;
  width: 100vw;
  height: auto;
  left: 300px;
}

.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 250px;
  height: 100vh;
  background: white;
  z-index: 10;
}

/* ========================= */
/* Navbar */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 250px;
  height: 100vh;
  background: white;
  z-index: 10;
}

.nav-bar {
  padding: 15px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.nav-logo img { width: 100%; max-width: 180px; }

/* Nav links */
.nav-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.nav-links a {
  text-decoration: none;
  color: black;
  font-size: 1.1rem;
  padding: 4px;
}

.nav-links a.active { background: black; color: white; }

/* Hamburger */
#nav-toggle { display: none; }
.nav-toggle {
  display: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
}
.nav-toggle span { width: 25px; height: 3px; background: black; }

/* ========================= */
/* Page content */
.page-content {
  margin-left: 250px;  /* sidebar width */
  padding: 1rem;
}

/* ========================= */
/* Gallery */
.scroll-menu {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  overflow-y: hidden;

  scrollbar-width: none;    /* Firefox */
  -ms-overflow-style: none; /* IE/Edge */
}
.scroll-menu::-webkit-scrollbar { display: none; }

.scroll-item {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin: 0;
  padding: 0;
}

.scroll-item img {
  max-height: 600px;
  height: auto;
  width: auto;
  display: block;
}

.scroll-item p {
  font-size: 9px;
}

/* ========================= */
/* Mobile layout */
@media (max-width: 768px) {
  /* Header becomes top bar */
  .header {
    position: sticky;
    width: 100%;
    height: auto;
  }

  .nav-bar {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
  }

  .nav-toggle { display: flex; margin-left: auto; }

  /* Menu in normal flow to push content down */
  .nav-links {
    width: 100%;
    display: none;
    padding-top: 1rem;
  }

  #nav-toggle:checked ~ .nav-links { display: flex; flex-direction: column; gap: 10px; }

  .page-content { margin-left: 0; margin-top: 80px; }

  .scroll-menu { flex-direction: column; }
  .scroll-item img { width: 100%; max-height: 600px; height: auto; }
}
/* algemeen */

li {
  text-decoration: none;
  list-style: none;
}

/* markt */


/* Limit text width and center it */
.markt-text {
  max-width: 550;   /* Adjust to match exhibition column width */
  padding: 0 15px;    /* Small horizontal padding for mobile */
  box-sizing: border-box;
}

.markt-links {
  text-align: left;
  margin-top: 12px;
}

.markt-img {
  display: flex;
  gap: 15px;
  align-items: flex-start;
  padding-left: 15px;
  flex-direction: column;
}

.markt-img img {
  width: auto;
  height: 300px;
  display: block;
}

.markets-img {
  display: flex;
  gap: 15px;
  align-items: flex-start;
  padding-left: 15px;
  flex-direction: row;
}

.markets-img img {
  width: auto;
  height: 300px;
  display: block;
}

.markt-img p {
  font-size: 9px;
}

.markt-links a{
  color: black;
}

/*about*/

.container-about {
  width: 80%;
  padding-top: 10px;
  display: flex;
  align-items: stretch; /* Ensures both columns are equal height */
  justify-content: left;
  padding-left: 300px;
  flex-wrap: wrap;
}

.left-textbox{
  width: 50%;
  max-width: 550px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.right-textbox {
  width: 50%;
  max-width: 300px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.textbox-bio {
  padding-top: 5px;
  padding-bottom: 5px;
}

.left-textbox {
  overflow: hidden; /* Prevents overflow issues */
}

.left-textbox img {
  width: 100%;
  height: 100%; /* Matches the height of .right-textbox */
  object-fit: cover; /* Ensures it fills the div without stretching */
}

.right-textbox {
  text-align: left;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-left: 10px;
}

.right-textbox img {
  width: 100%;
  max-width: 300px;
  height: auto;
}

.right-textbox h2 {
  padding-top: 15px;
  text-align: center;
}

.textbox-img-below {
  display: none;
  justify-content: center;
  align-items: center;
  width: 100%;
  padding-bottom: 20px;
  padding-top: 20px;
}

@media (max-width: 900px) {
  .container {
    flex-direction: column;
    align-items: center;
    }

  }

  .left-textbox, .right-textbox {
    width: 100%;
    max-width: 300px;
  }

  .left-textbox img {
    height: auto;
    display: none;
  }

  .textbox-img-below {
    display: flex;
  }

  .textbox-img-below img {
    width: 300px;
  }
}

.link-line {
  margin: 0;
  text-align: right;
}

.link-line a {
  text-decoration: none;
  color: black;
}

.link-line a:hover {
  text-decoration: none;
  color: red;
}

.box-link-line {
  margin: 0;
  padding-top: 50px;
  width: 100%;
}

*/
.video-profile {
  min-width: 250px;
  width: 1500px;
  height: auto;
}

.textbox-cv li {
  list-style: none;}

  /* Markt container */
  .markt-container {
    display: flex;
    flex-direction: column; /* text on top, images below */
    gap: 20px;
    padding-left: 0;
  }

  /* Text styles */
  .markt-text {
    flex: 1;
  }

  .markt-links {
    list-style: none;
    padding: 0;
    margin: 0;
  }

  .markt-links li {
    line-height: 1.6;
  }

  .markt-links a{
    color: black;
  }

  .markt-links .title {
    font-weight: bold;
    margin-top: 12px;
  }



  /* =================== Mobile Responsive =================== */
  @media (max-width: 768px) {

    .header {
      position: sticky;
      width: 100%;
      height: auto;
    }

    .nav-bar {
      flex-direction: row;
      flex-wrap: wrap;
      align-items: center;
    }

    .nav-toggle { display: flex; margin-left: auto; }

    .nav-links {
      width: 100%;
      display: none;
      padding-top: 1rem;
    }

    #nav-toggle:checked ~ .nav-links {
      display: flex;
      flex-direction: column;
      gap: 10px;
    }



    /* About text full width like exhibition text */
    .markt-text-full {
      width: 100%;
      max-width: 900px; /* matches exhibition text width */
      margin: 0 auto;
      padding: 0 15px;
      box-sizing: border-box;
    }

    .markt-text-full ul {
      list-style: none;
      padding: 0;
    }

    .markt-text-full li {
      margin-bottom: 12px;
      line-height: 1.6;
    }

    .markt-text-full .title {
      font-weight: bold;
      margin-top: 20px;
      margin-bottom: 8px;
    }

    .page-content {
      margin-left: 0;
      margin-top: 80px; /* space for mobile navbar */
    }
    .markt-text-full {
      max-width: 100%;
    }
  }

  /* Clean offsets */
  .container {
    left: 0;
    padding-left: 0;
  }

  .container-about {
    padding-top: 0;
    padding-left: 0;
    overflow-x: visible;
    width: 80%;
  }

  .about-links-news {
    padding-bottom: 20px;
  }

  .news-date {
    font-size: 12px;
  }

  .about-links {
    padding-top: 20px;
    padding-bottom: 20px;
  }

  /* =================== Responsive text scaling =================== */
  .markt-links li {

    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.4;
    font-size: clamp(10px, 1.2vw, 14px);  /* scales between 10px and 14px */
  }

  .markt-links .title {
    font-weight: bold;
    margin-top: 12px;
    margin-bottom: 12px;
    font-size: clamp(11px, 1.4vw, 16px);  /* slightly larger, scales too */
  }

  /* ========================= */
/* Page content next to navbar */

.page-content {
  margin-left: 250px;     /* same as navbar width */
  padding: 20px;
}


/* ========================= */
/* Video layout */

.videos {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* Profile video */
.video-profile {
  width: 100%;
  max-width: 550px;
  height: auto;
}

/* Row of smaller videos */
/* Row container */
.video-row {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  width: 100%;
}

/* Videos keep original aspect ratio */
.video-row video {
  height: 240px;     /* 👈 pick the shared height */
  width: auto;       /* preserve ratio */
  max-width: 100%;
}

/* ========================= */
/* Responsive */

@media (max-width: 768px) {
  .page-content {
    margin-left: 0;
    margin-top: 0px;
  }

  .video-row {
    flex-direction: column;
    text-align: center;
  }

  .video-row video {
    flex: 1;          /* 👈 makes total width = profile width */
    width: 100%;
    height: auto;
  }
  .vid_text_responsive{
    display: block;
  }


.videos {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.markt-img {
  flex-direction: column;
  align-items: center;
}

.markt-img img {
  width: 500px;
  height: auto;
  max-width: 100%;
}
.markets-img {
  flex-direction: column;
  align-items: center;
}

.markets-img img {
  width: 500px;
  height: auto;
  max-width: 100%;
}
.container-about {
  width: 100%;

}
