html,
body {
  padding: 0px;
  margin: 0px;
  font-family: 'Poiret One', sans-serif;
  background-color: hwb(84 78% 18%);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-weight: 600;
}

/* menu */

.content {
  display: flex;
  flex-direction: column;
  background-color: hwb(84 78% 18%);
  padding: 0px;
  margin: 0px;
  height: 100%;
  color: #202218;
  max-width: 100vw;
}

header {
  display: flex;
  flex-direction: row;
  position: sticky;
  justify-content: center;
  align-items: center;
  top: 0;
  z-index: 1000;
  max-width: 100vw;
  padding-top: 10px;
  padding-bottom: 10px;
  background-color: hwb(84 78% 18%);
  box-shadow: 8px 16px 32px black;
}

/* Dropdown container */
.menu li {
  position: relative;
}

/* Dropdown menu basis */
.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background-color: hwb(84 78% 18%);
  list-style: none;
  padding: 0;
  margin: 0;
  min-width: 160px;
  box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
  z-index: 1000;

  /* Animatie instellingen */
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s;
}



/* Dropdown items */
.dropdown-menu li a {
  display: block;
  padding: 10px 15px;
  text-decoration: none;
  color: black;
}

.dropdown-menu li a:hover {
  background-color: #f2f2f2;
}

/* Toon dropdown bij hover */
.dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

header img {
  height: auto;
  width: 50px;
  border-radius: 50px;
  opacity: 80%;
}

.menu {
  list-style-type: none;
  display: flex;
  justify-content: space-between;
  margin: 0;
  font-size: 25px;
}

li {
  font-family: 'Poiret One', sans-serif;
  padding: 0.75em 1.5em;
  max-width: 100%;
}

li:hover {
  font-weight: 900;
}

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

/* workspace picture */

.workspacepiclanding {
  height: 10vh;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.75) 0%, rgba(0, 0, 0, 0) 50%), url("images/workspacewitholaf2.jpg");
  background-size: cover;
  background-repeat: no-repeat;
  background-position: 50% 20%;
  display: flex;
  justify-content: flex-start;
  padding: 10% 20%;
}

.workspacepic {
  height: 400px;
  object-fit: cover;
  object-position: 80% 25%;
}

.workspacesection {
  display: flex;
  flex-direction: column;
  max-width: 100vw;
}

.name {
  display: flex;
  font-family: 'Alpha Slab One', sans-serif;
  font-size: 50px;
  color: white;
  text-align: start;
}

.landingbuttons {
  display: flex;
  gap: 20px;
}

a button {
  background-color: white;
  color: hwb(113 18% 73%);
  font-size: 15px;
  padding: 0.5em 1em;
  border: none;
  cursor: pointer;
  border-radius: 50px;
  border: 2px solid hwb(84 78% 18%);
}

a button:hover {
  border: 2px solid hwb(113 18% 73%);
}

/* introduction olaf */

