body {
    background: radial-gradient(217.82% 135.42% at 0% 8.69%,
            #FF00F2 0%,
            #FF5F95 12.5%,
            #FF8371 52.56%,
            #FFF600 95.67%);

    margin: 0;
    width: 100%;
    min-height: 100vh;

    display: flex;
    flex-direction: column;
}

* {
    box-sizing: border-box;
}

main {
    display: flex;
    width: 100%;
    justify-content: space-between;
    align-items: center;
}

header {
    background: rgba(255, 255, 255, 0.20);
    border-radius: 16px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(4.2px);
    border: 1px solid rgba(255, 255, 255, 0.81);

    display: flex;
    align-items: center;

    width: 95%;
    height: 5.8em;
    padding: 2.4%;

    position: absolute;
    top: 33px;
    left: 50%;
    transform: translateX(-50%);
}

.logo {
    width: clamp(140px, 15vw, 220px);
    height: auto;
}

nav {
    display: flex;
    align-items: center;
    gap: 20px;

    margin-left: auto;

    flex-shrink: 0;
}

button {
    padding: 0.6rem 1.5rem;

    border-radius: 14px;
    border: none;

    background: rgba(0, 0, 0, 0.20);
    box-shadow: 0 4px 1px 0 rgba(0, 0, 0, 0.25);

    font-size: 1em;
    cursor: pointer;

    transition: background 0.1s ease;
}

button:hover {
    background: white;
}

.intro {
    padding: 11.7% 4vw 0;
    font-family: "Poppins", sans-serif;
    color: white;
}

.intro h1 {
    font-family: "Poppins", sans-serif;
    margin-top: 5%;
    font-size: clamp(48px, 6vw, 100px);
    font-weight: 400;
    color: white;
    line-height: 1.05;
}

.intro p {
    display: flex;
    font-family: "Poppins", sans-serif;
    margin: 0;
    font-weight: 400;
    color: white;
    line-break: auto;
    margin-top: 7%;
}

.about-text {
    width: 55%;
    font-family: "Poppins", sans-serif;
    color: white;

    display: flex;
    flex-direction: column;
}

.about-page-intro {
    width: 90%;
    margin: 0 auto;
    padding: 12vh 0 5vh;
}

.about-container {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 50px;
    flex-wrap: wrap;
}

.about-text-wrapper {
    flex: 1;
    min-width: 300px;
}

.about-text {
    width: 100% !important;
    /* Overschrijft eventuele vaste breedtes */
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 20px;
}

.about-email {
    color: white;
    font-weight: 600;
    text-decoration: underline;
    margin-top: -8px;
}

.about-profile-card {
    flex-shrink: 0;
    margin-top: 5%;
}

.latest-project {
   display: flex;
    justify-content: center;
    width: min(467px, 40vw);
    height: 60vh;
    margin: 5%;
    background: rgba(255, 255, 255, 0.10);
    border: 1px solid rgba(255, 255, 255, 0.81);
    border-radius: 15px;
    color: white;
    font-family: "Poppins", sans-serif;
    margin-top: 13.7%;
    position: relative;
    text-align: center;
}

/* --- GEAVANCEERDE GLASSMORPHISM CONTACT SECTIE (COMPACT GEMAAKT) --- */
.contact-section {
    width: min(80rem, 90vw);
    /* Ietsjes breder voor een betere balans */
    margin: 3rem auto 2rem;
    /* 'auto' voor de linker- en rechtermarge centreert hem automatisch */
    padding: 25px 30px;

    /* Glassmorphism effect consistent met je header */
    background: rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);

    color: white;
    font-family: "Poppins", sans-serif;
    clear: both;
}

.contact-section h2 {
    margin-top: 0;
    margin-bottom: 15px;
    font-size: 1.5rem;
    font-weight: 600;
    text-align: center;
    color: #ffffff;
    letter-spacing: -0.5px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-group label {
    font-size: 0.9rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.95);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 10px 14px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.4);
    background: rgba(255, 255, 255, 0.2);
    color: #ffffff;
    font-family: "Poppins", sans-serif;
    font-size: 0.9rem;
    outline: none;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.65);
}

/* Subtiele glow bij focus */
.form-group input:focus,
.form-group textarea:focus {
    background: rgba(255, 255, 255, 0.3);
    border-color: #ffffff;
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.3);
}

