/* You can either copy the below and paste it between style tags on your HTML page, OR you can copy this to a file and name it .css and link it from your HTML page. */

:root {
    --bg-color: #f8f5e3;
    /* light green */
    --pg-color: #f9fcea;
    /* very light green */
    --accent: #f7eef8;
    /* dark green */
    --accent-2: #eefaba00;
    /* gray */
}

* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    font-family: new-farm, sans-serif;
    font-style: normal;
    font-weight: 100;
    font-size: 0.85em;
    /* here is where you'd add a background image */
}

body {
    background-color: var(--bg-color);
}

#container {
    background-color: var(--pg-color);
    width: 70%;
    height: 100%;
    border-left: 100px solid var(--accent);
    border-right: 1px solid var(--accent-2);
    position: relative;
    overflow: scroll;
}

#outer {
    border-left: 4px dotted var(--accent-2);
    margin-left: 80px;
}

nav {
    background-color: var(--accent);
    position: absolute;
    top: 50px;
    left: 50px;
    border: 1px solid var(--bg-color);
    width: 95px;
    height: 200px;
    z-index: 9;
}

article {
    padding: 50px;
    line-height: 1.7em;
}

h1 {
    font-family: 'sligoilmicro';
}

h2 {
    font-size: 12px;
    border-bottom: 1px solid var(--accent-2);
    padding-bottom: 8px;
}

nav>ul {
    background-color: var(--accent-2);
    margin: 20px;
    padding: 0;
    list-style: none;
}

nav>ul>li {
    border-bottom: 1px solid rgba(255, 255, 255, 0);
    text-align: center;
}

nav>ul>li:last-child {
    border-bottom: none;
    text-align: center;
}

nav>ul>li>a {
    font-size: 12px;
    padding-top: 5px;
    padding-bottom: 5px;
    display: inline-block;
    color: rgb(0, 0, 0);
    text-decoration: none;
}

@font-face {
    font-family: 'sligoilmicro';
    src: url('web/Sligoil-Micro.woff') format('woff'), url('web/Sligoil-Micro.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
}

@media only screen and (max-width: 850px) {
    nav {
        left: 0;
    }
    #container {
        width: 100%;
        margin-left: 0;
    }
    #outer {
        margin-left: 0;
    }
}