﻿@import"https://fonts.googleapis.com/css?family=Inconsolata";
@import url('https://fonts.googleapis.com/css2?family=Source+Code+Pro:ital,wght@0,200..900;1,200..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Fira+Code:wght@300..700&family=Geist+Mono:wght@100..900&family=Source+Code+Pro:ital,wght@0,200..900;1,200..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Funnel+Display:wght@300..800&display=swap');


html,
body,
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
b,
u,
i,
center,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
embed,
figure,
figcaption,
footer,
header,
hgroup,
menu,
nav,
output,
ruby,
section,
summary,
time,
mark,
audio,
video {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font: inherit;
    vertical-align: baseline;
    box-sizing: border-box
}

article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
    display: block
}

body {
    line-height: 1
}

ol,
ul {
    list-style: none
}

blockquote,
q {
    quotes: none
}

blockquote:before,
blockquote:after,
q:before,
q:after {
    content: "";
    content: none
}

table {
    border-collapse: collapse;
    border-spacing: 0
}

@font-face {
    src: url("/css/webfonts/Larsseit.eot");
    src: url("../fonts/Larsseit.woff") format("woff"), url("../fonts/Larsseit.ttf") format("truetype"), url("../fonts/Larsseit.eot?#iefix") format("embedded-opentype");
    font-family: "Larsseit";
    font-weight: 400;
    font-style: normal
}

@font-face {
    src: url("/css/webfonts/LeituraNews-Italic4.eot");
    src: url("../fonts/LeituraNews-Italic4.woff") format("woff"), url("../fonts/LeituraNews-Italic4.ttf") format("truetype"), url("../fonts/LeituraNews-Italic4.eot?#iefix") format("embedded-opentype");
    font-family: "Leitura News";
    font-weight: 800;
    font-style: italic
}

@font-face {
    src: url("/css/webfonts/LeituraNews-Italic3.eot");
    src: url("../fonts/LeituraNews-Italic3.woff") format("woff"), url("../fonts/LeituraNews-Italic3.ttf") format("truetype"), url("../fonts/LeituraNews-Italic3.eot?#iefix") format("embedded-opentype");
    font-family: "Leitura News";
    font-weight: 600;
    font-style: italic
}

@font-face {
    src: url("/css/webfonts/LeituraNews-Italic1.eot");
    src: url("../fonts/LeituraNews-Italic1.woff") format("woff"), url("../fonts/LeituraNews-Italic1.ttf") format("truetype"), url("../fonts/LeituraNews-Italic1.eot?#iefix") format("embedded-opentype");
    font-family: "Leitura News";
    font-weight: 200;
    font-style: italic
}

@font-face {
    src: url("/css/webfonts/LeituraNews-Roman4.eot");
    src: url("../fonts/LeituraNews-Roman4.woff") format("woff"), url("../fonts/LeituraNews-Roman4.ttf") format("truetype"), url("../fonts/LeituraNews-Roman4.eot?#iefix") format("embedded-opentype");
    font-family: "Leitura News";
    font-weight: 800;
    font-style: normal
}

@font-face {
    src: url("/css/webfonts/LeituraNews-Italic2.eot");
    src: url("../fonts/LeituraNews-Italic2.woff") format("woff"), url("../fonts/LeituraNews-Italic2.ttf") format("truetype"), url("../fonts/LeituraNews-Italic2.eot?#iefix") format("embedded-opentype");
    font-family: "Leitura News";
    font-weight: 400;
    font-style: italic
}

@font-face {
    src: url("/css/webfonts/LeituraNews-Roman1.eot");
    src: url("../fonts/LeituraNews-Roman1.woff") format("woff"), url("../fonts/LeituraNews-Roman1.ttf") format("truetype"), url("../fonts/LeituraNews-Roman1.eot?#iefix") format("embedded-opentype");
    font-family: "Leitura News";
    font-weight: 200;
    font-style: normal
}