.introbackground {
  display: flex;
  justify-content: center;
  background: linear-gradient(to top right, hwb(84 78% 18%), #ffffff);
  padding: 5% 20%;
  max-width: 100vw;
}

.intro {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  justify-content: space-between;
  align-items: center;
  box-shadow: 4px 32px 32px rgb(204, 204, 204);
  border: 2px solid rgb(255, 255, 255);
  border-radius: 12px;
  padding: 10%;
  background-color: white;
}


.intro div {
  font-size: 15px;
  text-align: left;
  padding-right: 5%;
  color: #202218;
  font-size: 25px;
}

.intro img {
  max-width: 100%;
  border-radius: 4px;
}

.intro img:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* Objects workshops section */
/* ===== Objects & Workshops Section ===== */

.objectsandworkshops {
  background-color: #ffffff;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 40px;
  padding: 6% 15%;
}

/* Card basis */
.objectssection,
.workshopssection {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 30px;
  min-height: 350px;
  border-radius: 12px;
  overflow: hidden;

  color: white;
  text-align: left;

  background-size: cover;
  background-position: center;

  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

/* Achtergrond afbeeldingen */
.objectssection {
  background-image: linear-gradient(
      to top,
      rgba(0, 0, 0, 0.65),
      rgba(0, 0, 0, 0.1)
    ),
    url("images/tubes.jpg");
}

.workshopssection {
  background-image: linear-gradient(
      to top,
      rgba(0, 0, 0, 0.65),
      rgba(0, 0, 0, 0.1)
    ),
    url("images/workshop7.jpg");
}

/* Hover effect */
.objectssection:hover,
.workshopssection:hover {
  transform: translateY(-8px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.25);
}

/* Titel */
.objectssection h1,
.workshopssection h1 {
  font-family: 'Alpha Slab One', sans-serif;
  font-size: 28px;
  margin-bottom: 10px;
}

/* Tekst */
.objectssection p,
.workshopssection p {
  font-family: 'Noto Sans Display', sans-serif;
  font-size: 15px;
  line-height: 1.6;
  max-width: 90%;
  color: rgba(255, 255, 255, 0.9);
}

/* Link reset */
.objectsandworkshops a {
  text-decoration: none;
}

/* Subtle overlay bij hover */
.objectssection::after,
.workshopssection::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0);
  transition: background 0.3s ease;
}

.objectssection:hover::after,
.workshopssection:hover::after {
  background: rgba(0, 0, 0, 0.15);
}

/* Responsive */
@media screen and (max-width: 768px) {
  .objectsandworkshops {
    padding: 10% 8%;
    gap: 25px;
  }

  .objectssection,
  .workshopssection {
    min-height: 280px;
    padding: 20px;
  }

  .objectssection h1,
  .workshopssection h1 {
    font-size: 22px;
  }
}

.title {
  background-color: white;
  text-align: center;
  margin: 0;
  padding: 2em 0em 0em 0em;
}

/*objects section */

.landingobjects {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 5%;
  background-color: hwb(84 78% 18%);
  padding: 5% 10%;
}

.landingobjects img {
  width: 100%;
  aspect-ratio: 1/1;
  object-fit: cover;
  border-radius: 4px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* footer and copyright */

p a {
  color: hwb(84 78% 18%);
}

footer {
  margin-top: auto;
  display: flex;
  padding: 5% 20%;
  background-color: hwb(113 18% 73%);
  max-width: 100vw;
  color: hwb(84 78% 18%);
  font-size: 15px;
  text-align: left;
}

.copyright {
  background-color: #202218;
  color: hwb(84 78% 18%);
  margin: 0px;
  text-align: center;
  padding: 0.5em 0em;
}

@media screen and (max-width: 1300px) {
  .workspacesection {
    padding: 2em;
  }

  .workspacepiclanding {
    justify-content: center;
    align-items: center;
    padding-left: 0px;
  }
}

@media screen and (max-width: 1280px) {
  .stickyheader {
    padding: 50px;
  }
}

@media screen and (max-width: 1080px) {
  .objectsandworkshops {
    gap: 5%;
    grid-template-columns: repeat(1, 1fr);
  }

  .objectssection p,
  .workshopssection p {
    font-size: 16px;
  }

  .stickyheader {
    padding: 50px;
  }

  .intro {
    gap: 2em;
    grid-template-columns: repeat(1, 1fr);
  }

  .landingobjects {
    grid-template-columns: repeat(3, 1fr);
    padding: 50px;
  }
}

@media screen and (max-width: 768px) {
  .stickyheader {
    flex-direction: column;
    gap: 1rem;
    padding: 20px;
  }

  .menu {
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
  }



  .landingobjects {
    grid-template-columns: repeat(3, 1fr);
    padding: 20px;
  }
}

@media screen and (max-width: 480px) {
  .stickyheader {
    flex-direction: column;
    align-items: center;
  }

  .menu {
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
  }

  .menu li a {
    font-size: 1.1rem;
  }

}