@import url('https://fonts.googleapis.com/css2?family=Dancing+Script:wght@400;500;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=EB+Garamond:wght@400;500;700&display=swap');


* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: #010115;
    overflow-x: hidden;
   
}

.header {
    display: flex;
    justify-content: space-between;
    place-items: center;
    position: relative;
    background-color: #000;
    padding: 0 10vw;
}

.logo {
    max-width: 7vw;
    z-index: 3;
}

.main-nav-list {
    display: flex;
    list-style: none;
    z-index: 3;
    gap: 5vw;
}

.main-nav-link {
    color: #fffa;
    text-decoration: none;
    font-size: 1.8vw;
    transition: all 0.5s;
    font-family: "Dancing Script";
}

.main-nav-link:hover {
    color: #fff;
}

.hero-button {
    display: none; /* Verberg standaard de knop */
    position: absolute;
    bottom: 20vh;
    z-index: 2;
  }
  
  .hero-button .btn {
    display: grid;
    place-items: center;
    width: 10vw;
    height: 5vh;
    margin-top: 5vh;
    text-decoration: none;
    border-radius: 15px;
    background-color: #010115;
    box-shadow: 0 0 50px #fffa;
    color: #fffa;
    font-size: 1.4vw;
    font-family: "EB Garamond";
    transition: all 0.5s;
  }
  
  .hero-button .btn:hover {
    background-color: #5a2391;
  }
  
  @media (max-width: 768px) {
    .hero-button {
      display: block; /* Toon de knop alleen wanneer de pagina responsief is */
    }
  }

  .hero {
    display: grid;
    position: relative;
    place-items: center;
    width: 100vw;
    height: 100vh; /* Vergroot de hoogte */
    background: linear-gradient(to bottom, #010115, #020230); /* Voeg een mooie achtergrond toe */
    overflow: hidden;
}

.hero::before {
    content: "";
    position: absolute;
    bottom: 0;
    width: 100vw;
    height: 5vh;
    background: linear-gradient(to top, #010115, transparent);
    z-index: 1;
}

.hero-img {
    position: absolute;
    width: 40vw; /* Vergroot de afbeelding */
    z-index: 1;
    margin-left: 30vw; /* Pas de positie aan */
}

.bg {
    width: 100vw;
    height: 100vh;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

.hero-description {
    position: absolute;
    width: 30vw; /* Vergroot de breedte */
    height: auto; /* Pas de hoogte aan */
    z-index: 2;
    margin-top: -50vh;
    margin-left: -35vw;
    text-align: center; /* Centreer de tekst */
}

.hero-title {
    color: #fff;
    font-size: 4vw; /* Vergroot de tekstgrootte */
    font-weight: 400;
    font-family: "EB Garamond";
}

.dand {
    color: #7a31bf;
    font-family: "Dancing Script";
}

.hero-subheading {
    color: #fff;
    font-size: 2vw; /* Vergroot de tekstgrootte */
    font-weight: 400;
    font-family: "EB Garamond";
    margin-left: 0; /* Centreer de tekst */
    margin-top: 2vh;
}

.hero-model {
    position: absolute;
}

model-viewer {
    width: 64vw;
    height: 95vh;
    z-index: 1;
}

@media (max-width: 768px) {
    .hero {
        height: 80vh; /* Pas de hoogte aan voor kleinere schermen */
    }

    .hero-title {
        font-size: 6vw; /* Pas de tekstgrootte aan voor kleinere schermen */
    }

    .hero-subheading {
        font-size: 3vw; /* Pas de tekstgrootte aan voor kleinere schermen */
    }

    .hero-img {
        width: 0vw; /* Pas de grootte van de afbeelding aan voor kleinere schermen */
        margin-left: 50vw; /* Pas de positie aan */
    }

    .hero-description {
        width: 80vw; /* Vergroot de breedte voor kleinere schermen */
        margin-left: -40vw; /* Centreer de tekst */
    }
}
/* about me */

.about-me {
    display: grid;
    place-items: center;
    width: 100vw;
    height: auto; /* Zorg ervoor dat de hoogte automatisch wordt aangepast */
    position: relative;
    padding: 10vh 10vw; /* Voeg voldoende padding toe */
}

.about-me-description {
    width: 30vw;
    height: 35vh;
    position: absolute;
    margin-left: -50vw;
    margin-top: -50vh;
}

.introduction {
    color: #ffffff5a;
    font-size: 1vw;
    padding-bottom: 2vh;
}

.about-me-title {
    color: #fff;
    font-size: 3.5vw;
    font-family: "Dancing Script";
}

.about-me-subheading {
    color: #fff;
    font-size: 1.4vw;
    font-weight: 400;
    font-family: "EB Garamond";
    line-height: 1.2;
    padding-top: 3vh;
}

/* cards */

/* animation */
.animation {
    opacity: 0;
    transform: all 0.5s;
}

.showUp{
    animation: showUp 1s;
}

@keyframes showUp {
    0% {
        transform: translateY(60px);
    }

    100% {
        transform: translateY(0);
    }
}

.cards {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    gap: 2vw;
    margin-top: 5vh; /* Verlaag de marge boven de kaarten */
}

.card {
    flex: 1 1 calc(20% - 2vw); /* 20% breedte min de gap */
    max-width: calc(20% - 2vw); /* Zorg ervoor dat de breedte niet groter wordt dan 20% */
    margin: 1vw 0; /* Voeg wat marge toe tussen de rijen */
    position: relative; /* Voeg position: relative toe om de titel te positioneren */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 35vh;
    overflow: hidden;
    border-radius: 20px;
    box-shadow: 0 0 9px #fffa;
}

.card img {
    max-width: 100%; /* Zorg ervoor dat de afbeelding niet groter is dan de card */
    max-height: 100%; /* Zorg ervoor dat de afbeelding niet groter is dan de card */
    height: auto; /* Behoud de aspect ratio van de afbeelding */
}

.card .title {
    position: absolute; /* Voeg position: absolute toe om de titel te positioneren */
    bottom: 20px; /* Plaats de titel net boven de onderkant van de card */
    font-size: 1.5vw; /* Pas de tekstgrootte van de titel aan */
    text-align: center;
    width: 100%;
}

/* Specifieke aanpassingen voor bepaalde afbeeldingen */
.reactImg,
.php,
.python,
.mysql,
.java,
.c,
.cssImg,
.htmlImg,
.wordpress,
.js {
    width: 60%; /* Pas de breedte aan indien nodig */
    height: auto; /* Behoud de aspect ratio van de afbeelding */
    z-index: 1;
    margin-top: -2vh;
}

/* Media queries for responsiveness */
@media (max-width: 1200px) {
    .card {
        flex: 1 1 calc(25% - 2vw); /* 25% breedte min de gap */
        max-width: calc(25% - 2vw); /* Zorg ervoor dat de breedte niet groter wordt dan 25% */
    }
}

@media (max-width: 992px) {
    .card {
        flex: 1 1 calc(33.33% - 2vw); /* 33.33% breedte min de gap */
        max-width: calc(33.33% - 2vw); /* Zorg ervoor dat de breedte niet groter wordt dan 33.33% */
    }
}

@media (max-width: 768px) {
    .card {
        flex: 1 1 30%;
        max-width: 30%;
    }
}

@media (max-width: 576px) {
    .card {
        flex: 1 1 30%;
        max-width: 30%;
        height: 15vh; /* Verklein de hoogte van de cards */
        margin: 0.5vw 0; /* Verklein de marge tussen de rijen */
    }

    .card img {
        width: 50%; /* Verklein de afbeelding binnen de card */
    }

    .card .title {
        font-size: 1.5vw; /* Verklein de tekstgrootte van de titel */
    }
}

/* Specifieke aanpassingen voor bepaalde afbeeldingen */
.reactImg {
    width: 70%;
    z-index: 1;
}



.js {
    width: 60%;
    z-index: 1;
}


.title {
    color: #fff;
    position: relative;
    font-size: 1.6vw;
    text-align: center;
    z-index: 10;
    font-family: "Eb Garamond";
    font-weight: 400;
}

.card::before {
    content: "";
    position: absolute;
    width: 20vw;
    height: 25vh;
    background: linear-gradient(#00ccff, #d400d4);
    animation: rotation 5s linear infinite;
}

.card::after {
    content: "";
    position: absolute;
    inset: 0.15vw;
    background-color: #16063a;
    border-radius: 15px;
}

@keyframes	rotation {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* timeline */

.time-line-section {
    display: grid;
    place-items: center;
    width: 100vw;
    height: auto;
    position: relative;
    padding: 0 10vw;
    background-color: #010115;
    background-size: 100vw;
}

.time-line-content {
    display: grid;
    place-items: center;
    width: 100%;
    padding-bottom: 25vh;
}

.heading-description { 
    display: grid;
    place-items: center;
    margin-bottom: 10vh;
    margin-left: -50vw;
}

.time-line-title {
    color: #ffffff5a;
    font-size: 1vw;
    padding-bottom: 2vh;
}

.time-line-subheading {
    color: #fff;
    font-size: 3.5vw;
    font-family: "Dancing Script";
    margin-left: 50vw;
}

.timeline {
    display: grid;
    position: relative;
    place-items: center;
}

.line {
    position: absolute;
    width: 0.15vw;
    top: -7vh;
    background-color: #fff;
    z-index: 2;
    box-shadow: 0 0 30px #fff;    
}

.line::before,
.line::after {
    content: "";
    position: absolute;
    display: block;
    width: 1.2vw;
    height: 2.3vh;
    background-color: #fff;
    border-radius: 50%;
    left: 50%;
    transform: translateX(-50%);
}

.line:after {
    bottom: 0;
}

.time-line-description {
    display: flex;
    transform: translateX(-50%);
    transition: 600ms ease;
    position: relative;
    z-index: 1;
    margin: 1.2vh 0;
    padding: 1vw;
    align-items: center;
    width: 75vw;
    min-height: 35vh;
    opacity: 0;
}

.time-line-description:nth-child(odd) {  
    flex-direction: row-reverse;
    transform: translateX(50%);
}

.mini-circle {
    position: absolute;
    display: block;
    width: 1.2vw;
    height: 2.3vh;
    background-color: #fff;
    border-radius: 50%;
    left: 50%;
    transform: translateX(-50%);
    top: 20%;
}

.content {
    width: calc(50% - 2vw);
    padding: 2vh 2vw;
    border-radius: 5%;
    box-shadow: 0 0 10px #fffa;
}

.show-me:nth-child(n) {
    transform: none;
    opacity: 1;
}

.content-timeline-title {
    color: #fff;
    font-size: 2.2vw;
    font-family: "Dancing Script";
}

.content-timeline-description {
    color: #fffa;
    font-size: 1.2vw;
    font-family: "EB Garamond";
    font-weight: 400;
    line-height: 1.2;
    padding-top: 2vh;
}

/* Media queries for responsiveness */
@media (max-width: 768px) {
    .time-line-description {
      font-size: 0.5em; /* Vergroot de tekstgrootte */
      padding: 2vh 2vw; /* Voeg padding toe voor meer ruimte */
      width: 90%; /* Maak de tekstvakken breder */
    }
  
    .content-timeline-description {
      font-size: 1.5em; /* Vergroot de tekstgrootte binnen de content */
      width: 100%; /* Maak de tekstvakken breder */
    }
    .content-timeline-title {
        font-size: 2em; /* Vergroot de titel */
      }
  }

/* projection */

.projection {
    position: relative;
    width: 100vw;
    height: auto;
    padding: 10vh 10vw;
}

.projection:before {
    content: "";
    position: absolute;
    bottom: -20vh;
    width: 100vw;
    height: 5vh;
    background: linear-gradient(to top, #010115, transparent);
    margin-left: -20vh;
    z-index: 1;
}

/* Center the "My Projects" title */
.projection-title {
    color: #fff;
    font-size: 3.5vw;
    font-family: "Dancing Script";
    text-align: center; /* Center the title */
  }
  
  /* Make the text of the projection item description wider */ 
  .projection-item-description {
    color: #fffa;
    width: 60vw; /* Increase the width */
    font-size: 1.4vw;
    font-family: "EB Garamond";
    line-height: 1.2;
    padding-top: 5vh;
  }

.projections {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    margin-top: 20vh;
}

.projection-item {
    display: grid;
    place-items: center;
    text-align: center;
}

.projection-img {
    width: 25vw;
}

.projection-item-title { 
    color: #fff;
    font-size: 2vw;
    font-family: "EB Garamond";
    font-weight: 400;
    padding-top: 3vh;
    line-height: 1.2;
}

.project-divider {
    width: 50%;
    margin: 2rem auto;
    border: 0;
    height: 3px;
    background: linear-gradient(90deg, rgba(255,255,255,0.2), rgba(255,255,255,1), rgba(255,255,255,0.2));
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.7);
    border-radius: 10px;
}


.btn {
    display: grid;
    place-items: center;
    width: 10vw;
    height: 5vh;
    margin-top: 5vh;
    text-decoration: none;
    border-radius: 15px;
    background-color: #010115;
    box-shadow: 0 0 50px #fffa;
    color: #fffa;
    font-size: 1.4vw;
    font-family: "EB Garamond";
    transition: all 0.5s;
}

.btn:hover {
    box-shadow: 0 0 10px rgb(140, 56 ,224);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .projection {
        padding: 5vh 5vw;
    }

    .projection-item-description {
        width: 80vw;
        font-size: 3.5vw;
    }

    .projection-img {
        width: 50vw;
    }

    .projection-item-title {
        font-size: 4vw;
    }

    .projection-title {
        font-size: 6vw;
    }

    .btn {
        width: 30vw;
        height: 7vh;
        font-size: 3vw;
    }
}

/* contact */
#contact {
    padding: 50px 10vw;
    background-color: #010115;
    text-align: center;
}

#contact .contact-text h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: #fff;
}

.wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.wrapper > div {
    position: relative;
    background-color: white;
    padding: 15px;
    border-radius: 50%;
    transition: transform 0.3s;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1); /* Voeg een lichte schaduw toe */
}

.wrapper > div:hover {
    transform: scale(1.1);
}

.wrapper > div i {
    font-size: 1.5rem;
    color: black;
}

.tooltip {
    position: absolute;
    top: -30px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #333;
    color: #fff;
    padding: 5px 10px;
    border-radius: 5px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
}

.wrapper > div:hover .tooltip {
    opacity: 1;
    visibility: visible;
}

@media (max-width: 768px) {
    #contact {
        padding: 30px 5vw;
    }

    #contact .contact-text h2 {
        font-size: 2rem;
    }

    .wrapper > div {
        padding: 10px;
    }

    .wrapper > div i {
        font-size: 1.2rem;
    }
}

