:root {
    --space: 20px;
    --background: #0B1713ff;
    --backgroundlucent: #0B1713aa;
    --text: #9398CAff;
    --accent-dark: #4F4D38ff;
    --accent-bright: #CCC5D9ff;
    --accent-medium: #B2A094ff;
}

#canvas, .p5Canvas {
    position: fixed;
    top: 0;
    left: 0;
    z-index: -1;
}

/* layout */

body {
    font-family: 'Noto Sans Mono', monospace;
    height: 100%;
    background-color: var(--background);
    background-image: url("/media/bg.svg");
    color: var(--text);
}

#container {
    width: calc(min(800px, 90%));
    margin: auto;
}


header {
    border-bottom: 5px solid var(--accent-medium);
    position: sticky;
    z-index: 999;
    top: 0px;
    padding-top: 10px;
    background-color: var(--backgroundlucent);
}

main {
    padding-top: 20px;
    padding-bottom: 20px;
}

footer {
    border-top: 5px solid var(--accent-medium);
    padding-bottom: 10px;
}

header nav {
    height: 100%;
}

header ul, footer ul {
    list-style: none;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 20px;
}

footer ul {
    flex-direction: row-reverse;
}

.dropdown {
    position: relative;
}

.dropdown::after {
    content: "▼"
}

.dropdown:hover::after {
    content: "▲"
}

.dropdown-content {
    border: 1px solid var(--accent-dark);
    display: none;
    position: absolute;
    padding: 10px;
    background-color: var(--background);
}

.dropdown-content ul li {
    padding-top: 5px;
    padding-bottom: 5px;
}

.dropdown:hover .dropdown-content, .dropdown:active .dropdown-content {
    display: flex;
    align-items: stretch;
    flex-direction: column;
}

img:not(.logo) {
    width: 75%;
    opacity: 75%;
    transition: opacity 0.25s;
    margin: auto;
    display: block;
}

img:not(.logo):hover {
    opacity: 100%;
}


/* color */

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

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

h1, h2, h3, h4, h5, h6 {
    color: var(--accent-bright);
}