/* @font-face {
  font-family: "Aman";
  src: url("/public/fonts/Aman-Variable[wght,opsz,slnt].woff2")
    format("woff2-variations");
  font-style: normal;
}

@font-face {
  font-family: "MPLUS2";
  src: url("/public/fonts/MPLUS2[wght].ttf") format("truetype-variations");
  font-weight: 100 900;
  font-style: normal;
} */

@font-face {
  font-family: "ETBembo";
  src: url("/public/fonts/et-book-roman-line-figures.woff") format("woff");
  font-style: normal;
}

@font-face {
  font-family: "ETBembo";
  src: url("/public/fonts/et-book-bold-line-figures.woff") format("woff");
  font-style: normal;
  font-weight: bold;
}

:root {
  color-scheme: light dark;
  --standard-font: "ETBembo", ui-seif;
  /* --label-font: "MPLUS2", monospace; */
  --background-color: light-dark(
    oklch(0.9889 0.0053 17.25),
    oklch(0.1957 0.0062 337.89)
  );

  --secondary-background-color: light-dark(
    oklch(0.26 0.02 94.4),
    oklch(0.7382 0.0075 88.66)
  );

  --text-color: light-dark(oklch(0.16 0.012 260), oklch(0.93 0.01 20));
  --label-text-color: oklch(0.16 0.012 260);
  --accent-color: oklch(0.798 0.1065 357.75);

  --complementary-color: oklch(0.75 0.17 165);

  --abbr-color: light-dark(oklch(0.68 0.12 210), oklch(0.72 0.12 210));
}

@media screen and (max-width: 500px) {
  body {
    max-width: 20rem;
    font-size: 1.2em;
  }
}

body {
  text-align: left;
  max-width: 40rem;
  margin: 0 auto;
  font-family: var(--standard-font);
  /* font-variation-settings:
    "wght" 400,
    "opsz" 9; */
  background-color: var(--background-color);
  color: var(--text-color);
  font-size: 1.3em;
  text-decoration-thickness: 0.14em;
  text-underline-offset: 0.18em;
}

table {
  width: 100%;

  th:nth-child(1),
  td:nth-child(1) { width: 70%; };

  th:nth-child(2),
  td:nth-child(2) { width: 5%; text-align: left; };

  th:nth-child(3),
  td:nth-child(3) { width: 20%; text-align: right; };
}

.me {
  color: var(--accent-color);
}

.mute {
  opacity: 70%;
}

a {
  color: var(--text-color);
  text-decoration-color: var(--accent-color);
}

a:hover,
a:focus {
  color: var(--accent-color);
  font-variation-settings:
    "wght" 400,
    "opsz" 9,
    "slnt" -4.4;
}

h1,
h2,
h3 {
  font-variation-settings:
    "wght" 450,
    "opsz" 24,
    "slnt" -4.4;
}

a[href^="https://"],
a.external {
  text-decoration-color: var(--complementary-color);
  text-decoration-style: dashed;
}

a[href^="https://"]:hover,
a.external:hover {
  color: var(--complementary-color);
  text-decoration-style: solid;
}

abbr[title] {
  text-decoration: underline dotted var(--abbr-color);
  cursor: help;
}

.banner {
  padding: 10px 0;
  position: relative;
  width: 100%;
  color: var(--secondary-background-color);
}

.block {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.5rem;
}

.labels {
  display: flex;
  gap: 0.5em;
}

.content {
  display: flex;
  justify-content: space-between;
  gap: 0.5rem;
}

.label {
  margin-top: 5px;
  padding: 5px;
  background-color: var(--accent-color);
  width: fit-content;
  color: var(--label-text-color);
}

footer {
  bottom: 0;
}

header {
  p {
    margin-top: 0;
  }
  h1 {
    margin-bottom: 0;
  }
}
