html {
    font-size: 16px;
    scroll-behavior: smooth;
}

/* general page settings */

body {
    font-family: "Liberation Mono", monospace;
    font-size: 0.80rem;
    font-weight: normal;
    margin: auto;
    padding: 40px;
    color: #8FBC8F;
}

/* headings */

h1 {
    color: #8B3A3A;
    text-align: center;
    font-size: 1.5rem;
    font-weight: normal;
}

h2 {
    color: #8B3A3A;
    text-align: center;
    font-size: 1rem;
    font-weight: normal;
}

h3 {
    color: #8FBC8F;
    text-align: center;
    font-size: 0.80rem;
    font-weight: normal;
}

/* navigation layout */

nav ul {
    list-style: none;
    padding: 0;
    margin: 20px 0;
    display: flex;
    justify-content: center;
    gap: 20px;
}

.series-nav ul {
    position: fixed;
    bottom: 2rem;
    left: 2rem;

    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

nav a {
    font-size: 1rem;
    white-space: nowrap;
}

a {
    color: #8B3A3A;
    text-decoration: none;
   /* margin: 0 0.5em; */
}

a:hover {
    color: #B22222;
    text-decoration: underline;
}

main {
    padding: 2em;
}

/* sketchbook */

.series {
    margin-bottom: 4rem;
}

.series h2 {
    text-align: center;
    margin-bottom: 1.5rem;
}

.series img {
    display: block;
    height: auto;
}

.landscape-series img {
    width: 75%;
    margin: 0 auto 2rem;
}

.portrait-series {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    max-width: 900px;
    margin: 0 auto;
}

.portrait-series img {
    display: block;
    max-width: 100%;
    max-height: 95vh;
    width: auto;
    height: auto;
    margin: 0 auto;
    
}

@media (max-width: 600px) {
    .portrait-series {
        grid-template-columns: 1fr;
    }
    .series-nav {
        top: auto;
        bottom: 1rem;
        right: 1rem;
        flex-direction: row; /* horizontal */ 
    }
}
