.terminal {
  margin-top: 40px;
  background-color: #111;
  padding: 20px;
  border-radius: 6px;
  width: 400px;
  margin-left: auto;
  margin-right: auto;
  color: #33ff33;
  font-family: 'Courier New', monospace;
  font-size: 1rem;
  box-shadow: 0 0 15px rgba(51, 255, 51, 0.2);
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInTerminal 1.2s ease-out forwards;
  animation-delay: 1s;
}

.terminal-output {
  // display: none;
  margin-top: 20px;
  background-color: #0d0d0d;
  padding: 20px;
  border-radius: 6px;
  width: 400px;
  margin-left: auto;
  margin-right: auto;
  color: #33ff33;
  font-family: 'Courier New', monospace;
  font-size: 1rem;
  box-shadow: 0 0 10px rgba(51, 255, 51, 0.15);
  height: 140px; /* фиксированная высота */
  overflow-y: auto;
  transform: translateY(20px);
  //animation: fadeInTerminal 1s ease-out forwards;
  //animation-delay: 2.5s;
  text-align: start;
  overflow-y: auto;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s ease, transform 0.5s ease;
}

@media (max-width: 768px) {
  .terminal,
  .terminal-output {
    width: 200px;
  }
}
  
@keyframes fadeInTerminal {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.prompt {
	text-align: start;
}

.prompt text {
  width: 10%;
}

.prompt input {
  background: transparent;
  border: none;
  color: #33ff33;
  font-family: inherit;
  font-size: inherit;
  flex: 1;
  outline: none;
  caret-color: #33ff33;
  width: 90%;
}


@media (max-width: 768px) {
  .prompt input {
    width: 80%;
  }
}

#terminalOutput {
  margin-top: 15px;
  max-height: 200px;
  overflow-y: auto;
}

#terminalOutput a {
  color: #00ffff;
  text-decoration: underline;
}

.output-line {
  margin-bottom: 10px;
}

.output-line .command {
  color: #888;
}

.output-line .success {
  color: #33ff33;
}

.output-line .error {
  color: #ff5555;
}

.output-line .info {
  color: #ffff00;
}
