*,
*::before,
*::after {
    box-sizing: border-box;
}

:root {
    --dark-canvas: darkslategrey;
    --dark-text: #264040;
    --light-canvas: darkseagreen;
    --light-text: #70a970;
}

#title {
    border-radius: 1em 1em 0em 0em;
    margin-top: 0em;
    margin-bottom: 1em;
    padding: 0.3em;
    text-align: center;
}

#title.dark {
    background-color: var(--dark-canvas);
}

#title.light {
    background-color: var(--light-canvas);
}

#title h2 {
    margin-top: 0;
}

h1 {
    margin-bottom: 0;
}

h2 {
    margin-bottom: 0;
}

#filler {
    display: none;
}

#foto {
    border-radius: 50%;
    width: 11em;
}

.em {
    width: 1em;
}

header {
    font-size: larger;
    position: absolute;
    right: 1em;
    top: 1.2em;
}

#persoonlijk {
    float: right;
}

a {
    text-decoration: none;
}

.only_print {
    display: none;
}

table {
    border-collapse: collapse;
}

.tabel tr {
    border-top: 1px solid;
    border-bottom: 1px solid;
}

.tabel tr:first-child {
    border-top: none;
}

.tabel tr:last-child {
    border-bottom: none;
}

details.light {
    border: solid;
    border-color: ButtonFace;
}

details {
    margin: 0.5em 0em;
    overflow: hidden;
}

section details:first-of-type {
    border-radius: 1em 1em 0em 0em;
}

section details:last-of-type {
    border-radius: 0em 0em 1em 1em;
}

strong {
    font-size: large;
}

summary {
    padding: 0.5em;
}

.content {
    padding-left: 0.5em;
    padding-right: 0.5em;
}

details table {
    margin-top: 1em;
    margin-bottom: 1em;
}

details.dark {
    border: solid;
    border-color: var(--dark-canvas);
}

details.light {
    border: solid;
    border-color: var(--light-canvas);
}

summary.dark {
    background-color: var(--dark-canvas);
}

summary.light {
    background-color: var(--light-canvas);
}

td.progress {
    height: 1em;
    width: 100%;
    padding-right: 1em;
}

div.progress {
    background-color: ButtonFace;
    width: 100%;
    height: 35%;
    border-radius: 1em;
    border: 1px solid;
}

div.progress div {
    background-color: CanVasText;
    height: 100%;
}

div.agile_scrum {
    width: 95%;
}

div.css {
    width: 85%;
}

div.javascript {
    width: 85%;
}

div.linux {
    width: 75%;
}

div.mysql {
    width: 70%;
}

div.php {
    width: 45%;
}

div.git {
    width: 85%;
}

@media (min-width: 43em) {
    main {
        display: flex;
    }

    #col-1 {
        width: 25%;
        padding: 0.5em;
        min-width: 20em;
    }

    .col-2 {
        width: 75%;
        padding: 0.5em;
    }

    body {
        max-width: 100em;
        margin: auto;
        background-color: Canvas;
    }

    #title {
        all: revert;
        width: fit-content;
        margin-left: auto;
        margin-right: auto;
        margin-bottom: 1em;
    }

    #persoonlijk {
        float: initial;
    }

    #filler {
        display: block;
        background-color: initial;
    }

    #foto {
        display: block;
        margin: auto;
        margin-bottom: 1em;
    }

    summary,
    #print,
    #light,
    #dark {
        cursor: pointer;
    }

    #col-1.dark {
        background-color: var(--dark-canvas);
    }

    #col-1.light {
        background-color: var(--light-canvas);
    }

    #col-1 details.dark {
        border-color: var(--dark-text);
    }

    #col-1 details.light {
        background-color: var(--light-canvas);
        border-color: var(--light-text);
    }

    #col-1 summary.dark {
        background-color: var(--dark-text);
    }

    #col-1 summary.light {
        background-color: var(--light-text);
    }

    #col-1 section details:first-of-type {
        border-radius: 1em 0em 0em 0em;
    }

    #col-1 section details:last-of-type {
        border-radius: 0em 0em 0em 1em;
    }

    .col-2 section details:first-of-type {
        border-radius: 0em 1em 0em 0em;
    }

    .col-2 section details:last-of-type {
        border-radius: 0em 0em 1em 0em;
    }
}

@media (min-width: 100em) {
    html.dark {
        background-color: Field;
    }

    html.light {
        background-color: ButtonFace;
    }

    body {
        margin-top: revert;
    }

    body {
        border-radius: 1em 1em 0em 0em;
    }

    #col-1 {
        border-radius: 1em 0em 0em 0em;
        padding-left: 1.5em;
        padding-right: 1.5em;
    }

    div.col-2 {
        padding-right: 1.5em;
        padding-left: 1.5em;
    }

}

@media print {
    @page {
        size: a4 portrait;
        size: 61em calc(61em * 1.41);
    }

    #col-1 {
        background-color: white;
        min-width: unset;
    }

    body {
        color: black;
        background-color: white;
    }

    header {
        display: none;
    }

    a {
        color: black;
    }

    .only_print {
        display: initial;
    }

    details {
        break-inside: avoid;
    }

    #col-1 details {
        border: none !important;
    }

    .col-2 details {
        border: solid;
    }

    div.progress * {
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact;
    }
    table, ul {
        margin-top: 0.3em !important;
        margin-bottom: 0.3em !important;
    }
}