@media (max-width: 576px) {
    #contact .contact-text h2 {
        font-size: 1.5rem;
    }

    .wrapper > div {
        padding: 8px;
    }

    .wrapper > div i {
        font-size: 1rem;
    }
}

/* Popup styles */
.popup {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.8);
  }
  
  .popup-content {
    background-color: #fefefe;
    margin: 5% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 90%; /* Increased width for larger photos */
    max-width: 900px; /* Increased max-width for larger photos */
    text-align: center;
    position: relative;
  }
  
  .popup-slide {
    display: none;
    width: 100%;
    max-height: 800px; /* Increased max-height for larger photos */
    object-fit: contain;
  }
  
  .popup-slide.active {
    display: block;
  }
  
  .close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
  }
  
  .close:hover,
  .close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
  }
  
  .prev, .next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    padding: 16px;
    margin-top: -22px;
    color: white;
    font-weight: bold;
    font-size: 18px;
    transition: 0.6s ease;
    border-radius: 0 3px 3px 0;
    user-select: none;
  }
  
  .prev {
    left: 0; /* Position the left arrow to the left of the photo */
    border-radius: 3px 0 0 3px;
  }
  
  .next {
    right: 0;
    border-radius: 3px 0 0 3px;
  }
  
  .prev:hover, .next:hover {
    background-color: rgba(0,0,0,0.8);
  }


