* {
    box-sizing: border-box;
}

html {
    font-size: 18px;
    scrollbar-gutter: stable;
}


body {
    
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    margin-top: 2rem;
    margin-bottom: 2rem;
}

header h1,
header h2 {
    margin-bottom: 0.2rem;
}

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

nav ol {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

nav ol,
nav li {
    list-style-type: none;
    padding: 0;
    margin: 0;
}
nav,
main,

.commentbox,
#disqus_thread {
    width: 90%;
    max-width: 62rem;
    padding: 1rem;
}

main {
    background-color: #43256E;
    flex: 1;
    padding: 20px;
    order: 2;
    line-height: 1.6rem;
}

*/ #leftSidebar {
                order: 1;
}

#rightSidebar {
    order: 3;
}

footer {
    background-color: #13092D;
    /* background color for footer */
    width: 100%;
    height: 40px;
    padding: 10px;
    text-align: center;
    /* this centers the footer text */
}

main img {
    display: block;
    margin-left: auto;
    margin-right: auto;
    margin-top: 1rem;
    margin-bottom: 1rem;
    max-width: 100%;
}

#latest_posts {
    list-style-type: none;
    font-size: 1.2rem;
    padding: 0;
}

pre {
    overflow: scroll;
}

#pagination {
    display: flex;
    justify-content: space-between;
}

.pagectrl {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.pagenext {
    margin-left: auto;
}

.pageprev {
    margin-right: 1rem;
}

.pagectrl p {
    margin: 0;
}


footer {
                background-color: #13092D;
                /* background color for footer */
                width: 100%;
                height: 40px;
                padding: 10px;
                text-align: center;
                /* this centers the footer text */
            }


footer p,
footer address,
footer aside {
    margin: 0;
    margin-inline: 0;
    margin: 0.1rem;
}

footer address {
    font-style: normal;
}

footer aside {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
}

.lastupdate::after {
    content: " • ";
}

iframe {
    margin-left: auto;
    margin-right: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 100%;
}

.tagList {
    list-style-type: none;
    padding: 0.25rem;
    padding-left: 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.tagList a {
    font-size: 1.5rem;
}

.tagList li {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.tagged {
    margin-top: 3rem;
}

.tagged h2 {
    font-size: 2rem;
}

img[src*='berrysprite.png'] {
    float: right;
    padding-right: 1rem;
}