#mainWin {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: black;
  font-size: 16px;
  text-align: left;
  color: lightcoral;
}

#topBar {
  position: absolute;
  left: 0; top: 0; width: 100%;
  height: 3em;
  background-color: rgb(64,64,64);
}

#logWindow {
  position: absolute;
  left: 0; right: 0;
  top: 3em;
  bottom: 2em;
  overflow-y: scroll;
  color: rgb(212, 219, 255);
  font-family: "courier new";
}

.ep {
  color: rgb(160, 255, 160);
  
}

#logText {
  word-break: break-word;
}

#bottomBar {
  position: absolute;
  left: 0; bottom: 0; width: 100%;
  height: 2em;
  background-color: rgb(64,64,64);
}

#topBar .component {
  position: relative;
  display: inline-block;
  top: .5em;
  vertical-align: top;
  margin-left: .5em;
}

#topBar .label {
  font-size: 1.4em;
  user-select: none;
}

/* from https://www.w3schools.com/howto/tryit.asp?filename=tryhow_css_switch */

.switch {
  width: 4em;
  height: 2em;
}

.switch input { 
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  -webkit-transition: .4s;
  transition: .4s;
}

.slider:before {
  position: absolute;
  content: "";
  height: 80%;
  width: 45%;
  left: 5%;
  top: 10%;
  background-color: white;
  -webkit-transition: .4s;
  transition: .4s;
}

input:checked + .slider {
  background-color: #2196F3;
}

input:focus + .slider {
  box-shadow: 0 0 1px #2196F3;
}

input:checked + .slider:before {
  -webkit-transform: translateX(100%);
  -ms-transform: translateX(100%);
  transform: translateX(100%);
}

/* Rounded sliders */
.slider.round {
  border-radius: 34px;
}

.slider.round:before {
  border-radius: 50%;
}

