/* Brand of delimmo.de: primary #1ABC9C (Mantine `brand-6`), Comfortaa for headings. */
@font-face {
  font-family: Comfortaa;
  src: url('../fonts/Comfortaa-Regular.ttf') format('truetype');
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: Comfortaa;
  src: url('../fonts/Comfortaa-Bold.ttf') format('truetype');
  font-weight: 700;
  font-display: swap;
}

:root {
  /* Dark brand teal for active states: 5.3:1 on white, brand #1abc9c only 2.4:1. */
  --md-primary-fg-color: #117a65;
  --md-primary-fg-color--light: #16a085;
  --md-primary-fg-color--dark: #0e6655;
  --md-accent-fg-color: #0e6655;
  --md-text-font: system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}

/* Links on white: darker teal for contrast (4.5:1+). */
[data-md-color-scheme='default'] {
  --md-typeset-a-color: #117a65;
}
[data-md-color-scheme='slate'] {
  --md-typeset-a-color: #1abc9c;
  --md-accent-fg-color: #48c9b0;
}

.md-header__title,
.md-tabs,
.md-typeset h1,
.md-typeset h2,
.md-typeset h3 {
  font-family: Comfortaa, system-ui, sans-serif;
}
.md-typeset h1 {
  font-weight: 700;
  color: inherit;
}

/* Screenshots: a thin frame so white UI does not melt into the page. */
.md-typeset img.shot {
  border: 1px solid var(--md-default-fg-color--lightest);
  border-radius: 8px;
  box-shadow: 0 2px 10px rgb(0 0 0 / 6%);
}

/* Header is white in light theme, dark in dark theme: colour logo / white logo. */
[data-md-color-scheme='slate'] .md-logo img {
  content: url('../logo-white.svg');
}