/* About Me Intro Section */
.about-me-intro {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 5vh 10vw;
    background-color: #010115;
    color: #fff;
    text-align: center;
  }
  
  .intro-container {
    max-width: 800px;
  }
  
  .intro-title {
    font-size: 2.5vw;
    font-family: "Dancing Script";
    margin-bottom: 2vh;
  }
  
  .intro-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
  
  .intro-text {
    font-size: 1.2vw;
    font-family: "EB Garamond";
    line-height: 1.5;
    flex: 1;
    margin-right: 2vw;
  }
  
  .intro-photo {
    width: 350px;
    height: 350px;
    border-radius: 50%;
    object-fit: cover;
  }
  
  /* Media queries for responsiveness */
  @media (max-width: 768px) {
    .intro-title {
      font-size: 4vw;
    }
  
    .intro-content {
      flex-direction: column;
    }
  
    .intro-text {
      font-size: 2vw;
      margin-right: 0;
      margin-bottom: 2vh;
    }
  
    .intro-photo {
      width: 120px;
      height: 120px;
    }
  }
  
  @media (max-width: 576px) {
    .intro-title {
      font-size: 5vw;
    }
  
    .intro-text {
      font-size: 2.5vw;
    }
  
    .intro-photo {
      width: 100px;
      height: 100px;
    }
  }

/* project button */

  .btn1 {
    display: grid;
    place-items: center;
    width: 10vw;
    height: 5vh;
    margin-top: 5vh;
    margin-left: 50vw; /* Voeg deze regel toe om de knop naar rechts te verplaatsen */
    text-decoration: none;
    border-radius: 15px;
    background-color: #010115;
    box-shadow: 0 0 50px #fffa;
    color: #fffa;
    font-size: 1.4vw;
    font-family: "EB Garamond";
    transition: all 0.5s;
}

.btn:hover {
    box-shadow: 0 0 10px rgb(140, 56 ,224);
}