/* Layout elements */

main {
    max-width: var(--article);
    padding: 1rem;
    margin-left: auto;
    margin-right: auto; 
}

footer {
    background-color: var(--black);
    position: fixed;
    left: 0;
    bottom: 0;
    width: 100%;
    font-size: 12px;
    font-weight: 400;
    color: var(--mute);
    padding: 1rem;
    text-align: center;
}

/* Generic elements */

p {
    font-size: 16px;
    line-height: 22px;
}

code {
    background-color: var(--black);
    padding: 5px;
    font-family: 'Fira Code', monospace;
}

pre {
    overflow: auto;
    word-break: break-all;
    background-color: var(--black);
    padding: 20px;
    font-family: 'Fira Code', monospace;
    margin-top: var(--smallmargin);
    margin-bottom: var(--smallmargin);
}

blockquote {
    border-left: 3px solid var(--green);
    padding: var(--smallpadding);
    margin-top: var(--smallmargin);
    margin-bottom: var(--smallmargin);
    font-style: italic;

}

button {
    background-color: var(--green);
    border: none;
    color: white;
    padding: 15px 32px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
    margin-top: var(--smallmargin);
    margin-bottom: var(--smallmargin);
}

/* Page specific: blog */

.blogmeta {
    font-weight: 400;
    font-size: 12px;
    font-style: normal; 
}

.blogauthor,
.blogauthor a {
    color: var(--lightblue);
}