:root {
    /* Background Colors: */
    --background-color: #eeeeee;
    --content-background-color: #ffffff;
    --sidebar-background-color: #ffffff;

    /* Text Colors: */
    --text-color: #000000;
    --sidebar-text-color: #000000;
    --link-color: #2fe848;
    --link-color-hover: #7780ec;

    /* Text: */
    --font: Monaco, monospace;
    --heading-font: Monaco, monospace;
    --font-size: 14px;

    /* Other Settings: */
    --margin: 10px;
    --padding: 20px;
    --border: 2px solid #000000;
    --round-borders: 15px;
    --sidebar-width: 200px;
}


* {
  box-sizing: border-box;
}

body {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    font-size: var(--font-size);
    margin: 0;
    padding: var(--margin);
    color: var(--text-color);
    font-family: var(--font);
    line-height: 1.2;
    background: var(--background-color);
    background-image: url("");
}

a:link,
a:visited {
    color: var(--link-color);
    text-decoration: none;
}

a:hover,
a:active {
    color: var(--link-color-hover);
    text-decoration: underline;
}

::selection {
    color: var(--text-color);
    background-color: var(--link-color);
}


/* main */
main {
    grid-area: main;
    overflow-y: auto;
    padding: var(--padding);
    background: var(--content-background-color);
    border: var(--border);
    border-radius: var(--round-borders);
    line-height: 1.5;
}

main p,
main .image,
main .full-width-image,
main .two-columns {
    margin: 0.75em 0;
}

main ol,
main ul {
    margin: 0.5em 0;
    padding-left: 1.5em;
}

main ol li,
main ul li {
    margin-bottom: 0.2em;
    line-height: 1.3;
}

main ol {
    padding-left: 2em;
}

main blockquote {
    background: rgba(0, 0, 0, 0.1);
    padding: 15px;
    margin: 1em 0;
    border-radius: 10px;
}

main hr {
    border: 0;
    border-top: var(--border);
    margin: 1.5em 0;
}


/* article */
article {
    grid-area: article;
    overflow-y: auto;
    padding: var(--padding);
    background: var(--content-background-color);
    border: var(--border);
    border-radius: var(--round-borders);
    line-height: 1.5;
}

article p,
article .image,
article .full-width-image,
article .two-columns {
    margin: 0.75em 0;
}

article ol,
article ul {
    margin: 0.5em 0;
    padding-left: 1.5em;
}

article ol li,
article ul li {
    margin-bottom: 0.2em;
    line-height: 1.3;
}

article ol {
    padding-left: 2em;
}

article blockquote {
    background: rgba(0, 0, 0, 0.1);
    padding: 15px;
    margin: 1em 0;
    border-radius: 10px;
}

article hr {
    border: 0;
    border-top: var(--border);
    margin: 1.5em 0;
}


/* columns */
.two-columns {
    display: flex;
}

.two-columns > * {
    flex: 1 1 0;
    margin: 0;
}

.two-columns > *:first-child {
    padding-right: 0.75em;
}

.two-columns > *:last-child {
    padding-left: 0.75em;
}


/* header */
header {
    grid-area: header;
    font-size: 1.2em;
    border: var(--border);
    border-radius: var(--round-borders);
    background: var(--content-background-color);
}

.header-content {
    padding: var(--padding);
}

.header-title {
    font-family: var(--heading-font);
    font-size: 1.5em;
    font-weight: bold;
}


/* sidebar */
aside {
    grid-area: aside;
    border: var(--border);
    border-radius: var(--round-borders);
    overflow: hidden;
    background: var(--sidebar-background-color);
    padding: var(--padding);
    color: var(--sidebar-text-color);
}

.left-sidebar {
    grid-area: leftSidebar;
}

.sidebar-title {
    font-weight: bold;
    font-size: 1.2em;
    font-family: var(--heading-font);
}

.sidebar-section:not(:last-child) {
    margin-bottom: 3em;
}

.sidebar-section ul,
.sidebar-section ol {
    padding-left: 1.5em;
}

.sidebar-section > *:not(p):not(ul):not(ol):not(blockquote) {
    margin-top: 10px;
}

.sidebar-section blockquote {
    background: rgba(0, 0, 0, 0.1);
    padding: 15px;
    margin: 1em 0;
    border-radius: 10px;
    overflow: hidden;
}

.sidebar-section blockquote > *:first-child {
    margin-top: 0;
}

.sidebar-section blockquote > *:last-child {
    margin-bottom: 0;
}


/* footer */
footer {
    grid-area: footer;
    border: var(--border);
    border-radius: var(--round-borders);
    overflow: hidden;
    font-size: 0.75em;
    background: var(--content-background-color);
    display: flex;
    justify-content: center;
}


/* images */
.image {
    display: block;
    width: auto;
    height: auto;
    max-width: 100%;
}

.full-width-image {
    display: block;
    width: 100%;
    height: auto;
}

.images {
    display: flex;
    width: calc(100% + 5px + 5px);
    margin-left: -5px;
    margin-right: -5px;
}

.images img {
    width: 100%;
    height: auto;
    padding: 5px;
    margin: 0;
    overflow: hidden;
}