@font-face {
  font-family: "LCD5x8H";
  font-style: normal;
  font-weight: 400;
  src: url("../fonts/LCD5x8H/LCD5x8HRU.woff") format("woff");
  font-display: swap;
}

html, body {
  display: flex;
  width: 100%;
  height: 100%;
  align-items: center;
  justify-content: center;
  margin: 0;

  font-family: 'LCD5x8H', monospace;

  background: #111111;
  background: radial-gradient(ellipse at bottom, #0f161e 0%, #090a0f 100%);

  overflow: hidden;
  z-index: 0;
}

.window {
  display: flex;
  width: 100%;
  height: 60vh;
  max-width: 1250px;
  max-height: 860px;
  align-items: center;
  justify-content: center;

  padding: 0px 20px;

  font-size: 12px;
  font-weight: 500;

  background-color: rgba(16 18 27 / 40%);
  background-image: url('../img/overlay.png');

  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);

  border-radius: 14px;
  box-shadow: 0px 1px 2px rgba(255, 255, 255, 0.3),
              0px 2px 4px rgba(255, 255, 255, 0.3),
              0px 4px 8px rgba(255, 255, 255, 0.3),
              0px 8px 16px rgba(255, 255, 255, 0.3);

  overflow: hidden;
  z-index: 10;
}

.type-wrap {
  width: 100%;
  height: 100%;

  font-size: 2em;
  white-space: pre-line;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.6);

  filter: drop-shadow(0 0 2px #e4d808);
}

.type-green {
  color: rgba(0,255,0,0.6);
  z-index: 10;
}

@keyframes terminal-glitch {
  0%   {transform: scale(1, 1.5); }
  50%   {transform: scale(1, 1.2); }
  100% {transform: scale(1.2, 1); }
}

.terminal-glitch {
  width: 100%;
  height: 100%;
  box-shadow : inset 0px 0px 1px 1px rgba(64, 64, 64, .1);
  background: radial-gradient(ellipse at center, #003082 0%, black 100%);
  transform-origin : 50% 50%;
  transform: scale(1.03);
  animation: terminal-glitch .1s linear infinite;
  opacity: .4;
  position: fixed;
  z-index: -1;
}

.space {
  position: absolute;
  left: 0;
  top: 0;
}

.star0 {
  height: 1px;
  width: 1px;
  opacity: 1;
  position: absolute;
  background-color: #ffffff;
}

.star1 {
  height: 2px;
  width: 2px;
  border-radius: 50%;
  opacity: 1;
  position: absolute;
  background-color: #ffffff;
}

.star2 {
  height: 3px;
  width: 3px;
  border-radius: 50%;
  opacity: 1;
  position: absolute;
  background-color: #ffffff;
}

.star3 {
  height: 4px;
  width: 4px;
  border-radius: 50%;
  opacity: 1;
  position: absolute;
  background-color: #ffffff;
}
