body { 
  position: relative;
  line-height: 1.4;
  font-size: 16px;
  padding: 0 10px;
  margin: 50px auto;
  max-width: 800px;
  background-color: var(--background-color);
  color: var(--text-color);
}
ul {
  margin: 0;
}
h2 {
  margin-top: 0;
}
h4 {
  font-weight: normal;
  margin-bottom: 10px;
}
a {
  color: var(--linktext-color);
}
#maincontent {
  max-width: 48em;
  margin: 15 auto;
}
#marqueecontent {
  max-width: 16em;
  margin: 0 0 15 0;
}
#cursor {
  animation: blink 1s infinite;
  font-size: 1.2em;
}
@keyframes blink {
  0%, 50% { opacity: 1; }
  51%, 100% { opacity: 0; }
}
:root {
  --text-color: black;
  --background-color: white;
  --linktext-color: dodgerblue;
}
body.dark-mode {
  --text-color: white;
  --background-color: black;
  --linktext-color: darkorange;
}
#theme-toggle {
  position: absolute;
  top: 0px;
  right: 10px;
  padding: 6px 12px;
  background-color: var(--text-color);
  color: var(--background-color);
  border: 2px solid var(--text-color);
  border-radius: 4px;
  cursor: pointer;
  font-family: inherit;
  font-size: 14px;
  transition: all 0.3s ease;
  z-index: 1000;
}
#theme-toggle:hover {
  opacity: 0.8;
}

