@import url(https://fonts.bunny.net/css?family=merriweather:400,400i,900,900i);


body {
    margin: 0;
    padding: 0;
    font-family: 'Merriweather', 'DejaVu Serif', serif;
    font-size: 11pt;
    background: #202a20;
    display: flex;
    justify-content: center;
    width: 100vw;
    overflow-x: hidden;
}

#page-container {
    width: min(1000px, 100vw);
    margin: 64px 0;
    box-shadow: 0 0 100px #0007;
    border-radius: 8px;
    overflow: hidden;
    outline: 2px solid #031;
}

header {
    img {
        width: min(1000px, 100vw);
        display: block;

        &.header-ascender {
            position: absolute;
            bottom: calc(100vh - 64px);
        }
    }

    h1 {
        background: #304030;
        color: white;
        text-align: center;
        margin: 0;
        padding: 0.5lh 0;
    }
}

nav {
    
    ul {
        list-style: none;
        display: flex;
        flex-wrap: wrap;
        margin: 0;
        padding: 0;
    }

    li {
        flex-grow: 1;
        min-width: max-content;
    }

    a {
        display: block;
        background: linear-gradient(to bottom, #80a080, #657565);
        text-align: center;
        padding: 8px;
        text-decoration: none;
        font-weight: 700;
        color: #242;
        border: 4px solid;
        border-image: url(/static/nav-button-border.png) 4;
        border-left: none;
        
        :first-child > & {
            border-left: 4px solid;
        }
        &:hover {
            text-decoration: underline;
        }
    }
}

main {
    background: #103220;
    color: #efe;
    padding: 20px;
    
    p {
        line-height: 1.6;
        max-width: 800px;
    }

    li {
        margin-bottom: 0.3lh;
        max-width: 800px;
    }

    a {
        color: #70ffcc;
        &:visited {
            color: #ff70cc;
        }
    }

    h2 {
        margin-top: 2em;
    }
}

article {
    h1 {
        font-size: x-large;
    }
}

footer {
    background: linear-gradient(to bottom, #303430, #3a403a);
    color: #ccc;
    text-align: center;
    padding: 16px;
    font-size: 9pt;

    p {
        margin: 0;
        line-height: 1.6;
        &:last-of-type {
            margin-bottom: 8px;
        }
    }

    summary {
        margin: 8px;
    }
}


button, input {
    font-family: sans-serif;
    font-size: inherit;
    background: #405640;
    color: white;
    border: 4px solid;
    border-image: url(/static/nav-button-border.png) 4;
}


.button-8831 {
    width: 88px;
    height: 31px;
}
