@import 'https://fonts.googleapis.com/css2?family=IBM+Plex+Mono:wght@100&display=swap';

html {
  min-height: 100%;
}

body {
  box-sizing: border-box;
  height: 100%;
  background-color: #000000;
  background-image: radial-gradient(#11581E, #041607), url("https://media.giphy.com/media/oEI9uBYSzLpBK/giphy.gif");
  background-repeat: no-repeat;
  background-size: cover;
  font-family: "IBM Plex Mono", monospace;
  font-weight: 100;
  font-style: normal:
  font-size: 1rem;
  color: rgba(128, 255, 128, 0.8);
  text-shadow:
      0 0 1ex rgba(51, 255, 51, 1),
      0 0 2px rgba(255, 255, 255, 0.8);
}

.noise {
  pointer-events: none;
  position: absolute;
  width: 100%;
  height: 100%;
  background-image: url("https://media.giphy.com/media/oEI9uBYSzLpBK/giphy.gif");
  background-repeat: no-repeat;
  background-size: cover;
  z-index: -1;
  opacity: .02;
}

.overlay {
  pointer-events: none;
  position: absolute;
  width: 100%;
  height: 100%;
  background:
      repeating-linear-gradient(
      180deg,
      rgba(0, 0, 0, 0) 0,
      rgba(0, 0, 0, 0.3) 50%,
      rgba(0, 0, 0, 0) 100%);
  background-size: auto 4px;
  z-index: 1;
}

.overlay::before {
  content: "";
  pointer-events: none;
  position: absolute;
  display: block;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  background-image: linear-gradient(
      0deg,
      transparent 0%,
      rgba(32, 128, 32, 0.2) 2%,
      rgba(32, 128, 32, 0.8) 3%,
      rgba(32, 128, 32, 0.2) 3%,
      transparent 100%);
  background-repeat: no-repeat;
  animation: scan 7.5s linear 0s infinite;
}

@keyframes scan {
  0%        { background-position: 0 -100vh; }
  35%, 100% { background-position: 0 100vh; }
}

.terminal {
  box-sizing: inherit;
  position: absolute;
  height: 100%;
  width: 1000px;
  max-width: 100%;
  padding: 4rem;
  text-transform: uppercase;
}

.output {
  color: rgba(128, 255, 128, 0.8);
  text-shadow:
      0 0 1px rgba(51, 255, 51, 0.4),
      0 0 2px rgba(255, 255, 255, 0.8);
}

.output::before {
  content: "> ";
}

/*
.input {
  color: rgba(192, 255, 192, 0.8);
  text-shadow:
      0 0 1px rgba(51, 255, 51, 0.4),
      0 0 2px rgba(255, 255, 255, 0.8);
}

.input::before {
  content: "$ ";
}
*/

a {
  color: #fff;
  text-decoration: none;
}

a::before {
  content: "[";
}

a::after {
  content: "]";
}

.errorcode {
  color: white;
}

/*cube*/
@-webkit-keyframes cube-animation {
  0% {
    -webkit-transform: rotateX(10deg) rotateY(10deg);
  }

  25% {
    -webkit-transform: rotateX(100deg) rotateY(100deg);
  }

  50% {
    -webkit-transform: rotateX(190deg) rotateY(190deg);
  }

  75% {
    -webkit-transform: rotateX(280deg) rotateY(280deg);
  }
    
  100% {
    -webkit-transform: rotateX(370deg) rotateY(370deg);      
  }
}
.cube-l {
  width: 500px;
  height: 500px;
  position: absolute;
  left: 50%;
  top: 50%;
  margin-top:  -250px;
  margin-left: 5px;
  -webkit-transform-style: preserve-3d;
  -webkit-transform: rotateX(0deg) rotateY(-40deg);
  -webkit-animation: cube-animation 3s linear infinite running;
  -webkit-transform-origin: 250px 250px -250px;
}
.cube-l .facet-b {
  width: 500px;
  height: 500px;
  border: 2px solid rgba(128, 255, 128, 0.8);
  position: absolute;
  font-size: 100px;
  font-family: monospace;
  text-align: center;
  line-height: 500px;
  overflow: hidden;

}
.cube-l .facet-b.is-1 {
  -webkit-transform: rotate3d(0, 1, 0, 90deg) translate3d(250px, 0px, 250px);
}
.cube-l .facet-b.is-3 {
  -webkit-transform: rotate3d(0, 1, 0, -90deg) translate3d(-250px, 0px, 250px);
}
.cube-l .facet-b.is-4 {
  -webkit-transform: rotate3d(1, 0, 0, -90deg) translate3d(0px, 250px, 250px);
}
.cube-l .facet-b.is-5 {
  -webkit-transform: rotateY(180deg) translate3d(0px, 0px, 500px);
}
.box-b {
  width: 500px;
  height: 500px;
  background-color: #111;
  overflow: hidden;
  margin: 200px auto;
  -webkit-animation: box-animation 3s linear infinite running;
}
@-webkit-keyframes box-animation {
  0% {
    -webkit-transform: rotateY(60deg);
    -webkit-transform: rotateX(60deg);
  }

  25% {
    -webkit-transform: rotateY(0deg);
  }

  50% {
    -webkit-transform: rotateY(-60deg);
  }

  75% {
    -webkit-transform: rotateY(0deg);
  }

  100% {
    -webkit-transform: rotateY(60deg);
  }
}