:root {
    /*
    --bg: #ffffff;
    --text: #333;
    --nav-bg: #f4f4f4;
    */

      --accent: #8fbf9a;
      --accent-warm: #f1f6f2;
      --accent-dark: #2f5d3a;

      --text: #222;
      --text-muted: #555;
      --bg: #f5f6f5;
      --nav-bg: #ffffff;
      --border: #eee;
}

[data-theme="dark"] {
    /*
    --bg: #1a1a1a;
    --text: #f4f4f4;
    --nav-bg: #333;
    */

  --accent: #8fbf9a;
  --accent-warm: #1f2a23;
  --accent-dark: #b6e0c0;

  --text: #e6e6e6;
  --text-muted: #b5b5b5;
  --bg: #141716;
  --nav-bg: #1c1f1e;
  --border: #2a2d2c;
}

body {
    background-color: var(--bg);
    color: var(--text);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    Roboto, Helvetica, Arial, sans-serif;
    transition: 0.3s;
}

/* Navigatie Styling */
nav {
    display: flex;
    justify-content: space-between;
    padding: 1rem;
    background: var(--nav-bg);
}

.menu { display: flex; list-style: none; gap: 20px; }
.hamburger { display: none; cursor: pointer; }

/* Responsive: Mobiel menu */
@media (max-width: 768px) {
    .hamburger { display: block; }
    .menu { display: none; flex-direction: column; }
    .menu.active { display: flex; }
}

nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 2rem;
}

.nav-tools button {
    background: none;
    border: 1px solid var(--text);
    color: var(--text);
    cursor: pointer;
    margin-left: 5px;
    padding: 2px 8px;
}

.footer-content {
    text-align: center;
    padding: 20px;
    font-size: 0.9rem;
    line-height: 1.6;
}

/* Styling voor de Markdown content */
#content-area {
    max-width: 800px;
    margin: 40px auto;
    padding: 0 20px;
    line-height: 1.6;
}

#content-area h1 {
    /*color: #2ecc71; /* Een mooi groen accent 
    font-size: 2.5rem;
    margin-bottom: 1rem;*/
  font-size: 2.1rem;
  margin-bottom: 0.4rem;
}

#content-area h2 {
    /*border-bottom: 2px solid var(--nav-bg);
    padding-bottom: 10px;
    margin-top: 2rem;*/
  font-size: 1.6rem;
  font-weight: normal;
  color: var(--text-muted);
  margin-top: 3rem;
  margin-bottom: 1rem;
}

#content-area ul {
    padding-left: 20px;
}

#content-area p {
  margin: 0.75rem 0 1rem;
}

#content-area a {
  color: var(--accent-dark);
  text-decoration: underline;
}

#content-area a:hover,
#content-area a:focus {
  text-decoration: none;
}

a {
  color: var(--accent-dark);
  text-decoration: underline;
}

a:hover,
a:focus {
  text-decoration: none;
}



#content-area blockquote {
    border-left: 5px solid #2ecc71;
    background: var(--nav-bg);
    padding: 10px 20px;
    font-style: italic;
    margin: 20px 0;
}

/* Basis navigatiebalk */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    background: var(--nav-bg);
    position: relative; /* Cruciaal voor het positioneren van het menu */
    z-index: 1000;
}

/* Standaard menu (Desktop) */
.menu {
    display: flex;
    list-style: none;
    gap: 20px;
    margin: 0;
    padding: 0;
    align-items: center;
}

/* Mobiele instellingen */
@media (max-width: 768px) {
    .hamburger {
        display: block;
        font-size: 1.5rem;
        cursor: pointer;
    }

    .menu {
        display: none; /* Verberg standaard */
        flex-direction: column;
        position: absolute;
        top: 100%; /* Direct onder de nav-balk */
        left: 0;
        right: 0;
        background: var(--nav-bg);
        padding: 1rem;
        box-shadow: 0 4px 6px rgba(0,0,0,0.1);
        gap: 15px;
    }

    /* Klas die door JS wordt toegevoegd */
    .menu.active {
        display: flex;
    }

    .nav-tools {
        border-top: 1px solid var(--text);
        padding-top: 10px;
        width: 100%;
        justify-content: center;
        display: flex;
    }
}
