*, *::before, *::after {
    box-sizing: border-box;
}
* {
    position: relative;
    margin: 0;
    padding: 0;
}
html {
    html-scheme: light dark; /* Enables automatic dark mode support if desired */
    -webkit-text-size-adjust: none;
    text-size-adjust: none;
    margin: 0;
}
body {
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
:root {
    /* System Font Stacks */
    --font-sans: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
    --clr-text: #1a1a1a;
    --clr-bg: #f5f5f5;
    --clr-primary: #0066cc;
}
body {
    font-family: var(--font-sans);
    color: var(--clr-text);
    background-color: var(--clr-bg);
    font-size: 110%;
}
a {
    text-decoration: none;
}
a:hover {
    text-decoration: underline;
}
h1, h2, h3, h4, h5, h6 {
    line-height: 1.1;
    text-wrap: balance; /* Prevents awkward single-word text wrapping */
    margin-bottom: 0.5em;
}
p {
    text-wrap: pretty; /* Eliminates typographic orphans */
    margin-bottom: 1em;
}
/* Make images and media responsive and block-level */
img, picture, video, canvas, svg {
    display: block;
    max-width: 100%;
    height: auto;
}
/* Inherit fonts for inputs and buttons */
input, button, textarea, select {
    font: inherit;
    margin-bottom: .5em;
}
input {
    border-radius: .25em;
    border: 1px solid #ccc;
    outline-width: 0;
    padding: .25em;
}
/* Avoid textareas overflowing sideways */
textarea {
    resize: vertical;
}
hr {
    height: 1px;
    border-width: 0px;
    outline: none;
    background : linear-gradient(to right, rgba(0,0,0,.05),rgba(0,0,0,.2),rgba(0,0,0,0.05));
    margin: 1em 0;
}
button {
    background-color: #2563eb;
    color: #ffffff;
    font-family: inherit;
    font-size: 1rem;
    font-weight: 500;
    padding: 0.25rem 1rem;
    border: none;
    border-radius: 0.25rem;
    cursor: pointer;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
    transition: background-color 0.2s ease, transform 0.1s ease;
}
button:hover {
    background-color: #1d4ed8;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
}
button:active {
    transform: translateY(0);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}
.justifyLeft {
    display: flex;
    justify-content: flex-start;
}
.spaceBetween {
    display: flex;
    justify-content: space-between;
}
.justifyRight {
    display: flex;
    justify-content: flex-end;
}
.flex {
    flex: 1;
}
.gap {
    gap: 1em;
}
.gapHalf {
    gap: .5em;
}
.top {
    align-items: flex-start;
}
.center {
    align-items: center;
}
.bottom {
    align-items: flex-end;
}
.error {
    background-color: rgb(126, 0, 0);
    color: #FFF;
    border-radius: .25em;
    padding: 1em;
    margin-bottom: 1em;
}
.borderLeft {
    border-left: 1px solid #ddd;
    padding: 0 1em;
}
.tight {
     margin: 0;
     padding: 0;
}
.login {
    position: fixed;
    top: 10%;
    left: calc(50% - 175px);
    width: 350px;
    border-radius: .25em;
    box-shadow: 0 0 .5em rgba(0,0,0,.25);
    padding: 2em;
    background-color: #ffffff;

    input {
        width: 100%;
    }
}
#topbar {
    padding: 1em 10%;
    box-shadow: 0 .5em 1em rgba(0, 0, 0, 0.1);
    background-color: #ffffff;
}
#container {
    padding: 1em 10%;
}
#nav {
    padding: 1em;
    width: 20ch;
    box-shadow: .5em .0 1em rgba(0, 0, 0, 0.1);
    background-color: #ffffff;
    border-radius: .5em;
}
#content {
    padding: 1em;
}