:root {
        --dark-blue: #2E3E4E;
        --nav-bg: var(--dark-blue);
        --bg: #333;
        --text-color: white;
        --elegant: rebeccapurple;
        --link-color: lightblue;
}

* {
        background: var(--bg);
        color: var(--text-color);
}

body {
        margin-left: 5vw;
        margin-right: 5vw;
}

p, li {
        font-family: 'Times New Roman', Times, serif;
}

h1, h2, h3 {
        font-family: Helvetica, sans-serif;
}

#title {
        text-align: center;
}

nav {
        width: 100%;
        position: fixed;
        top: 0;
        left: 0;
        background-color: var(--nav-bg);
        display: flex;
        justify-content: space-between;
        align-items: center;
}

footer {
        width: 100%;
        position: fixed;
        bottom: 0;
        left: 0;
        background-color: var(--nav-bg);
        text-align: center;
}

nav ul, footer ul {
        list-style: none;
        display: flex;
        justify-content: center; /* centers the items horizontally */
        margin: 0;
        padding: 0;
        background-color: var(--nav-bg);
}

nav ul.left, footer ul.left {
        justify-content: left;
}

nav ul.right, footer ul.right {
        justify-content: right;
}

nav ul li, footer ul li {
        margin: 0 1.5vw;
}

nav ul li a, footer ul li a {
        display: block;
        color: var(--text-color);
        text-decoration: none;
        background-color: var(--nav-bg);
        font-family: sans-serif;
}

article {
        padding-top: 1vh;
        padding-bottom: 3vh;
}

header {
        padding-top: 2vh;
}

.link {
        color: var(--link-color);
        text-decoration: underline;
}

.link:hover {
        color: var(--bg);
        background-color: var(--link-color);
        text-decoration-color: var(--bg);
}

.link:active {
        text-decoration: none;
        color: var(--elegant);
}

.right {
        text-align: right;
}

.left {
        text-align: left;
}

.center {
        text-align: center;
}

.link-nolink {
        color: var(--text-color);
        text-decoration: none;
}

.sans, .sans p, .sans li {
        font-family: sans-serif;
}

.vspace-20 {
        padding-bottom: 20vh;
}