body {
  background-color: #404040 !important;
}

body.client {
  background-color: #404040;
}

span#connect_status {
  padding: 5px;
  margin-right: 8px;
  margin-top: 24px;
}

span#reconnect {
  padding: 4px;
  margin-top: 24px;
  margin-right: 8px;
  margin-left: 0px;
}

span#disconnect {
  padding: 4px;
  margin-top: 24px;
  margin-right: 8px;
  margin-left: 0px;
}

h3#mud_name {
  color: white;
  background-color: #2c2c2c;
  border: 0px;
  margin-top: 10px;
  margin-bottom: 0px;
  padding-left: 12px;
  padding-bottom: 8px;
  padding-top: 8px;
  border-top-left-radius: 0.4rem;
  border-top-right-radius: 0.4rem;
}

div#main_viewport {
  position: absolute;
  top: 0px;
  bottom: 125px;
  right: 5%;
  left: 5%;
}

div#client_viewport {
  display: flex;
  overflow-y: scroll;
  padding: 10px;
  width: 100%;
  height: 100%;

  background: #222;
  font-family: monaco, monospace;
  font-size: 85%;

  -ms-overflow-style: none; /* Hide scrollbar in IE and Edge */
  scrollbar-width: none; /* Hide scrollbar in Firefox */
}

/* Hide the scrollbar in Chrome, Safari and Opera */
div#client_viewport::-webkit-scrollbar {
  display: none;
}

div#content_box {
  height: 100%;
  width: 100%;
  display: flex;
  flex-direction: column;
  min-height: min-content;
  overflow: scroll;
  min-height: 0;
  user-select: none;

  -ms-overflow-style: none; /* Hide scrollbar in IE and Edge */
  scrollbar-width: none; /* Hide scrollbar in Firefox */
}

/* Hide the scrollbar in Chrome, Safari and Opera */
div#content_box::-webkit-scrollbar {
  display: none;
}

div.viewport_text {
  color: white;
  white-space: pre;
}

input#command {
  width: 87%;
  border-top-left-radius: 0px;
  border-top-right-radius: 0px;
  border-bottom-right-radius: 0px;
}

button#client_submit {
  width: 13%;
  height: 38px;
  margin-right: 0px;
  border-top-left-radius: 0px;
  border-top-right-radius: 0px;
  border-bottom-left-radius: 0px;
}

textarea.response_text {
  font-size: 85%;
  font-family: monaco, Consolas, Lucida Console, monospace;
}

div.response_label {
  font-weight: lighter;
}

svg.arrow {
  fill: white;
  width: 1em;
  height: 1em;
}

/* This apparently lets us have blinking stuff */
@keyframes animate {
  5% {
    opacity: 1;
  }
  70% {
    opacity: 1;
  }
  75% {
    opacity: 0;
  }
  95% {
    opacity: 0;
  }
}
