* {
    box-sizing: border-box;
}

:root {
    --brown: #b56847;
    --green: #a1950d;
    --white: #fffdfa;
}

::selection {
    background-color: pink;
}

body {
    background-image: url(/cats/img/bg.gif);
    font-family: 'Times New Roman', Times, serif;
    font-size: 16px;
    line-height: 16px;
    color: var(--brown);
}

/* stuff that isnt classes */

a {
    color: var(--green);
}

h1 {
    background: url(/cats/img/flower_bg.gif);
    border: 1px dotted var(--brown);
    padding: 10px;
}

h2 {
    margin: -5px;
    margin-bottom: 5px;
    padding: 5px;
    border-bottom: 1px solid var(--brown);
}

ol, ul {
    list-style: square;
    margin-left: 40px;
}

.main_container {
    height: 550px;
    
    position: absolute;
    top:0;
    bottom: 0;
    left: 0;
    right: 0;
    
    margin: auto;
    
}

/* grid setup */

.container {  
    max-width: 600px;
    margin: auto;
    margin-top: 5px;

    display: grid;
    grid-template-areas:
        "header header"
        "nav content"
        "footer footer";

    grid-template-columns: 1fr 3fr;

    gap: 5px;
}

header {
    grid-area: header;
    font-size: 20px;
    font-weight: 900;
}

nav {
    grid-area: nav;
    text-align: center;
}

main {
    grid-area: content;
    height: 410px;
    overflow-y: scroll;
}

footer {
    grid-area: footer;
}

/* classes and stuff */

.section {
    border-width: 6px;
    border-style: solid;
    border-image: url("/cats/img/mini_lace.gif") 6 fill round;
    padding: 5px;
}

.pink_box {
    border-image: url("/cats/img/mini_lace_pink.gif") 6 fill round;
    position: relative;
}

.yellow_box {
    border-image: url("/cats/img/mini_lace_yellow.gif") 6 fill round;
}

.green_box {
    border-image: url("/cats/img/mini_lace_green.gif") 6 fill round;
    position: relative;
}

main .section, nav .section {
    margin-bottom: 5px;
}

main .section:last-child {
    margin-bottom: 0px;
}

.nav_links a {
    border-bottom: 1px dotted var(--brown);
    text-align: left;
    display: block;
}

.nav_links a::before {
    content: url(/cats/img/folder.gif);
    margin-right: 2px;
}

.quote {
    color: #d69e7f;
    text-align: center;
}

.notice {
    font-style: italic;
    text-decoration: underline dotted red;
}

.aside_img {
    max-width: 130px;
}

/* deco images */

.clover_icon {
    position: absolute;
    bottom: 5px;
    right: 5px;
}

.kitty_icon {
    float: left;
    margin: 10px;
}