/* iosevka-latin-400-normal */
@font-face {
  font-family: "Iosevka";
  font-style: normal;
  font-display: swap;
  font-weight: 400;
  src:
    url(https://cdn.jsdelivr.net/fontsource/fonts/iosevka@latest/latin-400-normal.woff2)
      format("woff2"),
    url(https://cdn.jsdelivr.net/fontsource/fonts/iosevka@latest/latin-400-normal.woff)
      format("woff");
}

:root {
  --pico-border-radius: 9px;
  --pico-font-family: "Iosevka", monospace;
  --pico-font-family-monospace: "Iosevka", monospace;
  --pico-font-size: 18px;

  --pico-background-color: light-dark(#eff1f5, #1e1e2e) !important;
  --pico-code-background-color: light-dark(#eff1f5, #1e1e2e) !important;
  --pico-color: light-dark(#4c4f69, #cdd6f4) !important;
  --pico-muted-color: light-dark(#6c6f85, #bac2de) !important;

  --pico-h1-color: var(--pico-color) !important;
  --pico-h2-color: var(--pico-color) !important;
  --pico-h3-color: var(--pico-muted-color) !important;
  --pico-h4-color: var(--pico-muted-color) !important;
  --pico-h5-color: var(--pico-muted-color) !important;
  --pico-h6-color: var(--pico-muted-color) !important;

  --pico-primary: light-dark(#1e66f5, #89b4fa) !important;
  --pico-primary-underline: var(--pico-primary-color) !important;
  --pico-primary-inverse: var(--pico-background-color) !important;
  --pico-primary-background: var(--pico-primary) !important;
  --pico-secondary-background: light-dark(#ccd0da, #313244) !important;
  --pico-secondary-inverse: var(--pico-color) !important;
  --pico-contrast-background: var(--pico-color) !important;

  --pico-form-element-border-color: transparent !important;
  --pico-form-element-background-color: light-dark(#e6e9ef, #181825) !important;
  --pico-form-element-active-background-color: light-dark(
    #e6e9ef,
    #181825
  ) !important;

  --pico-primary-hover: var(--pico-primary) !important;
  --pico-primary-focus: var(--pico-primary) !important;
  --pico-secondary-hover: var(--pico-secondary) !important;
  --pico-secondary-focus: var(--pico-secondary-background) !important;
  --pico-contrast-hover: var(--pico-contrast) !important;
  --pico-primary-hover-background: var(--pico-primary-background) !important;
  --pico-contrast-focus: var(--pico-contrast-background) !important;
  --pico-secondary-hover-background: var(
    --pico-secondary-background
  ) !important;
  --pico-contrast-hover-background: var(--pico-contrast-background) !important;

  --accent: light-dark(#1e66f5, #89b4fa);
  --success: light-dark(#40a02b, #a6e3a1);
  --danger: light-dark(#d20f39, #f38ba8);
  --surface: light-dark(#eff1f5, #1e1e2e);
  --subsurface: light-dark(#e6e9ef, #181825);
  --overlay: light-dark(#ccd0da, #313244);
  --overlay-hover: light-dark(#bcc0cc, #45475a);
  --core: light-dark(#dce0e8, #11111b);
  --padding: 0.62rem;
  --gap: 0.62rem;
}

h1 {
  font-size: 3rem;
  color: var(--accent);
}

h2 {
  font-size: 2rem;
  color: var(--accent);
}
em,
b {
  color: var(--accent);
}
figure,
img {
  min-width: 0;
  min-height: 0;
}
img {
  object-fit: contain;
}

.button {
  display: grid;
  place-items: center;
  height: 3rem;
  width: 3rem;
  border: 2px solid var(--core);
  border-radius: var(--gap);
  background: var(--overlay);
  color: var(--accent);
  transition: ease-out 0.3s;
}
.button:hover {
  background: var(--overlay-hover);
}

.panel-top {
  background: var(--surface);
}
.panel-bottom {
  background: var(--subsurface);
}

.justify {
  text-align: justify;
}
.row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--gap);
}
.accent {
  color: var(--accent);
}
.success {
  color: var(--success);
}
.danger {
  color: var(--danger);
}
