@import url("https://fonts.googleapis.com/css2?family=Space+Mono:ital,wght@0,300;0,400;0,500;1,300;1,400;1,500&display=swap");

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

@keyframes icon-blink {
  from {
    background-color: #fff;
    color: #300a24;
  }
  to {
    background-color: #300a24;
    color: #fff;
  }
}

@font-face {
  font-family: "Necto Mono";
  src: url("../fonts/NectoMono-Regular.otf");
}

body {
  font-family: "Necto Mono", monospace;
  background-color: #300a24;
  color: #fff;
  font-size: 16px;
  line-height: 1.3;
}

.terminal__small,
.terminal__small .console-input,
.terminal__small #font-size {
  font-size: 16px;
}

.terminal__medium,
.terminal__medium .console-input,
.terminal__medium #font-size {
  font-size: 18px;
}

.terminal__large,
.terminal__large .console-input,
.terminal__large #font-size {
  font-size: 20px;
}

mark,
.text-yellow {
  font-weight: 700;

  background-color: transparent;
  color: #fbbf24 !important;
}

.text-blue {
  color: #44a6ac;
}

.text-green {
  color: #8ae234;
}

.text-white {
  color: #fff;
}

strong {
  letter-spacing: -0.32px;
  font-weight: 800;
}

/* #container {
  white-space: pre;
} */

#input {
  margin: 0;
  align-items: center;
}

.machine-console {
  color: #8ae234;
  outline: none;
}

.machine-console::after {
  color: #fff;
  width: 3px;
}

.console-input {
  background-color: #300a24;
  color: #fff;
  outline: none;
  border: none;
  margin: 0;
  padding: 0;
  line-height: 1.1;
  flex: 1;
  font-family: "Space Mono";
}

.console-input:focus {
  border: none;
  outline: none;
}

#external-options {
  position: fixed;
  display: inline;
  right: 8px;
  bottom: 8px;
  opacity: 0;
  transition: opacity 0.5s ease;
}

#external-options:hover {
  opacity: 1;
}

.external-option-icon {
  cursor: pointer;
  background-color: #300a24;
  border: 1px solid #fff;
  padding: 5px;
  margin: 8px;
  width: 25px;
  height: 25px;
  font-weight: bold;
  font-size: 16px;

  display: flex;
  align-items: center;
  justify-content: center;
}

.external-option-icon a,
.external-option-icon a:hover,
.external-option-icon a:visited {
  color: #fff;
  text-decoration: none;
}

a,
a:hover,
a:visited {
  color: #fff;
}

#shortcut {
  position: fixed;
  top: 8px;
  right: 8px;
  padding: 5px;
  border-radius: 5px;
  background-color: #333333;
}

#shortcut kbd {
  font-family: "Space Mono";
}

input {
  font-size: 16px;
}
