/* General layout */
body {
  margin: 0;
  display: flex;
  height: 100vh; /* 100% viewport height */
  background: black; /* optional if you want a black background behind everything */
}

/* Side navigation */
nav {
  width: 200px;
  background: #222;
  color: white;
  padding: 1rem;
  box-sizing: border-box;
  overflow-y: auto; /* enable scrolling inside nav if content is tall */
  overflow-x: hidden; /* usually don't want horizontal scroll in nav */
  font-family: monospace;
}

/* Links inside nav */
nav a {
  display: block;
  color: #ccc;
  margin-bottom: 0.5rem;
  text-decoration: none;
  padding: 0.25rem;
  transition: background 0.2s ease;
}

/* Hover effect for nav links */
nav a:hover {
  background: #333;
}

/* Active link highlight */
nav a.active {
  background: #333;
  color: #0f0; /* or whatever highlight color you prefer */
  border-left: 4px solid #0f0;
  padding-left: 0.5rem; /* shift text so it doesn't overlap border */
}

/* The iframe takes up remaining space */
iframe {
  flex: 1;
  border: none;
  /* we let the page inside handle its own scrolling if needed */
}

.light {
  background: rgba(0, 0, 0, 0.5) !important;
  color: #ffffff !important;
}

.light span {
  background: black !important;
  color: #0f0;
  padding: 0;
  margin: 0;
}

.light strong,
.light code {
  background: #000;
  color: #FFF;
  padding: 0.2em 0.3em;
  box-decoration-break: clone;
  display: inline;
  line-height: 1.8;
}

.light code {
  color: black !important;
  background: #0f0;
}

/* #info overlay (optional) */
#info {
  position: absolute;
  font-family: monospace;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(0, 0, 0, 0.8);
  color: #0f0;
  padding: 12px 20px;
  font-size: 14px;
  line-height: 1.4;
  border-bottom: 1px solid #333;
  z-index: 10;
  pointer-events: none;
}

strong {
  color: #fff;
}

​path {
  fill: blue;
}​