@font-face {
    src: url("/css/webfonts/LeituraNews-Roman3.eot");
    src: url("../fonts/LeituraNews-Roman3.woff") format("woff"), url("../fonts/LeituraNews-Roman3.ttf") format("truetype"), url("../fonts/LeituraNews-Roman3.eot?#iefix") format("embedded-opentype");
    font-family: "Leitura News";
    font-weight: 600;
    font-style: normal
}

@font-face {
    src: url("/css/webfonts/LeituraNews-Roman2.eot");
    src: url("../fonts/LeituraNews-Roman2.woff") format("woff"), url("../fonts/LeituraNews-Roman2.ttf") format("truetype"), url("../fonts/LeituraNews-Roman2.eot?#iefix") format("embedded-opentype");
    font-family: "Leitura News";
    font-weight: 400;
    font-style: normal
}

body {
    /* font-family: "Geist Mono", monospace; */
    font-family: "Funnel Display", sans-serif;

    /* font-family: "Source Code Pro", monospace; */
    /* font-family: "Leitura News", "Palatino", "Georgia", "Times New Roman", serif; */
    font-size: 16px;
    line-height: 1.6;
    quotes: "“" "”" "‘" "’"
}

/* .header__affiliation, */

.font-secondary,
.resume__location,
.about h3 {
    /* font-family: "Larsseit", -apple-system, BlinkMacSystemFont, "Futura", sans-serif; */
    font-family: "Funnel Display", sans-serif;

    text-transform: uppercase;
    font-size: 90%
}

em {
    font-style: italic
}

strong {
    font-weight: bold
}

h1 {
    font-weight: bold
}

body {
    background-color: #e8fdf5;
    color: #052d3f;
    overflow-x: hidden
}

a {
    text-decoration: none;
    color: #000;
    background: rgba(245, 215, 110, .5);
    transition: all linear .2s;
}

a:hover {
    background: #f5d76e;
    text-decoration: none
}

a.no-highlight {
    background-color: transparent
}

a.no-highlight:hover {
    color: #0c6f9d
}

.container {
    max-width: 860px;
    margin: 0 auto;
    padding: 20px
}

@media(min-width: 500px) {
    .container {
        padding: 40px
    }
}

.list-unstyled {
    list-style-type: none
}

.list-inline {
    display: flex
}

.list-inline li:not(:last-of-type) {
    padding-right: 20px
}

ul.list-default,
.about ul {
    list-style: initial;
    margin-left: 2em;
    margin-bottom: 20px
}

ul.list-default p,
.about ul p {
    margin-bottom: 5px
}

ul.list-default ul.list-default,
ul.list-default .about ul,
.about ul ul {
    margin-bottom: 10px
}

section p {
    margin-bottom: 20px
}

section p:last-child {
    margin-bottom: 0
}

.section-title {
    font-size: 1.5rem;
    margin: 0 auto;
    font-weight: bold;
    margin-bottom: 10px;
    position: relative;
    display: table;
    padding: 0 10px;
    z-index: 2
}

.section-title::after {
    content: "";
    background-color: #f5c0a2;
    height: 5px;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: 0;
    width: 100%;
    z-index: -1
}

.about {
    background-color: #fafafa
}

.about h3 {
    letter-spacing: 1px;
    margin-top: 1.5rem;
    margin-bottom: .5rem
}

.news {
    background-color: #fffcd6
}

.twitter-posts {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
    gap: 2px;
    padding: 15px;
    max-height: 500px;
    overflow-y: auto;
    background-color: #f0f5ff;
}

.twitter-tweet {
    margin: 0 !important;
    width: 10% !important;
}

.tweet {
    background-color: #f0f5ff;
    padding: 20px;
    border-radius: 10px;
}

/* Custom scrollbar for webkit browsers */
.twitter-posts::-webkit-scrollbar {
    width: 12px;
}

.twitter-posts::-webkit-scrollbar-track {
    background: #e0e8ff;
}

