:root {
  --rose: #f7cbd4;
  --cream: #fdf3ed;
  --taupe: #e8dacb;
  --pink: #e7aebc;
  --lavender: #d6c3e2;
  --text-dark: #2c2c2c;
  --accent: #a06ebc;
  --tpink: #f5a9b8;
  --tblue: #5bcefa;
}
[data-theme="dark"] {
  --rose: #4b2e35;
  --cream: #1e1a1a;
  --taupe: #2c2522;
  --pink: #a27886;
  --lavender: #786b8c;
  --text-dark: #f0e8e6;
  --accent: #c6a1e3;
}

* {
  box-sizing: border-box;
  scroll-behavior: smooth;
}
html,
body {
  margin: 0;
  padding: 0;
  font-family: "Nunito", sans-serif;
  color: var(--text-dark);
  line-height: 1.7;
  width: 100%;
}
nav {
  border-radius: 12px;
  background-color: var(--rose);
  padding: 1rem 1.5rem;
  margin-top: 1rem;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 2rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  max-width: 1000px;
  animation: fadeIn 0.6s ease-out;
}
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.site-logo {
  height: 32px;
  width: auto;
  border-radius: 8px;
  display: block;
  margin: 0;
}
.nav-links {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.nav-links a {
  position: relative;
  color: var(--accent);
  text-decoration: none;
  font-weight: 600;
  font-size: 1.05rem;
  transition: color 0.2s ease;
}
.nav-links a:hover {
  color: var(--pink);
}
.nav-links a.active::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  height: 2px;
  width: 100%;
  background-color: var(--accent);
  border-radius: 2px;
}
.theme-toggle {
  background: none;
  border: none;
  color: var(--accent);
  font-size: 1.1rem;
  cursor: pointer;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  transition: background 0.2s ease;
}
.theme-toggle:hover {
  background: rgba(255, 255, 255, 0.1);
}
main {
  max-width: 900px;
  margin: auto;
  padding: 1rem;
}
h1,
h2,
h3 {
  color: var(--accent);
  font-weight: 600;
}
p {
  font-size: 1.1rem;
  margin-bottom: 1.25rem;
}
.post-body a {
  color: var(--accent);
  text-decoration: none;
  transition: color 0.2s ease;
}
.post-body a:hover {
  color: var(--pink);
}
.post-body a:visited {
  color: var(--accent);
}
footer {
  background-color: var(--taupe);
  width: 100%;
  margin-top: 3rem;
  padding: 3rem 1.5rem;
}
.footer-inner {
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}
.footer-columns {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}
.footer-column {
  flex: 1;
}
.footer-column h4 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--accent);
}
.footer-column a {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--accent);
  text-decoration: none;
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
  transition: color 0.2s ease;
}
.footer-column a:hover {
  color: var(--pink);
}
.footer-column a:visited {
  color: var(--accent);
}
.footer-column i {
  width: 1rem;
  height: 1rem;
}
.footer-bottom {
  text-align: center;
  font-size: 0.85rem;
  color: var(--text-dark);
}

nav,
main,
footer {
  position: relative;
  z-index: 1;
}

@media (min-width: 768px) {
  .footer-columns {
    flex-direction: row;
  }
  nav {
    justify-content: space-between;
  }
}
