html, body {
    height: 100%;
    margin: 0;
    padding: 0;
}

html {
    overflow-y: scroll;
    font-size: 18px;
}

body {
    max-width: 50rem;
    margin: 0 auto 0;
    display: flex;
    flex-direction: column;
    height: 100vh;
    background-color: #aaa;
}

main {
    flex: 1 0 auto;
}

@font-face {
    font-family: "MainMono";
    src: url("/fonts/commitmono.woff2") format("woff2-variations");
    font-style: normal;
    font-optical-sizing: auto;
    font-display: swap;
    font-weight: normal;
    /* font-weight: 200 700; */
    /* font-stretch: 90% 110%; */
}
@font-face {
    font-family: "MainMono";
    src: url("/fonts/commitmono-it.woff2") format("woff2-variations");
    font-style: italic;
    font-synthesis: none;
    font-display: swap;
    font-weight: normal;
    /* font-weight: 200 700; */
    /* font-stretch: 90% 110%; */
}

:root {
    --font-monospace: "MainMono", monospace, monospace;
}

body {
    font-family: var(--font-monospace);
    font-size: 1rem;
    line-height: 1.3rem;
}

a {
    text-decoration: none;
    color: black;
    border-bottom: 0.15rem solid black;
}

h1, h2, h3, h4, h5, h6 {
    text-transform: uppercase;
}
h1 {
    font-size: 1.8rem;
}
h2 {
    font-size: 1.4rem;
    border-bottom: 0.15rem solid black;
    width: max-content;
}
h3 {
    font-size: 1.1rem;
}

header {
    font-size: 1.5rem;
    text-align: center;
    margin-top: 1rem;
}
header a {
    border-bottom: none;
}

footer {
    font-size: 0.7rem;
    text-align: center;
    flex-shrink: 0;
    margin-bottom: 1rem;
}

div.recipes {
    margin: 3rem 0;
}

div.single-recipe {
    margin: 3rem 0;
}

table.brew {
    font-size: 0.8rem;
    border-collapse: collapse;
}

table.brew td {
    padding: 0rem 0.5rem;
    vertical-align: top;
}

table.brew td:first-child {
    font-weight: bold;
    text-transform: uppercase;
    padding-right: 2rem;
    white-space: nowrap;
}
