:root {
  --color-primary: #ede7f6;
  --color-bg-secondary: #f8f6fb;
  --color-text: #3f3f46;
  --color-text-secondary: #374051;
  --color-bg: #bfa2db;
  --color-secondary: #a6b1e1;
  --color-accent-light: #c8a2c8;
  --color-accent-dark: #2e2a47;
  --color-highlight: #e8cff8;
}

body {
  font-family: "Segoe UI", sans-serif;
  background-color: var(--color-bg);
  color: var(--color-text);
  margin: 0;
  padding: 0;
  position: relative;
  transition: transform 0.2s ease;
}

header {
  background-color: var(--color-accent-dark);
  color: var(--color-highlight);
  padding-bottom: 1rem;
  text-align: center;
  position: relative;
  z-index: 1;
  transition: opacity 0.5s ease;
}

body.scrolled header {
  opacity: 0.2;
}

nav {
  margin-top: 1rem;
}

nav a {
  color: var(--color-secondary);
  display: inline-block;
  margin: 0 1rem 1rem 1rem;
  text-decoration: none;
  font-weight: bold;
  transition: 0.3s ease;
}

nav a:hover {
  scale: 1.2;
}

main {
  padding: 2rem;
  text-align: center;
}

footer {
  background-color: var(--color-accent-dark);
  color: var(--color-highlight);
  padding: 1rem;
  text-align: center;
  margin-top: 2rem;
  font-size: 0.9rem;
}

.logo-img {
  height: 80px;
  margin: 1rem auto;
  display: block;
}

.logo-link {
  display: inline-block;
}

#sparkles {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: -1;
}

html {
  scroll-behavior: smooth;
}

.post-content h1,
h2,
h3 {
  margin-top: 1em;
}

footer a {
  color: var(--color-secondary);
  text-decoration: none;
}

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