:root {
    --primary-color: #006ad2;
    --secondary-color: #23195a;
    --tertiary-color: #f8f4f0;
    --error-color: #f00;
    --warning-color: #fea;
    --warning-color-50: #fa4;
    --border-radius: 6px;
}

html {
    box-sizing: border-box;
    font-family: system-ui, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", Arial, sans-serif;
    margin: 0;
    padding: 0;
}

body {
    margin: 0;
    padding: 0;
}

*, *:before, *:after {
  box-sizing: inherit;
}

button, input, select {
    border: 0;
    box-shadow: inset 0px 1px 0px rgba(255, 255, 255, 0.33), 0px 1px 0px rgba(0, 0, 0, 0.33);
    border-radius: var(--border-radius);
    font-weight: 400;
    vertical-align: middle;
    line-height: 1rem;
    padding: .25rem .5rem .25rem .5rem;
}

button, select {
    background: #ddd;
    color: #000;
}

button {
    text-align: center;
}

input {
    box-shadow: inset 2px 2px 1px #ccc, 1px 1px 0px #bbb;
    outline: none;
}

button {
    display: inline-block;
    min-width: 2rem;
    cursor: pointer;
}

button:hover, select:focus {
    background: #aaa;
}

button:focus-visible, select:focus-visible, select:focus-visible {
    box-shadow: rgba(0, 0, 0, 0.5) 0px 0px 0px 4px;
    outline: 0;
}

.menu {
    display: flex;
    flex-flow: row wrap;
    gap: .25rem .5rem;
    margin: .5rem;
}

.menu-group {
    display: flex;
    flex-wrap: nowrap;
    gap: 1rem .125rem;
}

.page-container {
    display: flex;
    flex-direction: column;
}

.page-container > * {
    flex-align: start;
}

header {
    background: #000;
    color: #fff;
}

header a {
    color: #fff;
    text-decoration: none;
    text-shadow: 0 0 0 #fff;
}

.navbar {
    display: flex;
    margin: 0;
    padding: 0;
    gap: 1rem .5rem;
}

.navbar > li {
    list-style: none;
    flex: 0 1;
    background: #000;
    border-radius: .75rem;
    padding: 1rem 0 1rem 0;
}

.navbar > li > * {
    padding: 1rem;
}

.navbar > li >:hover {
    background: #444;
}

.basic-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.basic-grid > div {
    padding: .5rem;
    margin: .5rem;
}

.user-identity {
    margin-left: auto;
}

h1, h2 {
    margin: .5rem 0 1rem 0;
}

#watermark {
    color: rgba(128, 128, 128, 0.1);
    position: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    left: 0;
    top: 0;
    width: 100vw;
    height: 100vh;
    cursor: default;
    user-select: none;
    pointer-events: none;
    text-transform: uppercase;
    text-align: center;
    vertical-align: middle;
    font-weight: bold;
    font-size: 20vh;
    line-height: 20vh;
    z-index: 400;
    transform: rotate(-45deg);
}


.message-list {
    display: flex;
    flex-flow: column nowrap;
    gap: 1rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.message-list > li {
    background: var(--tertiary-color);
    border-radius: .5rem;
    padding: 0 1rem 1rem 1rem;
}

.message-item > h3 {
    font-size: 1em;
}

.message-item {
    margin: 0;
    padding: 0;
    font-size: smaller;
    line-height: 1.5;
    hyphens: auto;
}

.message-item > blockquote {
    border-left: 2px solid var(--secondary-color);
    margin: 0;
    padding: 0 0 0 .5rem;
}

table {
    border-collapse: collapse;
    margin: 1rem;
}

table > caption {
    font-size: larger;
    font-weight: bold;
}

table > thead > tr > th {
    padding: .5rem;
    border: 1px solid #ccc;
    border-bottom: 5px solid #ccc;
}

table > tbody > tr > td {
    text-align: right;
    border: 1px solid #ccc;
    padding: .25rem;
}