.twitter-posts::-webkit-scrollbar-thumb {
    background-color: #a0b4ff;
    border-radius: 6px;
    border: 3px solid #e0e8ff;
}

/* For Firefox */
.twitter-posts {
    scrollbar-width: thin;
    scrollbar-color: #a0b4ff #e0e8ff;
}

@media (max-width: 768px) {
    .twitter-posts {
        grid-template-columns: 1fr;
    }
}

.tweet {
    background-color: #d6e5ff
}

.images {
    background-color: #d6f3ff
}

.news__item {
    margin-bottom: 10px;
}

.news__item-date {
    font-style: italic;
    font-weight: 600;
    font-size: .9rem;
    display: inline;
}

.news__item-description {
    display: inline;
    margin-left: 10px;
}

@media(min-width: 640px) {
    .news__item-date {
        width: auto;
        text-align: left;
        padding-right: 0;
        display: inline;
    }

    .news__item-description {
        width: auto;
    }
}

.teaching {
    background-color: #fff
}

.teaching__course {
    margin-bottom: 20px
}

.teaching__course:last-of-type {
    margin-bottom: 0
}

.teaching__course-title {
    font-weight: bold;
    font-size: 1.2rem
}

.teaching__course-period {
    margin-bottom: 5px;
    font-style: italic
}

.teaching__course-link--inactive::after {
    content: " (to be ported)";
    font-style: italic
}

.resume {
    margin-bottom: 20px
}

.resume__item-description,
.resume__item-summary {
    display: inline-block;
    vertical-align: top;
    margin-bottom: 20px
}

.resume__title {
    font-weight: bold;
    font-size: 1.2rem
}

@media(min-width: 500px) {
    .resume__title {
        margin-bottom: 5px
    }
}

.resume__location {
    font-size: .8rem;
    letter-spacing: 1px;
    margin-bottom: 10px
}

.resume__tag {
    font-family: "Inconsolata", "Consolas", monospace;
    font-size: .9rem;
    padding: 1px 4px;
    display: inline-block;
    margin-right: 5px;
    margin-bottom: 5px;
    border-radius: 2px;
    color: #333;
    background-color: #eaeaea
}

.resume__tag.research {
    background-color: #f2c4b7;
    color: #8f5a51
}

.resume__tag.development {
    background-color: #83e2cf;
    color: #315951
}

.resume__tag.coursework {
    background-color: #a0dbfe;
    color: #315951
}

.resume__item-links {
    letter-spacing: 1px;
    margin-top: 10px
}

.resume__item-links .fa {
    margin-right: .5em
}

.resume__item-links>li:not(:last-of-type) {
    margin-right: 10px
}

@media(min-width: 640px) {

    .resume__item-description,
    .resume__item-summary {
        margin-bottom: 60px
    }

    .resume__item-description:last-of-type,
    .resume__item-summary:last-of-type {
        margin-bottom: 0
    }

    .resume__item-summary {
        width: 30%;
        padding-right: 40px
    }

    .resume__item-description {
        width: 70%
    }
}

.header {
    display: flex;
    flex-direction: column;
    text-align: center;
    align-items: center;
    padding-bottom: 80px
}

@media(min-width: 500px) {
    .header {
        padding: 60px;
        flex-direction: row;
        justify-content: space-between;
        text-align: left;
        align-items: flex-start
    }
}

@media(min-width: 750px) {
    .header {
        padding-top: 60px
    }
}

.header__intro {
    margin-bottom: 10px
}

.header__title {
    margin: 0 auto;
    font-size: 1.8rem;
    margin-bottom: 10px;
    position: relative;
    display: table;
    padding: 0 10px
}

.header__title::after {
    content: "";
    background-color: #f5c0a2;
    height: 10px;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: 0;
    width: 100%;
    z-index: -1
}

@media(min-width: 500px) {
    .header__title {
        font-size: 2.5rem;
        margin: 0
    }
}

.header__affiliation {
    margin-bottom: 0;
    letter-spacing: 2px
}

