html, body {
    height: 100%;
}

body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

main {
    flex: 1;
}

body {
    font-family: 'Inter', 'Segoe UI', Arial, sans-serif;
    margin: 0;
    padding: 0;
    background: #f5f6fa;
    color: #222;
}

header {
    background: #111;
    color: #fff;
    padding: 36px 0 20px 0;
    text-align: center;
    box-shadow: 0 2px 12px rgba(0,0,0,0.07);
}

header h1 {
    margin: 0;
    font-size: 2.5rem;
    font-weight: 700;
    letter-spacing: 1px;
}

nav ul {
    list-style: none;
    padding: 0;
    margin: 24px 0 0 0;
    display: flex;
    justify-content: center;
    gap: 40px;
}

nav a {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    font-size: 1.1rem;
    padding: 8px 18px;
    border-radius: 24px;
    transition: background 0.2s, color 0.2s;
}

nav a:hover {
    background: #fff;
    color: #111;
}

.intro {
    background: #fff;
    margin: 48px auto 0 auto;
    padding: 40px 32px;
    max-width: 520px;
    text-align: center;
    border-radius: 24px;
    box-shadow: 0 6px 32px rgba(0,0,0,0.07);
}

.profile-img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 22px;
    border: 4px solid #111;
    box-shadow: 0 2px 12px rgba(0,0,0,0.12);
}

.intro h2 {
    margin-top: 0;
    font-size: 1.7rem;
    color: #111;
    font-weight: 600;
}

.intro p {
    font-size: 1.12rem;
    color: #444;
    margin-bottom: 0;
}

footer {
    background: #111;
    color: #fff;
    text-align: center;
    padding: 12px 0 8px 0;
    border-top-left-radius: 24px;
    border-top-right-radius: 24px;
    box-shadow: 0 -2px 12px rgba(0,0,0,0.07);
    position: static; /* Verwijder 'fixed', zodat de footer niet over de tekst heen komt */
    left: unset;
    bottom: unset;
    width: 100%;
    margin-top: 0;
    z-index: 100;
}

.contact-info {
    margin-bottom: 6px;
}

.contact-info h3 {
    margin: 0 0 4px 0;
    font-size: 1.08rem;
    color: #fff;
    font-weight: 500;
}

.contact-info p {
    margin: 2px 0;
    font-size: 0.98rem;
    color: #e0e0e0;
}

.contact-info a {
    color: #4e54c8;
    font-weight: 600;
    text-decoration: underline;
    transition: color 0.2s;
}

.contact-info a:hover {
    color: #111;
    background: #eaeaea;
    border-radius: 4px;
    padding: 2px 6px;
    text-decoration: none;
}

.projects {
    margin-top: 48px;
}

.project-list {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 36px 28px;
    justify-items: center;
    margin: 48px auto;
    max-width: 1300px;
}

.project-item {
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.08);
    padding: 28px 18px 20px 18px;
    width: 210px;
    min-height: 220px;
    text-align: left;
    transition: box-shadow 0.2s, transform 0.2s;
    border: 1.5px solid #eaeaea;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.project-item:hover {
    box-shadow: 0 8px 32px rgba(17,17,17,0.13);
    transform: translateY(-6px) scale(1.03);
    border-color: #111;
}

.project-img {
    width: 100%;
    height: 110px;
    object-fit: cover;
    border-radius: 12px;
    margin-bottom: 16px;
    border: 2px solid #111;
    background: #eee;
}

.project-item h3 {
    margin-top: 0;
    margin-bottom: 10px;
    color: #111;
    font-size: 1.18rem;
    font-weight: 600;
    text-align: center;
}

.project-item p {
    color: #444;
    font-size: 1rem;
    margin: 0;
    text-align: center;
}

@media (max-width: 1100px) {
    .project-list {
        grid-template-columns: repeat(2, 1fr);
        max-width: 480px;
    }
}

@media (max-width: 600px) {
    .intro {
        padding: 18px 8px;
        max-width: 98vw;
    }
    nav ul {
        gap: 16px;
    }
    header h1 {
        font-size: 1.3rem;
    }
    .project-list {
        grid-template-columns: 1fr;
        max-width: 98vw;
        gap: 24px 0;
    }
    .project-item {
        width: 98vw;
        min-width: unset;
    }
}