* {
  box-sizing: border-box;
  margin: auto;
}

body { 
  font-family: "courier", monospace, serif, "Krungthep";
  color: white;
  background-color: black;
  text-align: left;
}

.llcB {
  background-color: black;
  color: black;
}

.llcW {
  float: left;
  overflow: auto;
  background-color: black;
  color: white;
}

.llcG {
  background-color: black;
  color: gold;
}

.incBlu {
  background-color: steelblue;
  color: palegoldenrod;
  text-decoration: underline;
}

.incRed {
  background-color: orangered;
  color: white;
}

.sidebar { /* sidebar menu */
  margin: 0;
  padding: 0;
  width: 160px;
  background-color: black;
  position: fixed;
  height: auto;
  overflow: auto;
}

/* sidebar links */
.sidebar a {
  display: block;
  background-color: gold;
  color: blue;
  padding: 4px;
  text-decoration: underline;
}

/* active/current link */
.sidebar a.active {
  background-color: black;
  color: gold;
  text-decoration: none;
}

/* link on mouse-over */
.sidebar a:hover:not(.active) {
  background-color:blue;
  color:gold;
}

/* page content. "margin-left" px should = sidebar "width" */
div.content {
  margin-left: 160px;
  padding: 1px 16px;
  height: auto;
}

/* screens <700px: move sidebar to top */
@media screen and (max-width: 700px) {
  .sidebar {
    width: 100%;
    height: auto;
    position: relative;
  }
  .sidebar a {
    float: left;}
    div.content {margin-left: 0;}
  }

/* screens ≤400px display sidebar vertical/stacked */
@media screen and (max-width: 400px) {
  .sidebar a {
    text-align: center;
    float: none;
  }
}

/* change display for mobile */
@media only screen and (max-width: 620px) {
  .menu, .main, .right {
    width: 100%;
  }
}

.main {
  background-color: white;
  font-family: "Arial", sans-serif, "Helvetica";
  color: black;
  padding: 12px;
  margin-top: 0px;
  margin-left: 160px;
  margin-inline: 2px;
  text-align: left;
  width: 100%;
  height: auto;
}

.menu {
  float: left;
  width: 20%;
  text-align: left;
}

.menu a {
  background-color: gold;
  padding: 4px;
  margin-top: 4px;
  display: block;
  width: 80%;
  color: blue;
}

.right {
  background-color: black;
  float: left;
  width: 40%;
  padding: 0px;
  margin-top: 0px;
  text-align: left;
}

.footer {
  color: gray;
  font-size:8pt;
  text-align:center;
  width: 100%; 
}

.logo {
  text-align: center;
  width: 100%;
  object-position: center;
  overflow: auto;
}

.nav {
  background-color: black;
  width: 100%;
  text-align: center;
}

.nav a {
  background-color: gold;
  padding: 4px;
  margin-top: 4px;
  margin-inline: 2px;
  display: inline-table;
  width: auto;
  color: blue;
}

.nav a.active {
  background-color: black;
  color: gold;
  padding: 4px;
  margin-top: 4px;
  margin-inline: 2px;
  display: inline-table;
  width: auto;
  text-decoration: none;
}

.loader {
  --n: 10; /* number of frames. SOURCE: https://stackoverflow.com/questions/78001681/how-to-create-frames-animation-in-css-where-each-frame-is-a-different-html-eleme */ 
  font-size: 8px;
  height: 72px; /* #lines * font-size */ 
  width: 88px;
  padding: 0px;
  overflow: hidden; 
  box-sizing: border-box;
  animation-fill-mode: forwards;
  animation-timing-function:ease-out;
}
.loader span {
  display: block; /* or use div elements */ 
  animation: appear 2s 1 steps(var(--n));
}
@keyframes appear {
  100% {
    translate: 0 calc(-100%*var(--n)); 
  }
}