.header__contact {
    font-family: "Inconsolata", "Consolas", monospace;
    margin: 10px 0
}

.header__links {
    justify-content: center;
    margin: 10px 0
}

@media(min-width: 500px) {
    .header__links {
        justify-content: flex-start
    }
}

.header__quote {
    font-style: italic;
    position: absolute;
    width: 120%;
    transform: translateX(-50%);
    left: 50%;
    text-align: center;
    margin-top: 20px
}

.header__quote::before {
    content: open-quote
}

.header__quote::after {
    content: close-quote
}

.header__nav {
    display: flex;
    flex-wrap: wrap;
    margin: 20px 0;
    justify-content: center
}

.header__nav>a {
    margin-right: 20px;    
}

@media(min-width: 500px) {
    .header__nav {
        justify-content: flex-start
    }
}

.header__photo {
    max-width: 230px;
}

@media(min-width: 750px) {
    .header__photo {
        max-width: 250px
    }
}

.header__photo-wrapper {
    position: relative
}

.header__photo-wrapper::before {
    content: "";
    position: absolute;
    top: 0;
    left: -20%;
    transform: rotate(-45deg);
    height: 150px;
    width: 150px;
    background-color: #bcebd4;
    z-index: -1
}

.header__photo-wrapper::after {
    content: "";
    position: absolute;
    top: 4%;
    left: 6%;
    background-color: #f5c0a2;
    width: 100%;
    height: 100%;
    z-index: -1
}

.header__photo-wrapper>img {
    width: 100%;
    display: block
}

.footer {
    text-align: center;
    font-size: .9rem;
    background-color: #f9f0ff;

}

.footer>.container {
    font-style: italic
}

.footer .blurb {
    display: flex;
    flex-direction: column;
    margin-bottom: 10px
}

.footer .blurb>p {
    margin-bottom: 0;
    line-height: 1.8
}

.footer__links {
    justify-content: center;
    align-items: center
}

.footer .fa {
    margin-right: .5em
}

.footer .fa:hover {
    color: #ccc
}

@media(min-width: 500px) {
    .footer {
        text-align: left
    }

    .footer>.container {
        display: flex;
        justify-content: space-between
    }

    .footer .blurb {
        align-items: flex-start;
        margin-bottom: 0;
        margin-right: 20px
    }
}

.dark {
    background-color: #202631;
    color: #fff
}

.dark a {
    color: #fff;
    background-color: transparent
}

.gallery {
    padding: 4rem 0 5rem;
    background: linear-gradient(180deg, #dbebfb 0%, #f9f0ff 100%);
}

.gallery__header {
    text-align: center;
    max-width: 620px;
    margin: 0 auto;
}

.gallery__subtitle {
    margin-top: .75rem;
    font-size: 1rem;
    color: #0c6f9d;
}

.gallery__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2rem;
    margin-top: 2.5rem;
}

.gallery__item {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 16px 40px rgba(5, 45, 63, 0.08);
    border: 1px solid rgba(5, 45, 63, 0.06);
    display: flex;
    flex-direction: column;
    transition: transform .3s ease, box-shadow .3s ease;
}

.gallery__item:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 45px rgba(5, 45, 63, 0.12);
}

.gallery__image {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.gallery__meta {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: .75rem;
}

.gallery__tag {
    align-self: flex-start;
    background: rgba(245, 192, 162, 0.4);
    color: #79411d;
    font-size: .75rem;
    letter-spacing: .08em;
    text-transform: uppercase;
    padding: .35rem .85rem;
    border-radius: 999px;
}

.gallery__title {
    font-size: 1.15rem;
    color: #052d3f;
    margin: 0;
}

.gallery__description {
    font-size: .95rem;
    color: #355166;
    margin: 0;
    line-height: 1.5;
}

@media(max-width: 600px) {
    .gallery {
        padding: 3rem 0;
    }

    .gallery__grid {
        gap: 1.5rem;
    }

    .gallery__image {
        height: 200px;
    }
}