@font-face {
    font-family: menlo;
    font-style: normal;
    font-weight: 400;
    src: local('Menlo'), url(./Menlo-Regular.woff) format('woff')
}

body {
    background: #ebfae7;
    font-family: "Helvetica Neue", "Lucida Grande", sans-serif;
    margin: 1em auto;
    padding: 0 .62em;
    font-size: 1em;
    line-height: 1.62;
    max-width: 45em;
}

.header {
    margin: auto;
    max-width: 70em;
    padding-bottom: 30px;
}
.header p {
    font-style: italic;
}
.titlebar {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
h1, h2, h3 {
    line-height: 1.2;
}
h1 {
    font-style: italic;
}

a.title {
    text-decoration: none;
    font-weight: bold;
    text-shadow: -4px -4px 1px #3ac2f2;
    color: #fa61be;
    font-size: 32px;
}

.art {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    flex-direction: row;
    align-items: flex-start;
    gap: 20px;
}

.art > pre,
.art-post pre {
    margin: 0;
    border: 1px solid #ccc;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    font-size: 12px;
    max-width: fit-content;
    line-height: 1.15em;
    font-family: 'Menlo', 'Deja Vu Sans Mono', 'Bitstream Vera Sans Mono', monospace;
}

a.permalink {
    text-decoration: none;
    text-align: center;
    color: #373636;
    display: block;
    font-family: sans-serif;
    font-weight: bold;
    border-bottom: 1px solid #ccc;
    padding-top: 1.0em;
    padding-bottom: 0.7em;
    background: #e8e9ee;
    letter-spacing: .1rem;
    border-radius: 8px 8px 0 0;
}

pre::-webkit-scrollbar {
    background-color: lightgrey;
    border-radius: 0 0 8px 8px;
    color: grey;
    height: 10px;
}

pre::-webkit-scrollbar-track {
    background-color: lightgrey;
    border-radius: 8px;
}

pre::-webkit-scrollbar-thumb {
    background-color: grey;
    border-radius: 8px;
}

.separator {
    text-align: center;
}

@media screen and (max-device-width: 480px) {
    body {
        -webkit-text-size-adjust: 100%;
    }

    h1 {
        font-size: 1.5em;
    }

    .art {
        justify-content: left;
    }
    .art-post pre {
        align-self: flex-start;
    }
}

@media screen and (max-device-width: 365px) {
    h1 {
        font-size: 1.2em;
    }
}

.art-post {
    margin: auto;
    max-width: 40em;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.art-post h2 {
    margin-bottom: 0;
    text-align: center;
}
.post-nav {
    display: flex;
    flex-direction: row;
    gap: 40px;
    margin-bottom: 20px;
}
.post-nav a {
    text-decoration: underline;
}
.scratchpad {
    font-family: "Comic Sans MS", "Comic Sans", "Chalkboard", "Chalkboard SE", sans-serif;
    text-decoration: underline;
    float: right;
}
.scratchpad-page {
    background: white;
}

.scratchpad-page .art {
    justify-content: left;
}
