body {
  display: flex;
  flex-wrap: wrap;
  flex-direction: column;
  font-family: -apple-system, BlinkMacSystemFont, avenir next, avenir, segoe ui, helvetica neue, Adwaita Sans, Cantarell, Ubuntu, roboto, noto, helvetica, arial, sans-serif;
}

body {
  color: var(--primary-10);
  background: var(--primary-01);
}

body>p {
  color: var(--primary-08);
}

table {
  margin-top: 2em;
}

thead,
th {
  color: black;
  text-transform: uppercase;
}

div {
  flex: 100%;
  background: oklch(from currentColor l c h);
  height: 5em;
  padding: 1em;
}

div:before {
  color: oklch(from currentColor var(--dark) c var(--secondary));
  content: "Alpha";
  font-size: 2em;
  font-weight: bold;
  font-family: sans-serif;
}

div:after {
  color: oklch(from currentColor var(--dark) c var(--tertiary));
  display: block;
  content: "Lorem ipsum dolor sit amet.";
  font-size: 1em;
  font-family: sans-serif;
}

div:nth-of-type(4)~div {
  background: oklch(from currentColor l c h);

  &:before {
    color: oklch(from currentColor var(--dark) c h);
  }
}

div:nth-of-type(1) {
  flex: 80%;
}

div:nth-of-type(2) {
  flex: 20%;

  &:before {
    color: oklch(from currentColor var(--dark) c var(--tertiary));
    content: "Omega";
    font-size: 1.2em;
    font-weight: bold;
    font-family: sans-serif;
  }
}

td {
  font-size: 0.5em;
  color: var(--contrast);
  transition: border-radius 0.6s, transform 0.3s;
  padding: 1em 2em;
  white-space: pre;
  overflow: hidden
}

a {
  color: var(--accent-09);
}

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

aside {
  padding: 2em;
  margin-block: 2em;
  max-width: 60ch;
}

aside.info {
  background: var(--info-01);
  color: var(--info-09);
  border: 1px solid var(--info-02);
}

aside.warning {
  background: var(--warning-01);
  color: var(--warning-09);
  border: 1px solid var(--warning-02);
}

td:hover {
  border-radius: 6px;
  transform: scale(1.02);
}

tr:nth-of-type(1),
tr:nth-of-type(2),
tr:nth-of-type(3),
tr:nth-of-type(4) {
  /* color: white; */
}

div:nth-of-type(3) {
  flex: 100%;
  height: 2em;

  &:after,
  &:before {
    content: "";
  }
}

div:nth-of-type(4) {
  flex: 100%;
  height: 0.6em;
  padding: 0;
  margin-bottom: 4em;

  &:after,
  &:before {
    content: "";
  }
}

div:nth-of-type(5) {
  --message: "Success";
}

div:nth-of-type(5) {
  --message: "Info";
}

div:nth-of-type(5) {
  --message: "Warning";
}

div:nth-of-type(5) {
  --message: "Danger";
}