* {
    box-sizing: border-box;
}

body {
    font-size: 14pt;
    margin: 0;
    padding: 0;
    color: #222;
    background-color: #fafafa;
    position: relative;
    font-family: system-ui,-apple-system,Segoe UI,Roboto,Ubuntu,Cantarell,Noto Sans,sans-serif,BlinkMacSystemFont,Helvetica Neue;
    line-height: 1.2;
}

header {
    background: #222;
    padding: 6rem 1rem 2rem;
    margin: 0 0 2rem;
    color: #fafafa;
}

header a, header a:visited {
    color: #fafafa;
    text-decoration: underline;
}

header a:hover, header a:active, header a:focus {
    color: #3286dc;
}

header > p {
    text-align: center;
}

section {
    margin: 0 auto 2rem;
    padding: 0 1rem;
}

h1 {
    color: #fafafa;
    font-size: 3.5rem;
    line-height: 1;
    margin: 0;
    text-align: center;
    font-weight: 900;
}

h2 {
    font-size: 1.5rem;
    line-height: 1em;
    font-weight: 700;
    margin: -0.25rem 1rem 0 0;
    font-variant: small-caps;
    text-align: left;
    padding: 0;
    position: relative;
}

h3 {
    font-size: 1em;
    line-height: 1.2;
    font-weight: 400;
    margin: 0;
    font-style: italic;
    grid-column: 1;
}

div.experience {
    margin-bottom: 2rem;
}

li {
    margin-bottom: 0.5rem;
}

a, a:visited {
    text-decoration: underline;
    color: #222;
}

a:hover, a:active, a:focus {
    color: #3286dc;
}

table {
    border-collapse: collapse;
}

thead th {
    border-bottom: 1px solid black;
}

th, td {
    padding: 0.5rem;
    vertical-align: top;
}

th {
    padding-top: 0;
    text-align: left;
}

.icon {
    display: inline-block;
    width: 1em;
    height: 1em;
    stroke-width: 0;
    stroke: currentColor;
    fill: currentColor;
    margin: 0 0.25em;
}

.mb {
    width: 1.125em;
}

.gh {
    width: 0.96875em;
}

.download {
    width: 1em;
}

@media screen and (min-width: 768px) {
    section {
        max-width: 51rem;
        display: grid;
        grid-template-columns: 11rem auto;
    }

    div.experience {
        grid-column: 2;
    }

    div.oneline {
        display: flex;
        justify-content: space-between;
    }

    h2 {
        text-align: right;
    }
}

@media print {
    html, body {
        background: white;
        font-size: 11pt;
    }

    header {
        background: none;
        color: black;
        padding: 0;
        margin: 0.25in;
    }

    section {
        padding: 0;
        margin: 0 auto 0.25in;
    }

    header a, header a:visited {
        color: black;
        text-decoration: underline;
    }

    header a:hover, header a:active, header a:focus {
        color: black;
    }

    h1 {
        color: black;
        font-size: 18pt;
    }

    h2 {
        color: black;
        font-size: 13pt;
        margin-top: 0;
        line-height: 1em;
    }

    .experience {
        page-break-inside: avoid;
    }

    a {
        page-break-inside:avoid
    }

    a[href^=http]:after {
        content: " <" attr(href) "> ";
    }

    section {
        max-width: 51rem;
        display: grid;
        grid-template-columns: 9rem auto;
    }

    div.experience {
        grid-column: 2;
    }

    div.oneline {
        display: flex;
        justify-content: space-between;
    }

    h2 {
        text-align: right;
    }

    .print {
        display: none;
    }
}
