html,
body {
  font-size: 16px;
}

* {
  font-size: 1em;
}

.flex {
  display: flex;
}

.row {
  flex-direction: row;
}

.col {
  flex-direction: column;
}

.grow-0 {
  flex-grow: 0 !important;
}

.margin-auto {
  margin-left: auto;
  margin-right: auto;
}

.center {
  justify-content: center !important;
}

.text-left {
  text-align: left !important;
}

.hidden {
  display: none !important;
}

.width-100p {
  width: 100% !important;
}

header {
  box-sizing: border-box;
  padding: 32px;
  width: 100%;
  height: 8em;
  background: rgb(2, 0, 36);
  background: linear-gradient(
    90deg,
    rgba(2, 0, 36, 1) 0%,
    rgba(9, 9, 121, 1) 35%,
    rgba(0, 212, 255, 1) 100%
  );
}

main,
footer {
  width: 100%;
}

.brand {
  font-family: fantasy, cursive, sans-serif;
  font-size: 3.2em;
  color: white;
}

nav.flex.col {
  gap: 4px;
}

nav.flex.col > .nav-link {
  box-sizing: border-box;
  width: 100%;
  height: 2em;
  padding: 8px 32px;
  cursor: pointer;
  color: black;
  background-color: lightgray;
  font-size: 1.2em;
}

nav.flex.col > .nav-link:hover {
  background-color: lightblue;
}

.form > .row {
  margin: 4px;
}

.form label {
  width: 80px;
  text-align: right;
  margin-right: 8px;
  align-self: center;
}

.form input,
.form textarea {
  flex-grow: 1;
}

.toolbar {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  flex-flow: row;
  gap: 8px;
  padding: 4px 8px;
  border: none;
}

table {
  border-collapse: collapse;
  border: 2px solid rgb(140 140 140);
  font-family: sans-serif;
  font-size: 0.8rem;
  letter-spacing: 1px;
}

caption {
  caption-side: bottom;
  padding: 10px;
  font-weight: bold;
}

thead,
tfoot {
  background-color: rgb(228 240 245);
}

th,
td {
  border: 1px solid rgb(160 160 160);
  padding: 8px 10px;
}

td:last-of-type {
  text-align: center;
}

tbody > tr:nth-of-type(even) {
  background-color: rgb(237 238 242);
}

tfoot th {
  text-align: right;
}

tfoot td {
  font-weight: bold;
}

.text-nowrap {
  text-wrap: nowrap;
}

.allow-newline {
  white-space: pre;
}
