@import '../colors';

:root {
  --console-width: 520px;
}

.HomeTerminal {
  width: var(--console-width);
  min-width: var(--console-width);
  height: 350px;
  border: 1px solid #333;
  border-radius: 5px;
  border-radius: 5px;
  background: #fff;
  display: flex;
  flex-direction: column;
  color: #000;
  transition: opacity 150ms ease-in;
  box-shadow: 70px 70px 100px 10px rgba(0, 0, 0, 0.1);
}

.HomeTerminal-header {
  width: var(--console-width);
  height: 36px;
  position: absolute;
}

.HomeTerminal-header-close {
  position: absolute;
  display: inline-block;
  top: 50%;
  left: 13px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: #ff5f56;
}

.HomeTerminal-header-minimize {
  position: absolute;
  display: inline-block;
  top: 50%;
  left: 33px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: #ffbd2e;
}

.HomeTerminal-header-full {
  position: absolute;
  display: inline-block;
  top: 50%;
  left: 53px;
  height: 12px;
  border-radius: 50%;
  width: 12px;
  background-color: #27c93f;
}

.HomeTerminal-header-title {
  position: absolute;
  width: var(--console-width);
  height: 36px;
  padding: 4px;
  top: 6px;
  min-height: 36px;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  color: #999;
  font-size: 13px;
  font-weight: 400;
  font-family: -apple-system,BlinkMacSystemFont,"Segoe UI", "Roboto","Oxygen","Ubuntu","Cantarell","Fira Sans", "Droid Sans","Helvetica Neue",sans-serif;
  text-align: center;
}

.HomeTerminal-body {
  padding-top: 43px;
  font-size: 12px;
  font-family: Menlo,Monaco,Lucida Console,Liberation Mono, DejaVu Sans Mono,Bitstream Vera Sans Mono,Courier New, monospace,serif;
  line-height: 24px;
  margin: 0 16px;
  width: 100%;
  height: 100%;
}

.HomeTerminal-body span {
  width: 100%;
  height: 100%;
  white-space: pre;
}

.typed-cursor {
  opacity: 1;
  animation: typedjsBlink 0.7s infinite;
  -webkit-animation: typedjsBlink 0.7s infinite;
  animation: typedjsBlink 0.7s infinite;
}

@keyframes typedjsBlink {
  50% {
    opacity: 0.0;
  }
}

@-webkit-keyframes typedjsBlink {
  0% {
    opacity: 1;
  }

  50% {
    opacity: 0.0;
  }

  100% {
    opacity: 1;
  }
}

.typed-fade-out {
  opacity: 0;
  transition: opacity .25s;
  -webkit-animation: 0;
  animation: 0;
}