:root {
    --color-rosewater: #f5e0dc;
    --color-flamingo: #f2cdcd;
    --color-pink: #f5c2e7;
    --color-mauve: #cba6f7;
    --color-red: #f38ba8;
    --color-maroon: #eba0ac;
    --color-peach: #fab387;
    --color-yellow: #f9e2af;
    --color-green: #a6e3a1;
    --color-teal: #94e2d5;
    --color-sky: #89dceb;
    --color-sapphire: #74c7ec;
    --color-blue: #89b4fa;
    --color-lavender: #b4befe;
    --color-text: #cdd6f4;
    --color-subtext1: #bac2de;
    --color-subtext0: #a6adc8;
    --color-overlay2: #9399b2;
    --color-overlay1: #7f849c;
    --color-overlay0: #6c7086;
    --color-surface2: #585b70;
    --color-surface1: #45475a;
    --color-surface0: #313244;
    --color-base: #1e1e2e;
    --color-mantle: #181825;
    --color-crust: #11111b;
    --font-family: Virtue, Lucida Grande, Lucida Sans Unicode, Lucida Sans, Geneva, Verdana, sans-serif;
}

/* General styling */
html,
body {
    width: 100%;
    height: 100%;
    margin: 0px;
    scrollbar-width: thin;
    scrollbar-color: var(--color-mantle) var(--color-crust);
}

body {
    background-color: var(--color-crust);
    background-image: var(--background-url);
    background-repeat: repeat;
    background-size: 64px;
    background-position: center center;

    color: var(--color-text);
    font-family: var(--font-family);

    display: flex;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: normal;
    margin: 0px 0px;
}

h3, h4, h5, h6 {
    color: var(--color-subtext0);
}

/* Sidebar */
nav.sidebar {
    height: 100%;
    box-sizing: border-box;
    padding: 16px;
}

.page-list.navigation .alt-link-title {
    display: none;
}

nav ul {
    padding-left: 16px;
    margin-bottom: 32px;
    list-style-type: none;
}

nav ul span {
    font-size: 20px;
}

.page-list li {
    display: flex;
    align-items: center;
    padding: 2px 0px;
}


.page-list li img {
    height: 32px;
    margin-right: 8px;
    margin-bottom: 1px;
}

.page-list li a {
    color: var(--color-subtext0);
    text-decoration: none;
    font-size: 16px;
}

.page-list li a:hover {
    color: var(--color-text);
}

.page-list li a:active,
.page-list li a.active {
    color: var(--color-peach);
}

@media screen and (max-width: 600px) {
    .status {
        display: none;
    }

    .contact {
        display: none;
    }

    nav.sidebar {
        width: 100%;
        height: fit-content;
        box-sizing: border-box;
        padding: 16px;
    }

    .page-list.navigation {
        width: 100%;
        padding-left: 0;
        margin: 0;
        display: flex;
        align-items: end;
    }

    .page-list.navigation .alt-link-title {
        display: block;
    }

    .page-list.navigation .link-title {
        display: none;
    }

    .page-list.navigation li {
        display: inline-block;
        margin: auto;
    }

    .page-list.navigation li:first-of-type a {
        padding-left: 16px;
    }

    body {
        flex-direction: column;
    }

    body main {
        width: 100%;
        padding: 0px 16px 16px 16px;
        box-sizing: border-box;
    }
}

/* Main content */
main {
    display: flex;
    flex-direction: column;
    width: 80vw;
    height: 100%;
    box-sizing: border-box;
    padding: 32px 64px;
}

p {
    font-size: 1.15rem;
}

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

@media screen and (min-width: 900px) {
    main {
        width: 60%;
        margin: 0 auto;
    }

    p {
        font-size: 1.25rem;
    }
}

b {
    color: var(--color-peach);
    font-weight: normal;
}



p.indent {
    text-indent: 32px;
}

img {
    image-rendering: pixelated;
}

.flash {
    width: 100%;
    background: var(--color-mantle);
    padding: 8px;
    margin-bottom: 8px;
    font-size: 16px;
}

.flash.error {
    color: var(--color-red);
}

.flash.success {
    color: var(--color-green);
}

form {
    display: flex;
    flex-direction: column;
}

.styled-input {
    display: block;
    background: var(--color-mantle);
    outline: none;
    border: none;
    font-family: var(--font-family), serif;
    color: var(--color-subtext1);
    padding: 8px;
    box-sizing: border-box;
    font-size: 16px;
}

::placeholder {
  color: var(--color-subtext0);
}

button {
    color: var(--color-text);
    cursor: pointer;
}

button:hover {
    color: var(--color-peach);
}

.cf-turnstile {
    margin: 16px 0;
}

label {
    margin-top: 16px;
}

select {
    width: 128px;
    padding: 4px;
    border: none;
    background-color: var(--color-mantle);
    font-size: 16px;
    color: var(--color-text);
    font-family: var(--font-family), serif;
    outline: none;
}