:root {
    --bg-col: white;
    --bg-col-alt: #F4F4F4;
    --text-col: black;
    --a-col: blue;
    --a-vis-col: purple;
    --a-hov-col: blue;
    --a-bg-col: transparent;
    --i-hov-col: #00E3F6;
    --year-col: #427643;
}

@media (prefers-color-scheme: dark) {
    :root {
	--bg-col: #1F2D33;
	--bg-col-alt: #0B0F11;
	--text-col: rgba(255, 255, 255, 87%);
	--a-col: #f4a261;
	--a-vis-col: #e76f51;
	--a-hov-col: white;
	--a-bg-col: #483D8B;
	--i-hov-col: #483D8B;
	--year-col: #E5E75F;
    }
}

body {
    font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-align: justify;
    -moz-text-align-last: left;
    text-align-last: left;
    line-height: 1.5;
    color: var(--text-col);
    background-color: var(--bg-col);
    margin: 40px auto;
    width: 80rem;
    max-width: 85%;
}

body > * {
    margin: auto;
    padding: 1rem;
}

section {
    padding-bottom: 2rem;
}

h1, h2, h3, h4, h5, h6 {
    font-family: Cambria, Helvetica, Arial, sans-serif;
}

h1 {
    font-size: 2.5rem;
}

.title {
    margin-bottom: .2em;
}

a:hover {
    text-decoration: none;
}

hr {
    border-top: 1px;
}

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

a:visited {
    color: var(--a-vis-col);
}

a:hover {
    background-color: var(--a-bg-col);
    color: var(--a-hov-col);
}

.mono {
    font-family: Lucida Console, monospace;
}



nav {
    display: flex;
    justify-content: flex-end;;
    font-size: 12px;
    text-transform: uppercase;
}

nav ul {
    list-style: none;
}

nav li {
    display: inline-block;
    margin: 0 5px;
}

nav a {
    color: var(--text-col);
    text-decoration: none;
}
nav a:visited {
    color: var(--text-col);
}
