@media screen and (min-width: 1024px) {
  body {
    margin-left: calc(50% - 492px) !important;
    margin-right: calc(50% - 492px) !important;
  }
}

:root {
  --espresso: #3c2414;
  --cream: #f5f5dc;
  --sand: #f4e4c1;
  --rust: #a0522d;

  --sage-100: #1f2519;
  --sage-200: #3f4b32;
  --sage-300: #5e704b;
  --sage-400: #7d9564;
  --sage-500: #9caf88;
  --sage-600: #b0bfa0;
  --sage-700: #c4cfb7;
  --sage-800: #d7dfcf;
  --sage-900: #ebefe7;

  --slate-100: #0e141a;
  --slate-200: #1d2935;
  --slate-300: #2b3d4f;
  --slate-400: #3a5269;
  --slate-500: #486684;
  --slate-600: #6185a8;
  --slate-700: #89a3be;
  --slate-800: #b0c2d4;
  --slate-900: #d8e0e9;
}

body {
  background-color: var(--sand);
  color: var(--espresso);
  font-family: "Inter", sans-serif;
}

h1,
h2,
h3,
h4,
h5,
h6,
.tabs a {
  font-family: "Roboto Slab", serif;
  font-weight: bold;
  color: var(--espresso);
}

h1 {
  font-weight: 900;
  margin-top: 0;
  margin-bottom: 0.5rem;
}

dt {
  margin-left: 0;
}
dd {
  margin-left: 25px;
}

a {
  color: var(--slate-500);
}

a:hover {
  color: var(--slate-300);
}

p {
  line-height: 1.5;
}

.tabs {
  display: flex;
  justify-content: end;
  flex-wrap: wrap;
  gap: 0.5ex;
}

.block,
.tabs a {
  background-color: var(--cream);
  border-color: var(--rust);
  color: var(--espresso);
}

.tabs a:hover {
  background-color: var(--sage-700);
  color: var(--espresso);
}

.block p {
  margin-left: 0;
  margin-top: 0;
}

#banner,
#logo {
  width: 100%;
  max-width: 690px;
  margin: 10px auto;
}

#banner img,
#logo img {
  width: 100%;
}

#contact {
  text-align: center;
}

.mono {
  font-family: "Roboto Mono", monospace;
}

.answer {
  display: inline-block;
  font-family: "Roboto Mono", monospace;
  font-weight: bold;
  min-width: 15em;

  &:not(:hover) {
    background-color: #000;
    color: #000;

    & > * {
      filter: opacity(0);
    }
  }
}
