* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    display: block;
    background: #fff;
    color: #000;
    font-family: Helvetica, Arial;
    text-align: center;
}

.wrapper {
    margin: 0 60px;
    text-align: left;
}

header {
    background-color: #22272c;
}

header .wrapper {
    padding-top: 30px;
    padding-bottom: 30px;
    text-align: left;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

header a {
    text-decoration: none;
}

nav {
    font-size: 1.8em;
}

nav li {
    display: inline-block;
    margin: 0 0px;
    line-height: 1.5em;
    padding: 0 20px;
}

nav li:last-child {
    padding-left: 20px;
    padding-right: 0px;
}

a.selected {
    color: #8fc11e;
}

h1 {
    margin-bottom: 20px;
    font-size: 2em;
}

h2 {
    margin: 20px 0;
}

p {
    margin-bottom: 10px;
}

a {
    color: inherit;
}

.description {
    margin-bottom: 40px;
}

main {
    display: block;
    margin: 25px 60px 40px 60px;
    text-align: left;
    position: relative;
    min-height: 100%;
}

.browse-all {
    display: block;
    margin-bottom: 30px;
}

footer {
    margin-top: auto;
    background-color: #22272c;
    display: block;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 2000;
}

footer .wrapper {
    color: white;
    font-size: 1.125rem;
    padding: 6px 0;
    display: flex;
    justify-content: flex-end;
}

footer ul {
    margin-left: 20px;
}

footer li {
    display: inline-block;
    margin: 0 0px;
    line-height: 1.5em;
    padding: 0 8px;
}

footer li:last-child {
    padding-left: 8px;
    padding-right: 0px;
}

footer li a {
    text-decoration: none;
}

.icon--logo {
    width: 262px;
    height: 40px;
    margin-left: -81px;
}

.reference-item {
    display: flex;
    margin-bottom: 20px;
    align-items: start;
    border-bottom: 1px solid grey;
}

.reference-img {
    width: 300px;
    height: auto;
    margin-bottom: 20px;
}

.reference-text {
    margin-left: 20px;
    margin-bottom: 20px;
}

@media (prefers-color-scheme: dark) {
    body {
        background-color: #222;
    }

    body,
    header .site-name {
        color: #ddd;
    }
}

@media(max-width: 600px) {
    .wrapper {
        padding: 40px 20px;
    }
}
