body main {
    grid-column: span 3;
    -ms-grid-column-span: 3;
}

@font-face {
    font-family: "Zed"; /*a name to be used later*/
    src: url("/assets/fonts/zed.woff2"); /*URL to font*/
    font-display: optional;
}

@media (min-width: 1300px) {
    body main {
        grid-column: span 2;
        -ms-grid-column-span: 2;
    }
}

main img {
    width: 100%;
}

h2,
h3,
h4,
h5,
h6 {
    font-family: var(--header-font), serif;
    font-weight: 500;
    margin-bottom: 0.85rem;
    font-weight: 500;
    padding-top: 1rem;
}

h3 {
    font-size: 1.35rem;
}

h4 {
    font-size: 1.25rem;
}

p {
    font-size: 1rem;
}

p,
pre,
ul {
    margin-bottom: 0.75rem;
}

ul > li > ul > li > ul {
    margin-left: 1rem;
    margin-top: 0.5rem;
}

main p {
    line-height: 1.5rem;
}

main li {
    margin-bottom: 0.25rem;
    margin-left: 1rem;
    padding-left: 0.5rem;
}

pre {
    overflow-x: scroll;
    border-radius: 0.25rem;
}

pre code > span:first-of-type {
    padding-top: 1rem;
}

pre code > span:last-of-type {
    padding-bottom: 1rem;
}

pre code > span {
    font-variant-numeric: tabular-nums;
    padding-left: 0.5rem;
}

pre code {
    border-radius: 0.5rem;
    font-family: "Zed", monospace !important;
    background-color: #c7c3b3;
    text-wrap: nowrap;
}

code > * {
    font-family: "Zed", monospace !important;
}

code {
    background-color: #c7c3b3;
}

a {
    color: #6d18f5;
}

a.headerPermalink {
    color: #787568;
    text-decoration: none;
    transition: 200ms;
}

a.headerPermalink:hover {
    transition: 200ms;
    color: #6d18f5;
}

figure figcaption {
    margin-top: 0.5rem;
    text-align: center;
    color: #595439;
}

strong {
    font-weight: 500;
}

button#share {
    background-color: #6d18f5;
    color: #fff;
    border: none;
    border-radius: 0.25rem;
    padding: 0.5rem 1rem;
    cursor: pointer;
    width: 100%;
    margin-top: 1rem;
    font-size: 1rem;
}

button#share:hover {
    background-color: #5a16e5;
}

blockquote {
    border-left: 4px solid #595439;
    padding-left: 1rem;
    margin: 1.5rem 0;
}

blockquote code,
blockquote strong,
blockquote p {
    font-size: 1.5rem;
    line-height: 1.75rem;
    font-family: var(--header-font), serif;
}

blockquote strong {
    font-weight: 700;
}

.danger blockquote {
    border-left: 4px solid #b91818;
}

.callout blockquote p:first-of-type {
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.callout.danger blockquote p:first-of-type {
    color: #ac1b1b;
    margin-bottom: 0;
}

.callout.danger blockquote p:not(:first-of-type) {
    color: #791414;
}

.callout blockquote p:not(:first-of-type) {
    font-size: 1.25rem;
}

#snippetFiles ul {
    list-style: none;
}

#snippetFiles li {
    margin: 0;
    padding: 0;
}

#snippetFiles ul li ul {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

#snippetFiles ul li ul li {
    list-style: none;
}
#snippetFiles ul li ul li a {
    background-color: #dbd7c5;
    color: #29230e;
    text-decoration: none;
    font-size: 0.85rem;
    padding: 0.25rem 1rem;
    border-radius: 0.25rem;
    transition: 200ms;
}
#snippetFiles ul li ul li a:hover {
    transition: 200ms;
    background-color: #b5af98;
}

#snippetFiles p {
    font-size: 0.85rem;
    font-weight: 600;
}
#snippetFiles {
    margin-bottom: 2rem;
}
