@import url(https://fonts.googleapis.com/css?family=Lato:400,700);

.feather {
    width: 24px;
    height: 24px;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    fill: none;
}

.feather-large {
    width: 48px;
    height: 48px;
}

html {
    margin: 0;
    padding: 0;
}

body {
    background: #fff;
    font-display: fallback;
    font-family: Lato, sans-serif;
    line-height: 1.6;
    margin: 0;
    width: 100%;
}

body > header, main {
    box-sizing: border-box;
    padding: 0 1em 1em;
    width: 100%;
}

body > header {
    background: #f4f6f6;
    margin-bottom: 0px;
    padding-top: 1em;
}

main {
    padding-top: 0;
}

h1 {
    margin-bottom: 0;
    font-size: 2.5em;
    font-weight: normal;
}

h2 {
    color: #777;
    font-size: 2em;
    font-weight: normal;
    margin-top: 0;
}

h3 {
    color: #4078c0;
    font-size: 1.5em;
    margin-bottom: 0.75em;
    margin-top: 1.5em;
}

h4 {
    margin-bottom: 0;
    margin-top: 1em;
}

h5 {
    font-size: 1em;
    margin-bottom: 0;
    margin-top: 0.5em;
}

a, a:visited {
    color: #4078c0;
}

main > section {
    width: 100%;
}

section ul {
    margin-bottom: 0;
    margin-top: 0.25em;
    padding-left: 1.25em;
}

#contact {
    display: flex;

    flex-direction: column;
}

#contact dl {
    display: flex;

    flex-direction: column;
    margin: 0;
}

#contact dl div {
    display: flex;

    flex-direction: row;
    width: 100%;
}

#download-pdf {
    margin-top: 1em;
}

#download-pdf svg {
    padding-right: 4px;
    position: relative;
    stroke: #4078c0;
    top: 5px;
}

#contact dl dt {
    width: 100px;
}

#contact dl dd {
    margin-left: 0;
}

.work-entry, .education-entry {
    margin-bottom: 2.5em;
}

#work header, #education header {
    display: flex;

    flex-direction: column;
    margin-top: 0;
}

#work header h4, #education header h4 {
    margin-top: 0;
}

#work header span, #education header span {
    font-weight: bold;
}

.work-skills {
    display: flex;

    margin-top: 0.25em;
    flex-direction: row;
    flex-wrap: wrap;
}

.work-skill {
    display: inline-block;

    background-color: #ddd;
    border-radius: 4px;
    font-weight: bold;
    margin: 0 4px 4px 0;
    padding: 2px 6px;
}

p {
    margin: 0;
}

p + p {
    margin-top: 0.5em;
}

.line {
    display: none;
}

@media (min-width: 760px) {
    body > header {
        display: flex;

        align-content: center;
        flex-direction: column;
        padding-bottom: 2em;
        padding-top: 2em;
    }

    #work header, #education header {
        flex-direction: row;
    }

    .line {
        display: inherit;

        border-bottom: 1px solid #bbb;
        flex-grow: 1;
        height: 0.8em;
        margin: 0 0.5em;
    }

    main > section, body > header h1, body > header h2 {
        margin: auto;
        width: 700px;
    }
}

@media not print {
    .print-only {
        display: none !important;
    }
}

@media print {
    .no-print {
        display: none !important;
    }

    html {
        line-height: 1.5;
        padding: 0 2em;
    }

    body {
        font-size: 0.9em;
    }

    body > header {
        background: none;
        font-size: 0.8em;
        padding-bottom: 0;
        padding-top: 0.5em;
    }

    h1, h2 {
        line-height: 1.4;
        margin: 0;
    }

    h2 {
        color: black;
        font-size: 1.7em;
    }

    h3 {
        border-bottom: 1px solid #4078c0;
        line-height: 1.4;
        margin-bottom: 0.25em;
        margin-top: 0.5em;
        font-size: 1.3em;
    }

    h4 {
        font-size: 1.1em;
    }

    h5 {
        margin-top: 0.5em;
    }

    main {
        padding-top: 0;
    }

    #contact {
        line-height: 1.4;
        position: absolute;
        right: 2em;
        top: 0.9em;
        width: auto;
        font-size: 1em;
    }

    #contact h3 {
        display: none;
    }

    #contact dt {
        font-weight: bold;
    }

    #work header, #education header {
        flex-direction: row;
        justify-content: space-between;
    }

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

    .line {
        display: none;
    }

    .work-entry, .education-entry {
        margin-bottom: 1em;
    }

    .work-entry + .work-entry, .education-entry + .education-entry {
        border-top: 1px solid #999;
        padding-top: 0.5em;
    }
}