:root {
    --color-header: #7f1d1d;
    --color-heading-text: #111;
    --font-family: Verdana, Geneva, sans-serif;
    --font-family-heading: Arial, Helvetica, sans-serif;
    --max-content-width: 38rem;
}

* {
    box-sizing: border-box;
}

body {
    font-size: 1rem;
    margin: 0;
    font-family: var(--font-family), sans-serif;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-family-heading), sans-serif;
}

img {
    max-width: 100%;
}

main,
.site-footer,
.site-header,
.breadcrumbs,
.about {
    padding: .5rem 1rem;
}

main,
.site-footer,
.breadcrumbs,
.about {
    border-right: 1px solid #ddd;
    border-left: 1px solid #ddd;
}

.site-header {
    background: var(--color-header);
    font-size: 1rem;

    display: flex;
    align-items: center;
    justify-content: space-between;

    a {
        text-decoration: none;
        color: white;
    }

    svg {
        fill: white;
    }

    >a {
        margin: 0;
        line-height: 1;
        color: white;
        font-weight: 700;
        font-size: 1.68rem;
        font-family: var(--font-family-heading), sans-serif;
    }
}

.post-excerpt-list,
.post-title-list {
    list-style: none;
    padding: 0;
}

.post-excerpt-list {
    header {
        a {
            display: block;
            width: fit-content;
        }
    }
}

.post-title-list {
    li {
        margin-bottom: .68rem;
    }
}

.content {
    max-width: var(--max-content-width);
    margin: 0 auto;
}

pre {
    max-width: 100%;
    overflow-x: auto;
    font-size: 0.85rem;
    border: 1px solid #ddd;
    border-radius: 3px;
    padding: .5rem;
    background: #fafafa;
}

.site-footer {
    background: #efefef;

    p {
        margin: 0;
    }
}

.magpie-trinket {
    display: flex;
    align-items: center;
    gap: 1rem;
    justify-content: space-between;
    padding: 1rem .25rem 1rem 1rem;
    background: lavender;
    border-radius: 3px;
    border: 1px solid rebeccapurple;

    img {
        max-width: 5rem;
    }
}

.magpie-replies {
    display: flex;
    align-items: center;
    gap: 1rem;
    justify-content: flex-end;
    margin-bottom: 1rem;

    div {
        padding: 1rem;
        background: lavender;
        border-radius: 3px;
        border: 1px solid rebeccapurple;
    }

    img {
        max-width: 5rem;
    }
}

.chicken-asks {
    display: flex;
    align-items: center;
    gap: 1rem;
    justify-content: flex-start;
    margin-bottom: 1rem;

    div {
        padding: 1rem;
        background: lightgoldenrodyellow;
        border-radius: 3px;
        border: 1px solid darkgoldenrod;
    }

    img {
        max-width: 5rem;
    }
}

.skip-to-section {
    background: #fafafa;
    border: 1px solid #ddd;
    padding: 1rem;
    margin-top: 1rem;
    width: fit-content;

    a {
        display: block;
    }

    .subheader {
        padding-left: 1rem;
    }
}

.breadcrumbs {
    background: #efefef;
    font-size: .9rem;
}

.post-excerpt-list {
    footer {
        text-align: right;
    }
}

time {
    font-style: italic;
}

.about {
    background: #efefef;
    display: flex;
    gap: 1rem;
    padding-top: 1rem;
    padding-bottom: 1rem;

    img {
        max-width: 12rem;
        max-height: fit-content;
    }

    div>p {
        margin-top: 0;
    }
}

@media screen and (max-width: 40rem) {
    .about {
        flex-wrap: wrap;
    }

    .post-title-list {
        li {
            margin-bottom: 1rem;
        }
    }
}