* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background-color: #000a04;
  background-image: url(bg.png);
  height: 100vh;
  font-family: monospace;
  font-size: 1rem;
  color: #e5e5e5;
}

#terminal {
  display: flex;
  flex-direction: column;
  max-height: 100%;
  padding: 24px;
}

#output {
  flex: 1;
  white-space: pre-wrap;
  overflow-y: auto;
  padding-bottom: 8px;
  /* Firefox */
  scrollbar-width: none;

  /* IE / Edge Legacy */
  -ms-overflow-style: none;
}

/* Chrome, Safari, Edge (Chromium) */
#output::-webkit-scrollbar {
  display: none;
}

#input-line {
  display: flex;
  align-items: center;
}

#input-line.hidden {
  visibility: hidden;
}

.prompt {
  margin-right: 8px;
}

#commandInput {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  color: inherit;
  font-family: inherit;
  font-size: 1rem;
}

.ascii {
  color: red;
}

/* Tablet */
@media (max-width: 1024px) {
  body {
    font-size: 1rem;
  }

  #terminal {
    padding: 20px;
  }

  .prompt {
    margin-right: 6px;
  }

  .ascii {
    font-size: 0.75rem;
  }
}

/* Phone */
@media (max-width: 600px) {
  body {
    font-size: 1rem;
  }

  #terminal {
    padding: 16px;
  }

  #commandInput {
    font-size: 1rem;
  }

  .prompt {
    margin-right: 4px;
  }

  .ascii {
    font-size: 0.3rem;
  }
}
