:root {
    --accent-color: #387d58;
    --base-size: 18px;
    --base-font: Georgia, serif;
    --system-sans: -apple-system, BlinkMacSystemFont, system-ui, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
    --left-width: 55%;
    --right-width: 45%;
    --main-variable-max: 80%;
    --main-px-max: 750px;
}

/** Reset some defaults **/

body {
    margin: 0;
}

ul {
    padding: 0;
}

a {
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

/** Layout **/
#wrapper {
    display: flex;
}

#main {
    width: var(--left-width);
}

#right-sidebar {
    width: var(--right-width);
    position: fixed;
    height: 100%;
    right: 0;
}

#content {
    width: var(--main-variable-max);
    max-width: var(--main-px-max);
    margin: auto;
}

section {
    padding: 4px;
}

#inner-footer {
    width: 100%;
    height: 35vh;
}

/** Text **/

body {
    font-family: var(--base-font);
    font-size: var(--base-size);
    line-height: 1.6;
}

h1 {
  font-size: 48px;
  font-weight: 500;
}

h2 {
    font-weight: 500;
}

.sec-subtitle, .main-nav ul {
  text-transform: uppercase;
  color: var(--accent-color);
  font-family: var(--system-sans);
  font-size: 20px;
  font-weight: 600;
  font-variant: all-small-caps;
}

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

a:visited {
    color: var(--accent-color);
    /* Not allowed to set many properties for privacy reasons */
}


ul {
    list-style-type: circle;
}

li::marker {
    color: var(--accent-color);
}

/** Backgrounds **/

#right-sidebar {
    background: url('/images/small/r-npaun.jpg');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: 50% /* dodgy calculation */ 0;
}

#inner-footer {
    background: url('/images/grey-monica.jpg');
    background-repeat: no-repeat;
    background-position: bottom;
}

/** Menu **/

.main-nav li {
    display: inline;
}

.main-nav li:after {
    content: ' •';
    color: #000;
    font-weight: normal;
}

.main-nav li:last-child:after {
    content: '';
}

.site-name {
    margin-bottom: 0;
}

.main-nav ul {
    margin-top: 0;
}

.main-nav {
    padding-bottom: 8px;
}

.main-nav {
    text-align: center;
}

.site-name a {
	text-decoration: none;
	color: inherit;
}

@media (max-width: 1000px) { 
    #main {
        width: 100%;
    }

    #right-sidebar {
        display: none;
    }
}
