@charset "UTF-8";

@font-face {
    font-family: "Inter";
    src: url("../fonts/InterVariable.ttf");
}

:root {
    --rust: #dea584;
    --arduino-c: #1aa1a7;
    --javascript: #f1e05a;
    --vue: #41b883;
    --typescript: #2b7489;
    --svelte: #ff3e00;
    --python: #3572a5;
    --java: #b07219;
    --csharp: #178600;
    --racket: #3c5caa;
    --astro: #ff5a03;
    --ocaml: #ef7a08;
    --clang: #555555;
    --assembly: #6e4c13;
    --emacslisp: #c065db;
    --swift: #f05138;
    --none: #8b949e;
}

html {
    font-family: "Inter", ui-sans-serif, system-ui, -apple-system, Roboto, Arial, sans-serif;
    color: #27272a;
    background-color: #F7F7F7;
    -webkit-font-smoothing: subpixel-antialiased;
    -webkit-text-stroke: 1px transparent;
}

body {
    margin-left: auto;
    margin-right: auto;
    max-width: 90%;
    display: flex;
    flex-direction: column;
    margin-top: 3em;
    font-size: 1.1em;
}

@media (min-width: 1280px) {
    body {
        max-width: 80%;
        display: flex;
        flex-direction: row;
        column-gap: 100px;
    }
}
@media (min-width: 1600px) {
    body {
        max-width: 60%;
        display: flex;
        flex-direction: row;
        column-gap: 120px;
    }
}

li {
    margin: 0.5em 0;
}

strong {
    font-weight: 550;
}

#preamble {
    display: flex;
    flex-direction: column;
    max-width: 24rem;
    font-size: 0.9em;
}

.preamble-picture {
    border-radius: 50%;
}

.preamble-name {
    margin-top: 8px;
    font-weight: 550;
    color: #18181b;
}

.preamble-summary {
    font-weight: 400;
    color: #3f3f46;
    line-height: 1.3;
}

.preamble-code {
    font-size: 1.2em;
    margin-top: -0.75em;
    margin-bottom: 0.5em;
}

.preamble-links {
    list-style-type: none;
    display: flex;
    flex-direction: row;
    padding: 0;
    column-gap: 8px;
    margin-top: 0;
}

.preamble-link {
    text-decoration: none;
    color: #71717a;
    font-size: 1em;
    font-weight: 400;
}

.preamble-link:hover {
    text-decoration: underline;
}

.nav-links {
    list-style-type: none;
    display: flex;
    flex-direction: row;
    padding: 0;
    column-gap: 8px;
    margin-top: 0;
}

.nav-link {
    text-decoration: none;
    color: #18181b;
    font-size: 1em;
    font-weight: 550;
    text-underline-offset: 4px;
}

.nav-link:hover {
    text-decoration: underline;
}

.content {
    max-width: 40rem;
}

.content h1 {
    font-size: 1.75em;
    font-weight: 550;
    color: #18181b;
    line-height: 1.0;
}

.content h2 {
    font-size: 1.5em;
    font-weight: 550;
    color: #18181b;
    line-height: 1.1;
}

.content h3 {
    font-size: 1.25em;
    font-weight: 550;
    color: #18181b;
    line-height: 1.2;
}

.content h4 {
    font-size: 1.1em;
    font-weight: 500;
    color: #18181b;
    line-height: 1.3;
}

.content h5 {
    font-size: 1.0em;
    font-weight: 400;
    color: #27272a;
    line-height: 1.45;
}


.content p {
    font-size: 0.9em;
    font-weight: 400;
    color: #27272a;
    line-height: 1.75;
}

.content li {
    font-size: 0.9em;
    font-weight: 400;
    color: #27272a;
    line-height: 1.75;
}

.content p a {
    font-size: 1em;
    font-weight: 400;
    color: #575757;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.content b a {
    font-weight: 550;
    color: #27272a;
    text-decoration: underline;
}

.content a {
    color: #27272a;
}

.content code {
    background-color: #e2e8f0;
    border-radius: 0.25rem;
    padding: 0px 4px;
    font-size: 1.2em;
}

.content blockquote {
    background-color: #ebf1f7;
    padding-left: 1rem;
    margin-left: 0.5rem;
    border: solid #cbd5e1;
    border-width: 0 0 0 4px;
}

.content aside {
    color: #1e293b;
    background-color: #ebe5f5;
    margin: 1rem 0.5rem;
    padding: 0rem 0.5rem;
    line-height: 1.4;
    font-size: 1em;
    border: solid #dbd5e5;
    border-width: 0 0 0 4px;
}

