html, body {
  overflow-x: hidden;
  position: relative;
  font-family: Helvetica, Arial, sans-serif;
  margin: 0px;
  /* Avoid accidental double tap zoom on mobile */
  touch-action: manipulation;
}

/* Make sure images don't get selected and turn another color */
img {
  user-select: none;
  /* Add this too */
  -webkit-user-select: none;
  /* For Safari */
}

.topbar {
  display: flex;
  justify-content: space-between;
  align-items: start;
  padding: 20px 30px;
  box-sizing: border-box;
  font-size: 36px;
  width: 100%;
  height: 80px;
  position: relative;
  z-index: 100;
}

a {
  text-decoration: none;
  color: black;
}

.box {
  flex: 0 0 calc((100% - 9 * 10px) / 10);
  /* 10 kolommen - gap wordt meegenomen */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding: 5px;
  box-sizing: border-box;
}

.number {
  font-size: 70px;
  margin-bottom: 5px;
  flex-shrink: 0;
}

.list-img {
  /* Set the max height to a specific value, max-width to 100% and the auto's will automatically size the image correctly */
  max-height: 100px;
  max-width: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  cursor: pointer;
}


#titel {
  font-family: "HomeSweetHome";
  font-size: 30px;
  font-weight: 500;
}

.image-wrapper {
  flex-grow: 1;
  /*let the image-wrapper take all available space aka grow */
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.container {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  width: 100%;
  /* Add a small gap between items */
  gap: 10px;
  padding: 20px;
  box-sizing: border-box;
}

#jaar {
  position: fixed;
  top: 0;
  font-size: 300px;
  font-weight: 500;
  z-index: 20;
  pointer-events: none;
}

#introduction {
  position: fixed;
  bottom: 100px;
  right: 100px;
  width: 40%;
  font-size: 15px;
  font-weight: 500;
  z-index: 10;
  font-family: "HomeSweetHome";
  pointer-events: none;
}

#introduction p {
  margin-top: 0;
}

#introduction span {
  font-size: 35px;
}

.oval-container {
  pointer-events: auto;
  position: fixed;
  left: 50%;
  transform: translateX(-70%);
  width: 1000px;
  height: 500px;
  z-index: 10;
}


/* Fonts */
@font-face {
  font-family: "HomeSweetHome";
  src: url("./fonts/Home\ Sweet\ Home.otf");
}

/* index.html */
.item {
  position: fixed;
  top: 250px;
  left: 250px;
  width: 200px;
  height: auto;
  offset-path: path('M 500 0 A 500 250 0 1 1 500 500 A 500 250 0 1 1 500 0');
  /* Keeps the image upright (0deg) relative to the screen */
  offset-rotate: 0deg;
  /* Animate along the path */
  animation: move-on-path 30s linear infinite;
  z-index: 10;
}

.item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  /* Center the image on the path line */
  transform: translate(-50%, -50%);
}


@media(max-width: 1024px) {
  #jaar {
    font-size: 125px;
  }

  #introduction span {
    font-size: 20px;
  }

  #introduction {
    font-size: 15px;
    right: 25px;
    bottom: 25px;
    width: 55%;
  }

  .item {
    width: 200px;
    left: 200px;
  }

  .oval-container {
    width: 400px;
    height: 200px;
  }


  #titel {
    font-size: 20px;
  }
}

@media(max-width: 550px) {
  #jaar {
    font-size: 100px
  }

  #introduction span {
    font-size: 20px;
  }

  #introduction {
    font-size: 8px;
    right: 25px;
    bottom: 25px;
    width: 55%;
  }

  .item {
    offset-path: path('M 200 0 A 200 100 0 1 1 200 200 A 200 100 0 1 1 200 0');
    width: 100px;
    top: 200px;
    left: 100px
  }

  .oval-container {
    width: 400px;
    height: 200px;
  }
}

.imageSectionBoek {
  position: fixed;
  /* use the height of topbar to offset */
  top: 80px;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  overflow-x: auto;
  overflow-y: hidden;
  /* Optional: smooth snapping between images */
  scroll-snap-type: x mandatory;
}

.imageSectionBoek img {
  height: 100%;
  /* Fill the available vertical space */
  width: auto;
  /* Maintain aspect ratio */
  flex-shrink: 0;
  /* Prevent images from shrinking */
  object-fit: contain;
  /* Ensure no cropping */
  scroll-snap-align: start;
  /* Optional: snap to start of each image */
}

/* Optional: Style the scrollbar */
/* .imageSectionBoek::-webkit-scrollbar {
  height: 10px;
}
.imageSectionBoek::-webkit-scrollbar-track {
  background: #f1f1f1;
}
.imageSectionBoek::-webkit-scrollbar-thumb {
  background: #888;
  border-radius: 5px;
}
.imageSectionBoek::-webkit-scrollbar-thumb:hover {
  background: #555;
} */
