body {
    margin: 0;
    font-family: 'Inter', sans-serif;
    background: white;
    color: black;
    cursor: none;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh; /* Verander height naar min-height */
    flex-direction: column;
    overflow-y: auto;  /* Zorg ervoor dat scrollen mogelijk is als de inhoud groter is */
}


html {
    scroll-behavior: smooth;
}

::selection {
    background: rgb(0, 0, 0);
    color: white;
}

.nav {
    padding: 1em;
    display: flex;
    justify-content: center;
    gap: 2em;
    font-size: 1.2em;
    margin-top: 5.5em; /* De navigatie blijft dezelfde afstand van de bovenkant hebben */
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 8;
}

.text {
    width: 45%;
    max-width: 800px;
    text-align: center;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.portfolio {
    width: 100%;
    display: flex;
    flex-direction: column;  /* Zet de projecten verticaal onder elkaar */
    box-sizing: border-box;
    align-items: center; /* Zorgt ervoor dat de projecten horizontaal gecentreerd blijven */
    justify-content: flex-start; /* Zorgt ervoor dat de lijst van boven naar beneden groeit */
    overflow-y: visible; /* Zorgt ervoor dat je niet kunt scrollen binnen de .portfolio */
    background-color: white;
    margin-top: 15.5em;
    z-index: 9;
}

.portfolio > .project {  /* Of een ander class selector voor de projectitems */
    margin-bottom: 5.5em;  /* Ruimte tussen de items */
      background-color: white;
}

.project img {
    width: 80%;
    max-width: 700px;
    border: 1px solid #ddd;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    margin-top: auto; /* Zorgt ervoor dat het eerste project vanaf de bovenkant van de container komt */
    border-radius: 24px;
}

.project:hover img {
    transform: scale(1.02);
    transition: transform 0.3s ease;
}

.cursor {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    transform: translate(-50%, -50%);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: 2px solid black;
    /* Verwijder de transition van hier */
}

.cursor.hovering {
    border: none; /* geen rand bij hover */
    font-size: 28px; /* Verander de grootte van de X zoals gewenst */
    color: rgb(0, 0, 0); /* Kleuren kunnen hier worden aangepast */
    transition: font-size 0.9s ease, color 0.9s ease; /* Voeg de overgang toe voor font-size en color */
}

.cursor-text {
    font-size: 26px;
    color: black;
    pointer-events: none;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: none;
    z-index: 1001;
}

.cursor.hovering .cursor-text {
    display: block;
}

.project-container {
    position: relative;
    width: fit-content;
    display: inline-block;
    background-color: white;
  }
  

.project-container img {
  display: block;
  width: 100%;
  transition: opacity 1.0s ease;
  transition: transform 0.3s ease;
}

.project-title {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: rgb(255, 255, 255);
  font-size: 20px;
  opacity: 0;
  pointer-events: none;
  text-align: center;
  font-weight: 600;
  transition: opacity 0.3s ease;
}

.project-description {
    position: absolute;
    top: 57%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: rgb(172, 172, 172);
    font-size: 16px;
    opacity: 0;
    pointer-events: none;
    text-align: center;
    font-weight: 300; /* Dit maakt de tekst dunner */
    transition: opacity 0.3s ease;
  }

.project-container:hover img {
    transition: transform 0.3s ease, opacity 0.3s ease, filter 0.3s ease; /* Voeg filter overgangen toe */
    filter: brightness(0.50); /* Verlaag de helderheid naar 20% om het donkerder te maken */
}

.project-container:hover .project-title {
  opacity: 1;
  transition: opacity 0.3s ease;
}

.project-container:hover .project-description {
    opacity: 1;
    transition: opacity 0.3s ease;
  }

body, * {
  cursor: none !important;
}

a {
    color: black; 
    text-decoration: none; /* Verwijdert de onderstreping, als je dat wilt */
}

a:visited {
    color: black; /* Zorgt ervoor dat de bezochte link ook blauw blijft */
}

a:hover {
    text-decoration: underline;
}

.text a {
    text-decoration: underline;
}

.text a:hover {
    text-decoration: none;
}

.introTransition {
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    width: 100%;
    background: white;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10;
    animation: fadeOutTransition 1s forwards;
}

.intro {
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    width: 100%;
    background: white;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10;
    animation: fadeOut 1.5s forwards 2s; /* Intro fade-out, start na 1.5s */
}

.intro h1 {
    animation: fadeOutText 0.8s forwards 1s; /* Fade-out tekst in de intro */
}

@keyframes fadeOut {
    from {
        opacity: 1;
    }
    to {
        opacity: 0;
        visibility: hidden;
    }
}

@keyframes fadeOutTransition {
    from {
        opacity: 1;
    }
    to {
        opacity: 0;
    }
}

@keyframes fadeOutText {
    from {
        opacity: 1; /* Begin volledig zichtbaar */
    }
    to {
        opacity: 0; /* Laat de tekst verdwijnen */
    }
}

@keyframes fadeIn {
    from {
        opacity: 0; /* Begin met transparantie */
    }
    to {
        opacity: 1; /* Eindig met volledige zichtbaarheid */
    }
}

/*
.feather-top, .feather-bottom {
    position: fixed;
    left: 0;
    width: 100%;
    height: 40px;
    pointer-events: none;
    z-index: 20;
    overflow: hidden;
}

.feather-top {
    top: 0;
}

.feather-bottom {
    bottom: 0;
}

.feather-top::before,
.feather-bottom::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    backdrop-filter: blur(40px);
    -webkit-backdrop-filter: blur(40px);
    mask-image: linear-gradient(to bottom, black 0%, transparent 100%);
    -webkit-mask-image: linear-gradient(to bottom, black 0%, transparent 100%);
}

.feather-bottom::before {
    mask-image: linear-gradient(to top, black 0%, transparent 100%);
    -webkit-mask-image: linear-gradient(to top, black 0%, transparent 100%);
}
    */

.project-frame {
    width: 50%;
    margin-top: 20vh;
    background-color: white;
    padding: 2rem;
    border-radius: 16px;    
    display: flex;
    flex-direction: column;
    gap: 2rem;
    justify-content: flex-start;
}

.projectpage-image {
    width: 100%;
    height: auto;  
    border-radius: 12px;
}



/* Hoofdcontainer voor de projectpagina */
.projectPage {
    width: 50%;
    max-width: 1200px;
    margin-top: 25vh;
    padding: 2rem;
    overflow: hidden;
    z-index: 9;
}

/* Project afbeelding styling */
.projectPage-image-container {
    width: 100%;
    height: auto;
    margin-bottom: 2rem;
}

.projectPage-image {
    width: 100%;
    height: auto;
    object-fit: cover; /* Zorgt ervoor dat de afbeelding goed schaalt */
    border-radius: 12px;
}

/* Container voor de projectinformatie */
.projectPage-info-container {
    display: flex;
    justify-content: space-between; /* Plaatst de tekst in twee kolommen */
    gap: 7rem;
}

/* Linkerkolom met titel en beschrijving */
.projectPage-info-left {
    width: 60%;
}

.projectPage-title {
    font-size: 2.5rem;
    color: #000000;
    font-weight: bold;
    margin-bottom: 1rem;
    margin-top: 1rem;
}

.projectPage-description {
    font-size: 1rem;
    color: #000000;
    line-height: 1.6;
}

/* Rechterkolom met gedetailleerde informatie */
.projectPage-info-right {
    width: 35%;
    background-color: #ffffff;
    border-radius: 8px;
}

.projectPage-info-right h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.projectPage-info-right p {
    font-size: 1rem;
    color: #000000;
    margin-bottom: 1rem;
}

.projectPage-info-right a {
    color: #000000;
    text-decoration: none;
}

.projectPage-info-right a:hover {
    text-decoration: underline;
}

/* Responsieve aanpassingen voor mobiel */
@media (max-width: 768px) {
    .projectPage-info-container {
        flex-direction: column; /* Zet de tekstkolommen onder elkaar op kleinere schermen */
        gap: 1.5rem;
    }

    .projectPage-info-left {
        width: 100%;
    }

    .projectPage-info-right {
        width: 100%;
        background-color: white; /* Witte achtergrond op mobiele apparaten */
    }
}

.projectPage-info-right a {
    text-decoration: underline;
}

.projectPage-info-right a:hover {
    text-decoration: none;
}

.spacer {
    display: block !important;
    height: 100px !important;
    background: red !important;
    visibility: visible !important;
    opacity: 1 !important;
    position: relative !important;
  }


  .about-container {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 220px auto 60px auto; /* <-- deze regel */
  gap: 40px;
  background-color: white;
  z-index: 9;
}

.about-text {
    width: 45%;
    max-width: 800px;
    text-align: center;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.about-photo {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.about-photo img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  object-fit: cover;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}


.about-text a {
    text-decoration: underline;
}

.about-text a:hover {
    text-decoration: none;
}

.laurel-showcase {
  padding: 2rem 1rem;
  padding-bottom: 5rem;
}

.laurel-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8rem;
}

.laurel-container img {
  height: 100px;
  object-fit: contain;
}