.content {
    table-layout: fixed;
    width: 100%;
}

.content td {
    font-size: 0.9em;
    line-height: 1.75;
    padding: 5px;
}

.org-src-container {
    background-color: #f3f3f3;
    border-radius: 0.25rem;
    padding: 0em 0.25em;
    font-size: 0.9rem;
    overflow-x: scroll;
    margin: 1em 0em;
}

.org-src-container pre {
    margin: 0.25em;
}

.experience {
    display: flex;
    flex-direction: column;
    margin-bottom: 2em;
}

.experience p {
    margin: 0;
}

.experience-langs {
    display: flex;
    flex-direction: row;
    column-gap: 6px;
}

.lang {
    display: flex;
    flex-direction: row;
    column-gap: 4px;
    align-items: center;
}

.lang-dot {
    display: inline-block;
    width: 0.625rem;
    height: 0.625rem;
    border-radius: 50%;
}

.rust {
    background-color: var(--rust);
}

.arduino-c {
    background-color: var(--arduino-c);
}

.javascript {
    background-color: var(--javascript);
}

.vue {
    background-color: var(--vue);
}

.typescript {
    background-color: var(--typescript);
}

.svelte {
    background-color: var(--svelte);
}

.python {
    background-color: var(--python);
}

.java {
    background-color: var(--java);
}

.csharp {
    background-color: var(--csharp);
}

.racket {
    background-color: var(--racket);
}

.astro {
    background-color: var(--astro);
}

.ocaml {
    background-color: var(--ocaml);
}

.clang {
    background-color: var(--clang);
}

.assembly {
    background-color: var(--assembly);
}

.emacslisp {
    background-color: var(--emacslisp);
}

.swift {
    background-color: var(--swift);
}

.none {
    background-color: var(--none);
}

.awards {
    display: flex;
    flex-direction: column;
    row-gap: 24px;
}

.award {
    display: flex;
    flex-direction: column;
    row-gap: 4px;
}

.posts-container {
    display: flex;
    flex-direction: column;
    margin: 1em 0 0.5em 0;
    column-gap: 20px;
    row-gap: 1em;
}

.post-link {
    color: #18181b !important;
    font-weight: 500 !important;
    text-decoration: none !important;
    font-size: 0.9em !important;
    white-space: nowrap;
    text-underline-offset: 4px;
}

.post-link-container {
    display: flex;
    flex-direction: row;
    column-gap: 16px;
}

.post-link-date {
    font-size: 1em !important;
    margin: 0 !important;
    font-family: monospace !important;
}

.project-container {
    display: flex;
    flex-direction: column;
    row-gap: 12px;
    column-gap: 16px;
    width: 100%;
    justify-content: space-between;
    margin: 1em 0;
}

@media (min-width: 1280px) {
    .project-container p {
        max-width: 100% !important;
    }
}

.project-header {
    display: flex;
    flex-direction: column;
    column-gap: 1em;
    row-gap: 0.5em;
    align-items: left;
    justify-content: center;
}

@media (min-width: 1280px) {
    .project-header {
        flex-direction: row;
        align-items: center;
        justify-content: left;
    }
}

.project-links {
    display: flex;
    flex-direction: row;
    column-gap: 1em;
    align-items: center;
    justify-content: left;
}

.project-link {
    font-size: 0.9em !important;
    font-weight: 550 !important;
}

.project-gh-link {
    font-size: 0.9em !important;
    text-decoration: none !important;
}

.project-container p {
    margin: 0;
    max-width: 70%;
}

.person-li {
    margin: 1em 0;
}

.problem hr {
    border-top: 1px;
    color: #cccccc;
    margin: 2em 0em;
}

.problem a {
    font-size: 0.9em;
}

.subproblems {
    list-style-type: lower-alpha;
}

.notes {
    margin-top: 2em;
    display: flex;
    flex-direction: column;
    gap: 1em;
}

.note {
    width: 100%;
    background-color: #ffffff;
    border: solid;
    border-color: #dddddd;
    border-width: 1px;
}

.note-header {
    display: flex;
    flex-direction: column;
    padding: 1em;
}

.note-header > h3 {
    margin: 0;
}

.note-metadata {
    margin: 0;
    font-size: 0.8em !important;
    font-weight: 500 !important;
}

.note-name {
    font-size: 1.25em !important;
    font-weight: 600 !important;
    color: #18181b !important;
}

.note-topics {
    padding: 0em 1em 0.25em 1em;
    line-height: 1.5em !important;
}
