:root {
    --lf-green: #546e34;
    --section-padding: 20px;
}

@supports (font-variation-settings: normal) {
    :root {
        font-family: 'Inter', sans-serif;
    }
}

html {
    font-size: 16px;
}

body {
    margin: 0 auto;
    padding: 0;
    box-sizing: border-box;
    background-color: white;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

header,
main,
footer,
.subfooter {
    padding: var(--section-padding);
}

header {
    padding: 0 var(--section-padding);
}

header, footer {
    background-color: var(--lf-green);
}

address {
    margin-bottom: 1em;
}

.limitedwidth {
    width: 100%;
    max-width: 768px;
    margin: auto;
}

.centered {
    text-align: center;
}

h1 {
    margin: 0;
    line-height: 0;
}

p {
    margin: 0 0 1em;
}

.headline {
    display: flex;
    justify-content: center;
    align-items: center;
}

.headline img {
    width: 22vh;
    height: auto;
}

main {
    flex: 1;
    display: flex;
    align-items: center;
    padding-top: 40px;
}

footer {
    color: white;
}

footer h2 {
    font-size: 1.1rem;
    text-decoration: underline;
}

footer a {
    color: white;
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: border-color 200ms;
}

footer a:hover {
    color: white;
    border-color: white;
}

.shoplinks {
    display: flex;
    justify-content: center;
}

.shoplinks ol {
    margin: 0;
    list-style-type: none;
    padding-left: 0;
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
}

.shoplinks li {
    display: block;
    margin: 1.5em 2em;
}

.shoplinks a {
    display: block;
    min-width: 15em;
    text-align: center;
    text-transform: uppercase;
    padding: 1em;
    border-radius: 2em;
    border-width: 0;
    background-color: var(--lf-green);
    color: white;
    font-weight: bold;
    text-decoration: none;
    transition: background-color 200ms;
}

.shoplinks a:hover {
    background-color: #3d5521;
}

.subfooter {
    background-color: black;
    color: #ddd;
    font-size: 0.875em;
}

footer .block {
    margin-bottom: 3rem;
}

footer .block:last-of-type {
    margin-bottom: 1rem;
}

footer h3 {
    font-size: 1em;
    margin: 2rem 0 1rem;
}

footer h3:first-of-type {
    margin-top: initial;
}

ul {
    list-style-type: none;
    margin: 0;
    padding-left: .5rem;
    border-left: 1px solid white;
}

li {
    margin-bottom: 1rem;
}

@media only screen and (min-width: 600px) {
    .headline img {
        width: 30vh;
    }
    .shoplinks ol li {
            min-width: 25em;
    }
    footer .columns {
        display: flex;
        justify-content: space-between;
    }
    footer .block {
        margin-bottom: 0;
        margin-right: 2em;
    }
    footer .block:last-of-type {
        margin: 0;
    }
}