:root {
    --max-width: 820px;
    --fg: #333;
    --link: #0366d6;
    --link-hover: #004ea2;
}

.switch-container {
    position: absolute;
    top: 1rem;
    right: 1rem;
    z-index: 1000;
}

.lang-en {
    display: none;
}

.lang-nl {
    display: block;
}

body {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    Roboto, "Helvetica Neue", Arial, sans-serif;
    margin: 0;
    line-height: 1.55;
    color: var(--fg);
    background: #fafafa;
}

main {
    position: relative;
    max-width: var(--max-width);
    margin: 3rem auto;
    padding: 0 1rem;
    background: #fff;
}

h1, h2, h3 {
    margin: 0 0 .4rem 0;
}

h1 {
    font-size: 2rem;
}

h2 {
    font-size: 1.25rem;
    margin-top: 2rem;
}

h3 {
    font-size: 1.1rem;
    margin-top: 1.3rem;
}

hr {
    border: none;
    border-top: 1px solid #ccc;
    margin: 1.5rem 0;
}

ul {
    margin: .4rem 0 .8rem .5rem;
}

.skills {
    display: flex;
    flex-wrap: wrap;
    padding-left: 1em;
}

.skills li {
    flex: 1 0 25%;
}

p {
    margin: .4rem 0 .8rem 0;
}

a {
    color: var(--link);
    text-decoration: underline;
}

a:hover, a:focus {
    color: var(--link-hover);
}

.contact {
    font-size: .95rem;
    color: #555;
}

/* nieuwe stijl voor functietitels */
.role {
    font-size: .9rem;
    font-style: italic;
    font-weight: normal;
}

@media print {
    body {
        background: none;
    }

    main {
        box-shadow: none;
    }
}