@font-face {
    font-family: "Source Serif 4";
    font-style: normal;
    font-weight: 200 900;
    font-display: swap;
    src: url("/fonts/SourceSerif4-Regular.ttf") format("truetype");
}

@font-face {
    font-family: "Source Serif 4 18pt";
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url("/fonts/SourceSerif4_18pt-Regular.ttf") format("truetype");
}

@font-face {
    font-family: "Source Code Pro";
    font-style: normal;
    font-weight: 200 900;
    font-display: swap;
    src: url("/fonts/SourceCodePro-Regular.ttf") format("truetype");
}

body {
    font-family: "Source Serif 4", "Source Serif 4 18pt", Georgia, serif;
    font-optical-sizing: none;
    font-weight: 350;
    line-height: 1.6;
    margin: 0;
    padding: 15px clamp(18px, 5vw, 40px) 0;
    color: black;
    background-color:  #f5f5f5;
}

header {
    font-weight: 350;
}

footer {
    font-size: smaller;
    margin-top: 3em;
}

header h1 {
    margin: 0 0 0rem 0;
}

header nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

header nav li {
    display: inline;
}

header nav a {
    text-decoration: none;
}

header nav a:hover {
    text-decoration: underline;
}

main {
    border-top: 1pt solid #d0d0d0;
    max-width: 38em;
    padding-top: 1em;
}

main > * {
    max-width: 100%;
}

blockquote {
    font-size: 0.8em;
    margin-left: 0;
    margin-right: 1em;
    padding-bottom: 0.2em;
}

blockquote p {
    margin-bottom: 0.2em;
}

blockquote cite {
    display: block;
    font-size: 0.85em;
    font-style: normal;
    margin-left: 1em;
}

blockquote cite::before {
    content: "\2014\00a0";
}

.home-hero {
    align-items: stretch;
    display: grid;
    gap: 1.25em;
    grid-template-columns: minmax(7em, 9em) minmax(0, 1fr);
    margin-bottom: 1.25em;
    max-width: 100%;
}

.home-quotes > :first-child {
    margin-top: 0;
}

.home-quotes > :last-child {
    margin-bottom: 0;
}

.home-image {
    display: block;
    height: 100%;
    margin: 0;
    max-width: 100%;
    object-fit: contain;
    object-position: top left;
    width: 100%;
}

.home-copy {
    max-width: 100%;
}

.home-copy > :first-child {
    margin-top: 0;
}

@media (max-width: 760px) {
    .home-hero {
        display: block;
    }

    .home-image {
        height: auto;
        margin-bottom: 1em;
        width: 50%;
    }

    .home-quotes blockquote {
        margin-left: 1.5em;
    }
}

h1, h2, h3 {
    color: black;
    font-weight: 350;
}

code {
    /* background-color: #f0f0f0; */
    /* border-radius: 3px; */
    /* padding: 2px 4px; */
    font-family: "Source Code Pro", monospace;
    font-size: 0.92em;
    font-weight: 400;
}

pre {
    background-color: #f0f0f0;
    font-family: "Source Code Pro", monospace;
    font-size: 0.92em;
    font-weight: 400;
    padding: 1rem;
    border-radius: 5px;
    overflow-x: auto;
}

table {
  border-collapse: collapse;
  border: 1px solid grey;
}

tr {
  border-top: 1px solid grey;
}

td, th {
    border-left: 1px solid grey;
    padding: 0.5em;
}
