@font-face {
  font-family: 'Rubik Mono One';
  font-style: normal;
  font-weight: 400;
  src: local('Rubik Mono One Regular'), local('RubikMonoOne-Regular'), url('./cost.woff2') format('woff2');
}
html, body {
  display: flex;
}
html {
  align-items: center;
  min-height: 100%;
  font-size: 4.68vw;
  font-family: 'Rubik Mono One', sans-serif;
  text-shadow: 0 0 0.05em #000;
  line-height: 1em;
  text-rendering: optimizeLegibility;
  background-color: #1a1a1a;
  background-image: url("cost.png");
}
body {
  margin: 0;
}
div:nth-child(1) {
  white-space: pre;
  color: #666;
  text-align: right;
}
div:nth-child(1) span {
  color: #fd0;
}
div:nth-child(2) {
  white-space: pre;
  color: #fff;
}
.cursor {
  height: 0.71em;
  width: 0.79em;
  margin-left: 0.05em;
  border-radius: 0.03em;
  background-color: #666;
  display: inline-block;
  will-change: transform;
  box-shadow: 0 0 0.1em #666, inset 0 0 0.2em #aaa;
}
.blink {
  animation-duration: 1s;
  animation-delay: 0.5s;
  animation-name: blink;
  animation-iteration-count: infinite;
}
@keyframes blink {
  0% {
    opacity: 1;
  }
  90% {
    opacity: 0;
  }
}

.glitch {
  position: relative;
}

.glitch:before, .glitch:after {
  content: attr(data-text);
  position: absolute;
  background-color: #1a1a1a;
  overflow: hidden;
  will-change: transform;
  clip-path: polygon(0% 0%);
}

.glitch:before {
  animation: glitch-before 30.3331s infinite linear alternate-reverse;
}

.glitch:after {
  left: -0.1em;
  padding-left: 0.1em;
  padding-right: 0.1em;
  animation: glitch-after 20s infinite linear alternate-reverse;
}