/* Stijlvolle verzendknop matching met je nav knoppen */
.submit-btn {
    margin-top: 5px;
    padding: 10px 18px;
    border-radius: 12px;
    border: none;
    background: rgba(0, 0, 0, 0.25);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    color: white;
    font-family: "Poppins", sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.submit-btn:hover {
    background: #ffffff;
    color: #111111;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 255, 255, 0.3);
}

.submit-btn:active {
    transform: translateY(0);
}

.project1 {
    display: flex;
    justify-content: center;
    width: min(467px, 40vw);
    height: 60vh;
    margin: 5%;
    background: rgba(255, 255, 255, 0.10);
    border: 1px solid rgba(255, 255, 255, 0.81);
    border-radius: 15px;
    color: white;
    font-family: "Poppins", sans-serif;
    margin-top: 13.7%;
    position: relative;
    text-align: center;
}

.project1-title img {
    display: flex;
    width: 80%;
    height: auto;
    border-radius: 10px;
    margin: auto;
}


.project1-info {
  width: 100%;
    height: 12vh; /* Eventueel iets ruimer maken als dat nodig is */
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem; /* Ruimte tussen de twee knoppen */
    background: rgba(228, 228, 228, 0.20);
    border-radius: 15px;
    position: absolute;
    bottom: 0;
    left: 0;
}

.github-project-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem; /* Ruimte tussen het SVG icoon en de tekst */
    padding: 0.5rem 1rem;
    border-radius: 10px;
    background: rgba(0, 0, 0, 0.146);
    color: white;
    font-family: "Poppins", sans-serif;
    font-size: 0.85rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s ease;
    border: 1px solid rgba(255, 255, 255, 0.4);
}

.web-project-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem; /* Ruimte tussen het SVG icoon en de tekst */
    padding: 0.5rem 1rem;
    border-radius: 10px;
    background: rgba(15, 15, 15, 0.694);
    color: white;
    font-family: "Poppins", sans-serif;
    font-size: 0.85rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s ease;
    border: 1px solid rgba(255, 255, 255, 0.4);
}

.latest-project-info {
     width: 100%;
    height: 12vh; /* Eventueel iets ruimer maken als dat nodig is */
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem; /* Ruimte tussen de twee knoppen */
    background: rgba(228, 228, 228, 0.20);
    border-radius: 15px;
    position: absolute;
    bottom: 0;
    left: 0;
}

.latest-project img{
    display: flex;
    width: 80%;
    height: auto;
    border-radius: 10px;
    margin: auto;
}

footer {
    position: relative;
    width: 100%;
    display: flex;
    justify-content: center;
    color: white;
    font-family: "Poppins", sans-serif;
    font-size: x-small;
    margin-top: auto;
    margin-bottom: auto;

}

footer p {
    margin: 0;
}

@media (max-width: 500px) {

    header {
        width: 90vw;
        height: 10vh;
        min-height: 10vh;
        padding: 8px;

        gap: 8px;
    }

    main {
        flex-direction: column;
        align-items: center;
    }

    .intro {
        width: 90%;
        padding: 20vh 0 5vh;
    }

    .logo {
        width: 120px;
        height: auto;
    }

    .about-container {
        flex-direction: column-reverse;
        align-items: center;
        text-align: left;
    }

    .about-profile-card {
        margin: 0 auto 20px;
    }

    nav {
        display: flex;
        align-items: center;
        gap: 1.5vw;

        margin-left: auto;
        margin-right: 10px;
    }

    button {
        padding: 1vh 1.5vw;
        font-size: 12px;
        white-space: nowrap;
        border-radius: 10px;
    }

    button:hover {
        background: white;
    }

    .latest-project {
        width: 90%;
        height: 60vh;
        margin: 5vh 0;
    }

    .project {
        width: 90%;
        height: 60vh;
        margin: 5vh 0;
    }

    footer {

        position: relative;
        bottom: auto;

        display: flex;
        justify-content: center;
        width: 100%;

        margin-top: 3vh;


        color: white;
        font-family: "Poppins", sans-serif;
        font-size: xx-small
    }

    footer p {
        margin: 0;
    }

    .contact-section {
        padding: 20px 16px;
        margin-top: 30px;
        border-radius: 16px;
    }

}

.profile-card {
    width: 25%;
    height: 25%;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.6);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
    padding: 1%;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}



.profile-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
}