/* Browser reset */
html {
    box-sizing: border-box;
    line-height: 1.15;
    -webkit-text-size-adjust: 100%;
}

*,
*::before,
*::after {
    box-sizing: inherit;
}

body {
    background-color: #ece8e8;
    color: #000;
    margin: 2em 2em;
    max-width: 800px;
    font-family: Helvetica, "Helvetica Neue", sans-serif;
    line-height: 1.3;
    scroll-behavior: smooth;
}
section { margin-bottom: 2em; }

p { margin: 1em 0 1em 0; }
h3 { margin-top: 1em; }
hr { border: .5px solid #333; }
a { text-decoration: none; color: #00008b; }
a:hover { text-decoration: underline; }

.bio { min-height: 150px; }

main {
    margin: 0 0 1em 1em;
    line-height: 26px;
}

.section-link {
    padding-right: 0.5em;
    padding-bottom: 2em;
    text-decoration: none;
    color: #333;
}

.portrait {
    float: left;
    height: 140px;
    margin: 0 1.5em 1em 0;
}
.portrait img { height: 100%; }

header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-flow: row;
}

@media (max-width: 650px) {
    .portrait { float: none; }
    main { margin-left: 0; }
    header {
        display: flex;
        align-items: baseline;
        flex-flow: column;
    }
    .social-links { margin-top: 0.5em; }
}

@media (max-width: 390px) {
    header { width: 8em; }
    .social-links { width: 8em; }
}

.social-links a { text-decoration: none; }

.pub { margin: 1em 0 1em 0; max-width: 760px; }
.pub .title {}
.pub .note { margin: 3px 0 0 1em; }
.pub .byline { margin: 3px 0 0 1em; }
.author-names a { color: #011; }
.venue { color: #355; }
.project { font-weight: bold; }

.onelineitem {
    margin-bottom: 5px;
    display: table;
    page-break-inside: avoid;
}

svg {
    margin-left: 5px;
    margin-right: 5px;
    height: 20px;
    width: 20px;
}
svg path { fill: #000; }
