@font-face {
    font-family: "garamond";
    src: url("/fonts/EBGaramond12-Regular.woff") format('woff');
}

@font-face {
    font-family: "garamond";
    src: url("/fonts/EBGaramond12-Italic.woff") format('woff');
    font-style: italic;
}

html {
    font-family: garamond;
    font-size: 16pt;
}

body {
    min-height: 100vh;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-evenly;
}

@media screen and (max-width: 480px) {
    #navbar ul {
        display: block;
    }
    #navbar li {
        padding-left: 1em;
    }
}

@media screen and (max-width: 660px) {
    .pub-layout {
        display: flex;
        flex-direction: column;
    }
    #navbar li {
        padding-left: 1em;
    }
}


@media screen and (min-width: 481px) {
    #navbar ul {
        display: flex;
        justify-content: space-evenly;
        list-style: none;
    }
}

blockquote img {
    width: 32px;
    height: 32px;
    vertical-align: middle;
}

#footer {
    display: flex;
    align-items: flex-end;
    padding: 8px;
}

#navbar {
    width: 100%;
    background-color: #ddd;
}

#navbar ul {
    padding: 0;
}


#navbar a {
    color: black;
    font-weight: bold;
    padding: 4px 8px;
    border-radius: 8px;
}

.content a {
    color: mediumpurple;
}
    
.container {
    flex-grow: 1;
    width: 100%;
    max-width: 960px;
}

.content img {
    max-width: 960px;
}

.content p, .content li {
    line-height: 140%;
}

.content {
    padding: 1em;
}

a {
    transition: all 0.2s ease-in-out;
}

a:hover {
    color: rebeccapurple;
}

h1 {
    font-size: 2.2rem;
}

h2 {
    font-size: 1.5rem;
}

h3 {
    font-size: 1.3rem;
}

blockquote {
    padding: 0 1em;
    color: #6a737d;
    border-left: 0.25em solid #dfe2e5;
}

blockquote>:first-child {
    margin-top: 0;
}

blockquote>:last-child {
    margin-bottom: 0;
}

.person {
    width: 240px;
    height: 260px;
    display: inline-block;
    text-align: center;
    padding: 1em;
    overflow: hidden;
}

.person img {
    width: 180px;
    height: 180px;
    margin: 20px;
}

.person .name {
    font-size: 1.1rem;
}
.person .affiliation {
    font-size: 0.8rem;
}

.person .header {
    padding-top: 0.3em;
}

.person-details img {
    float: left;
    max-width: 300px;
    max-height: 300px;
    padding: 1em;
}
.person-details .person-data {
    padding-left: 200px;
    padding: 1em;
    font-size: 1.2em;
}

.person-details .person-blurb {
    clear: both;
    padding: 1em;
}

/* /research */
.publication {
    display: inline-block;
    padding: 0.5em;
    text-align: center;
    overflow: hidden;
}

.pub-layout {
    display: flex;
}
.pub-left, .pub-right {
    padding: 0.4em;
}
.pub-left {
    text-align: center;
    flex: 0.8
}
.pub-right {
    text-align: left;
    flex: 2.2
}

.publication .name a {
    color: black;
    font-weight: bold;
}
.publication .name a:hover {
    color: black;
    font-weight: bold;
}

.pub-layout { 
    background-color: rgba(0,0,0,0.05);
    border-top: 1px solid rgba(0,0,0,0.1);
    border-left: 1px solid rgba(0,0,0,0.1);
    border-right: 1px solid rgba(0,0,0,0.25);
    border-bottom: 1px solid rgba(0,0,0,0.25);
    padding: 0.7em 0.2em;
}

.publication .abstract {
    font-size: 0.9em;
}

.publication img {
    width: 180px;
    margin: 10px;
    border: 1px solid rgba(0,0,0,0.3);
    padding: 6px 2px;
    background-color: white;
}

.publication .abstract a {
    color: black;
}
.publication .abstract a,
.publication .name a,
.publication .arxiv a {
    text-decoration: none;
}

.publication .more {
    font-size: 0.8em;
    text-decoration: none;
}

.publication-header {
    padding: 0.6em;
    background-color: rgba(0,0,0,0.05);
}

#navbar li a {
    display: table-cell;
    vertical-align: middle;
    height: 40px;
}

/* 67x79 */

#navbar img {
    margin-top: 8px;
    height: 32px;
    width: 27px;
}

#navbar ul {
    margin: 0;
}

.friend img {
    max-height: 143px;
}

.friend {
    max-height: 200px;
    display: inline-block;
    text-align: center;
    padding: 1em;
    overflow: hidden;
}

.blogpost pre code, .blogpost code {
    font-size: 0.7em;
}
.blogpost h1 {
    font-size: 1.5rem;
}

.blogpost h2 {
    font-size: 1.3rem;
}

.blogpost h3 {
    font-size: 1.2rem;
}

