/* ================================ reset rule ======= */
* {
    margin: 0; padding: 0; border: 0; box-sizing: border-box;
}

/* ================================ page styles ======= */
body {
    font-family: 'Noto Sans Mono', monospace;
    background-color: burlywood;
    color: #222;
    /* padding: 2em; */
    min-height: 5000px; /* stretch the page so we can test position sticky */
}

h1 {
    font-family: 'Permanent Marker', cursive; font-weight:  normal;
    text-align: center;
    font-size: 3em;
    margin-top: 40px; margin-bottom: 80px;
}

h1 span {
    font-family: 'Noto Sans Mono', monospace;
    font-size: .66em; /* size relative to the parent h1 */
}

article {
    background-color: rgba(50,50,50,.6);
    margin: 80px 10px;
    min-height: 500px;
    color: #ffff64;
    padding: 16px;
}

/* ================================ main nav menu ======= */

h1 + nav {
    background-color: olive;
    height: 80px;
    padding: 0px 10px;
    position: sticky; top: 0px; /* stick the nav bar when it gets to 0px */
}

h1 + nav a {
    color: white;
    border: 2px solid rgb(24, 99, 24);
    display: inline-block;
    height: 60px;
    margin-top: 10px;
    padding: 0px 16px;
    text-decoration: none;
    line-height: 54px;
}

h1 + nav a:last-child {
    float: right;
}
