/* 
  brebs.css
  Core Dracula theme shared across my sites that is probably a long time coming
  Matches runs.lol / omg.lol typography and color system
*/


@import url('https://static.omg.lol/type/font-honey.css');
@import url('https://static.omg.lol/type/font-lato-regular.css');
@import url('https://static.omg.lol/type/font-lato-bold.css');
@import url('https://static.omg.lol/type/font-lato-italic.css');
@import url('https://static.omg.lol/type/font-md-io.css');

:root {
  /* Dracula palette */
  --bg: #282a36;
  --fg: #f8f8f2;
  --muted: #6272a4;
  --accent: #bd93f9;

  --panel: #1f2029;
  --border: #44475a;
  --code-bg: #1e1f29;

  /* Typography */
  --font-body: 'Lato', sans-serif;
  --font-heading: 'VC Honey Deck', serif;
  --font-mono: 'MD IO 0.4', ui-monospace, monospace;
}

* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  line-height: 1.6;
}

/* Layout */
main {
  max-width: 720px;
  margin: 48px auto;
  padding: 0 20px;
}

/* Headings */
h1, h2, h3 {
  font-family: var(--font-heading);
  margin-top: 1.6em;
  margin-bottom: 0.6em;
}

h1 {
  margin-top: 0;
  font-size: 1.6rem;
}

/* Text */
p {
  margin: 1em 0;
}

ul {
  padding-left: 1.2em;
}

li {
  margin: 0.4em 0;
}

/* Links */
a {
  color: var(--accent);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* Inline code */
code {
  background: var(--code-bg);
  padding: 0.2em 0.4em;
  border-radius: 4px;
  font-family: var(--font-mono);
  font-size: 0.95em;
}

/* Code blocks */
pre {
  background: var(--code-bg);
  border: 1px solid var(--border);
  padding: 14px;
  border-radius: 6px;
  font-family: var(--font-mono);
  white-space: pre-wrap;
  word-break: break-word;
}

pre code {
  background: none;
  padding: 0;
}

/* Example blocks */
.example {
  margin-top: 16px;
  padding: 16px;
  background: var(--panel);
  border-left: 4px solid var(--accent);
  border-radius: 6px;
}

/* Footer */
footer {
  margin-top: 56px;
  font-size: 0.9rem;
  color: var(--muted);
}

/* Copy Code Blocks */
.code-block {
  position: relative;
}

.copy-btn {
  position: absolute;
  top: 8px;
  right: 8px;
  font-family: var(--font-body);
  font-size: 0.75rem;
  background: var(--panel);
  color: var(--muted);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 2px 6px;
  cursor: pointer;
  opacity: 0;
  transition: opacity 0.15s ease, background 0.15s ease;
  text-transform: lowercase;
  letter-spacing: 0.02em;
}

.code-block:hover .copy-btn,
.copy-btn:focus {
  opacity: 1;
}

.copy-btn:hover {
  background: var(--accent);
  color: var(--bg);
}

.note {
  margin: 1em 0;
  padding: 0.75em 1em;
  color: var(--muted);
  border-left: 3px solid var(--border);
  background: rgba(68, 71, 90, 0.3);
  font-style: italic;
}

  /* === FOOTER === */
  .site-footer {
    margin-top: 4rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border);
    color: var(--muted);
    font-size: 0.9rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.4rem;
  }

  .site-footer p {
    margin: 0;
  }

  /* Icon row */
  .footer-links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.7rem;
  }

  /* Icon links */
  .footer-links a {
    color: var(--muted);
    display: inline-flex;
    align-items: center;
  }

  .footer-links a:hover {
    color: var(--accent);
  }

  /* Text links */
  .footer-meta {
    text-align: center;
    max-width: 40em;
  }

  .footer-meta a {
    color: var(--accent);
    text-decoration: none;
  }

  .footer-meta a:hover {
    text-decoration: underline;
  }

  




