/* Dit style sheet dient tevens als voorbeeld voor ontwikkelaars. */
/*Zie www.officeprograms.nl voor meer informatie. */
/* Laatst bijgewerkt: 14/07/2005 */
   
BODY {
  font-family: verdana, arial;
  font-size: 8pt;
  background-image : url(../China/Zen13.jpg);
  background-repeat:no-repeat;/*we want to have one single image not a repeated one*/
  background-size:cover;/*this sets the image to fullscreen covering the whole screen*/
  background-position: 150% auto;  color: black;
  margin-top: 0em;
  margin-left: 2.5em;
  margin-right: 2.5em;
  margin-bottom: 5em;
}

/* main1.css - Modern, responsive, accessible */

/* --- Base --- */
:root{
  --max-width: 1100px;
  --content-gap: 1.25rem;
  --accent: #333; /* niet dwingend, kan aangepast worden */
  --bg: #fff;
  --text: #111;
  --muted: #555;
  --radius: 6px;
}

* { box-sizing: border-box; }
html,body { height: 100%; }
body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
  color: var(--text);
  background: var(--bg);
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
}

/* Utility */
.wrap {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 1rem;
}

/* Header */
.site-header {
  border-bottom: 1px solid #e6e6e6;
  background: #fafafa;
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.site-title {
  margin: 0;
  font-size: 1.125rem;
  flex: 1 1 auto;
  text-align: center;
}

/* Nav */
.nav-toggle {
  background: none;
  border: 1px solid transparent;
  padding: .4rem .6rem;
  cursor: pointer;
}
.main-nav {
  display: flex;
  gap: 0.5rem;
}
.main-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display:flex;
  gap: 0.5rem;
}
.main-nav a {
  text-decoration: none;
  color: var(--accent);
  padding: .35rem .5rem;
  border-radius: 4px;
}
.main-nav a:hover,
.main-nav a:focus { background: #eee; }

/* Lang links */
.lang-links { font-size: .95rem; color: var(--muted); }

/* Main */
.site-main { padding-top: 1rem; padding-bottom: 2rem; }

/* Intro */
.lede { font-size: 1rem; margin: 0 0 1rem 0; color: var(--muted); }

/* Grid replacing your old table */
.content-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--content-gap);
  align-items: start;
  margin-top: 1.5rem;
}

/* images */
.feature-image img,
.side-image img,
.content-grid img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--radius);
}

/* Two-column TOC list: on small screens will stack */
.two-column-list {
  columns: 2;
  column-gap: 1.5rem;
  padding-left: 0;
  margin: 0;
}
.two-column-list li { break-inside: avoid-column; margin-bottom: .4rem; }
.two-column-list a { color: var(--accent); text-decoration: none; }
.two-column-list a:hover { text-decoration: underline; }

/* Page content area */
.page-content { margin-top: 1.5rem; }

/* Footer */
.site-footer {
  border-top: 1px solid #eee;
  padding: 1rem 0;
  background: #fafafa;
}
.footer-inner { display:flex; justify-content:space-between; gap:1rem; align-items:center; flex-wrap:wrap; }
.footer-inner small { color: var(--muted); }

/* Accessibility helper: screen-reader only */
.sr-only {
  position: absolute !important;
  height: 1px; width: 1px;
  overflow: hidden;
  clip: rect(1px, 1px, 1px, 1px);
  white-space: nowrap;
}

/* --- Responsive rules --- */
@media (max-width: 900px) {
  .content-grid { grid-template-columns: 1fr; }
  .two-column-list { columns: 1; }
  .site-title { text-align: left; }
  .header-inner { align-items: center; }
}

@media (max-width: 600px) {
  .wrap { padding-left: .75rem; padding-right: .75rem; }
  .lang-links { display: block; text-align: center; margin-top: .5rem; }
  .main-nav { display: none; }
  .main-nav.open { display: block; margin-top: .5rem; }
  .main-nav ul { flex-direction: column; gap: .25rem; }
  .nav-toggle { display: inline-block; }
}

/* Ensure images never overflow */
img { max-width: 100%; height: auto; }

/* Small visual polish */
a { color: #0a58ca; }

/* Mobiele view iets kleiner maken */
@media (max-width: 600px) {

  body {
    font-size: 0.85rem; /* algemene tekst iets kleiner */
  }

  .site-title {
    font-size: 1rem; /* titel iets kleiner */
  }

  .main-nav a {
    padding: .3rem .4rem; /* smallere knoppen */
    font-size: 0.9rem;
  }

  .wrap {
    padding-left: .5rem;
    padding-right: .5rem;
  }

  .content-grid {
    gap: 0.75rem; /* minder ruimte tussen elementen */
  }
}

/* Mobiele view iets meer naar links */
@media (max-width: 600px) {
  
  body {
    margin-left: 0.5rem;   /* minder ruimte links */
    margin-right: 1rem;    /* iets meer rechts, balans */
  }

  .wrap {
    padding-left: 0.25rem;  /* bijna tegen de linkerkant */
    padding-right: 0.75rem; /* iets meer rechts */
  }
}

/* Extra: schuif Engelse pagina's iets naar links op kleine schermen */
@media (max-width: 600px) {
  /* algemene kleine compacting (blijft zoals eerder) */
  body { font-size: 0.85rem; }

  /* specifiek: nudge English pages a little to the left */
  body.lang-en .wrap {
    padding-left: 0.25rem;   /* minder ruimte links */
    padding-right: 0.9rem;   /* iets meer rechts zodat content niet plakt */
    max-width: calc(var(--max-width) - 30px); /* optioneel: iets smaller */
  }

  /* optionele extra: als je de hele pagina (incl. background) wilt verschuiven */
  body.lang-en {
    margin-left: -0.35rem;
  }
}