/* global reset */
* {
  box-sizing: border-box;
}

/* base */
body {
  background: black;
  color: #c0c0c0;
  font-family: "Courier New", monospace;
  margin: 0;
  position: relative;
}

/* CRT scanlines */
body::after {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: repeating-linear-gradient(
    0deg,
    rgba(120,0,0,0.08),
    rgba(120,0,0,0.08) 1px,
    transparent 1px,
    transparent 3px
  );
  pointer-events: none;
  z-index: 9999;
}

/* main wrapper */
.wrapper {
  width: 760px;
  margin: auto;
  border: 2px solid #660000;
  background: black;
  box-shadow: 0 0 25px rgba(120,0,0,0.6);
}

/* header */
.header {
  text-align: center;
  padding: 20px;
  border-bottom: 2px dashed #660000;
}

.header h1 {
  color: #990000;
  font-size: 28px;
  text-shadow: 0 0 12px #990000;
  letter-spacing: 2px;
}

/* marquee */
marquee {
  color: #660000;
  font-size: 14px;
  margin-bottom: 10px;
}

/* layout */
.content {
  display: table;
  width: 100%;
}

.sidebar {
  display: table-cell;
  width: 180px;
  vertical-align: top;
  border-right: 2px dashed #660000;
  padding: 10px;
}

.main {
  display: table-cell;
  padding: 15px;
}

/* boxes */
.box {
  border: 1px solid #330000;
  margin-bottom: 15px;
  padding: 10px;
  background: #050000;
  box-shadow: 0 0 10px rgba(80,0,0,0.6);
}

/* buttons */
.btn {
  display: block;
  margin: 8px 0;
  padding: 5px;
  text-align: center;
  border: 1px solid #660000;
  color: #990000;
  text-decoration: none;
  font-size: 12px;
}

.btn:hover {
  background: #990000;
  color: black;
  box-shadow: 0 0 10px #990000;
}

/* blinking text */
.blink {
  animation: blink 1s infinite;
}

@keyframes blink {
  50% { opacity: 0; }
}

/* visitor counter */
.counter {
  text-align: center;
  font-size: 12px;
  margin-top: 10px;
  color: #990000;
}

/* back button */
.back {
      display: inline-block;
      margin-top: 20px;
      padding: 5px 10px;
      border: 1px solid #660000;
      color: #990000;
      text-decoration: none;
      font-size: 12px;
    }

/* footer */
footer {
  text-align: center;
  font-size: 11px;
  padding: 10px;
  border-top: 2px dashed #660000;
  color: #444;
}
.hyperlink {
  color: #c0c0c0;        /* soft white */
  font-style: italic;    /* italic instead of blue underline */
  text-decoration: none; /* remove underline */
}
.hyperlink:visited {
  color: #c0c0c0;   /* same as normal link */
}
.hyperlink:hover {
  color: #990000;        /* red on hover */
  text-shadow: 0 0 5px #990000;

}
.hyperlink:active {
  color: #660000;
}
#bootScreen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: black;
  color: #990000;
  font-family: "Courier New", monospace;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 99999;
}

#bootText {
  white-space: pre-wrap;
  text-align: left;
  max-width: 600px;
}

.boot-options {
  margin-top: 20px;
}

.boot-options button {
  background: black;
  color: #990000;
  border: 1px solid #660000;
  margin: 5px;
  padding: 5px 12px;
  cursor: pointer;
  font-family: "Courier New", monospace;
}

.boot-options button:hover {
  background: #990000;
  color: black;
}
#musicToggle {
  position: fixed;
  bottom: 10px;
  left: 10px;
  background: black;
  color: red;
  border: 1px solid red;
  font-family:monospace;
  font-size: 12px;
  padding: 4px 10px;
  cursor: pointer;
}

#musicToggle:hover {
  background: red;
  color: black;
}