.screen {
  position: absolute;
  overflow: hidden;
  width: 100%;
  height: 100%;
  background: #000000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  box-sizing: border-box;
}

.terminal_emulator {
  position: absolute;
  bottom: 0;
  width: 100%;
  min-height: 80vh;
  max-height: 90vh;
  padding: 40px;
  font-size: 16px;
  line-height: 1.5;
  box-sizing: border-box;
  text-align: left;
  font-family: monospace;
  font-weight: 700;
  color: #00fff2;
  text-shadow: 0 0 5px #00fff2, 0 0 10px #00fff2, 0 0 15px #00fff2;
  background: rgba(0, 0, 0, 0.8);
  border-radius: 10px;
  overflow-y: auto;
}

.terminal_emulator__field,
.terminal_emulator__command {
  position: relative;
  padding: 0 2em;
  margin: 0 0 10px 0;
}

.terminal_emulator__field:before, 
.terminal_emulator__field:after,
.terminal_emulator__command:before,
.terminal_emulator__command:after {
  position: absolute;
}

.terminal_emulator__field:before,
.terminal_emulator__command:before {
  left: 0;
  top: 0.5em;
  content: ">";
}

.terminal_emulator__response {
  padding-left: 12px;
}

.terminal_emulator__response,
.terminal_emulator__command b {
  padding-bottom: 9px;
}

.terminal_emulator__field {
  display: inline-block;
  min-width: 1em;
  min-height: 1.5em;
  box-sizing: border-box;
}

.terminal_emulator__field:after {
  right: 0;
  bottom: 0.25em;
  content: "";
  width: 1em;
  height: 1.5em;
  background: #99ff99;
  -webkit-animation: caretBlink 1s infinite;
          animation: caretBlink 1s infinite;
}

.terminal_emulator__field.waiting {
  padding-left: 0;
  padding-right: 0;
}

.terminal_emulator__field.waiting:before {
  display: none;
}

@-webkit-keyframes caretBlink {
  0% { opacity: 0; }
  50% { opacity: 0; }
  51% { opacity: 1; }
  100% { opacity: 1; }
}

@keyframes caretBlink {
  0% { opacity: 0; }
  50% { opacity: 0; }
  51% { opacity: 1; }
  100% { opacity: 1; }
}

@media (max-width: 768px) {
  .terminal_emulator {
    padding: 20px;
    font-size: 14px;
    min-height: 50vh;
    max-height: 70vh;
  }
}

@media (max-width: 480px) {
  .terminal_emulator {
    padding: 10px;
    font-size: 12px;
    min-height: 40vh;
    max-height: 60vh;
  }
}

@media (max-width: 360px) {
  .terminal_emulator {
    font-size: 10px;
    padding: 8px;
    min-height: 35vh;
    max-height: 50vh;
  }
}