body {
  margin: 0;
  background-color: #000;
  color: #33ff33;
  font-family: monospace;
  padding: 1rem;
  height: 100vh;
  overflow: hidden;
}

#terminal {
  max-width: 100%;
  height: 100%;
  white-space: pre-wrap;
  overflow-y: auto;
}

.input-line {
  display: flex;
  flex-direction: row;
}

.prompt {
  margin-right: 5px;
}

input {
  background: none;
  border: none;
  color: #33ff33;
  font: inherit;
  outline: none;
  width: 100%;
  caret-color: transparent; /* ukrywa domyślny kursor */
  position: relative;
}

input::after {
  content: '';
  position: absolute;
  width: 1ch;
  height: 1.2em;
  background: #33ff33;
  animation: blink 1s step-start infinite;
  left: 0;
  top: 0;
}

@keyframes blink {
  50% {
    opacity: 0;
  }
}
