:root {
  --bg: #070260;
  --color: #9b2ed2;
}

@keyframes blink {
  0.01% {
    opacity: 0;
  }

  50% {
    opacity: 0;
  }

  50.01% {
    opacity: 1;
  }
}

@keyframes scanline {
  0.01% {
    height: 0;
  }

  99.99% {
    height: 100%;
  }

  100% {
    height: 0;
  }
}


*,
*::before,
*::after {
  box-sizing: border-box;
}

/* Remove default margin */
* {
  margin: 0;
  padding: 0;
  font: inherit;
}

/* Remove list styles on ul, ol elements with a list role, which suggests default styling will be removed */
ul[role='list'],
ol[role='list'] {
  list-style: none;
}

html {
  font-family: SFMono-Regular, Consolas, Liberation Mono, Menlo, Courier, monospace;
  text-shadow: 0 0 5px rgba(255, 255, 255, 0.3);
  background-color: var(--bg);
  background-size: 100px;
  color: var(--color);
  height: 100%;
  font-size: 1.5rem;
}

body {
  margin: 0;
  padding: 16px;
  filter: url(style.css);
  overflow: hidden;
}

#screen {
  position: relative;
  background: transparent;
  margin: auto;
  width: 97%;
  overflow: hidden;
}

p,
pre {
  font-family: SFMono-Regular, Consolas, Liberation Mono, Menlo, Courier, monospace;
  font-size: inherit;
  line-height: 1;
  margin: 0;
  display: block;
  padding: 26px 12px;
}

.blink {
  opacity: 1;
  animation: blink 1s linear infinite;
}

.scanline {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.02);
  animation: scanline 8s linear infinite;
  pointer-events: none;
}

.contract {
  font-family: monospace;
  word-break: break-all;
}

/* A elements that don't have a class get default styles */
a:not([class]) {
  text-decoration-skip-ink: auto;
}

/* Make images easier to work with */
img,
picture {
  max-width: 100%;
  display: block;
}

/* Inherit fonts for inputs and buttons */
input,
button,
textarea,
select {
  font: inherit;
}

::-webkit-scrollbar {
  width: 20px;
}

::-webkit-scrollbar-track {

  background-color: transparent;
  background-position: -5px;
  background-repeat: repeat-y;
  background-size: 50px;
}

::-webkit-scrollbar-thumb {
  background-color: var(--color);
  background-position: center center;
  background-repeat: no-repeat;
  background-size: 35px;
}

/* Remove all animations, transitions and smooth scroll for people that prefer not to see them */
@media (prefers-reduced-motion: reduce) {
  html:focus-within {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

@media screen and (max-width: 900px) {

  html {
    font-size: 1rem;
  }

  body {
    margin: 0;
    padding: 14px 4px;
  }

  #screen {
    width: 100%;
  }

  ::-webkit-scrollbar {
    width: 10px;
  }

  ::-webkit-scrollbar-track {
    background-color: transparent;
    background-position: -5px;
    background-repeat: repeat-y;
    background-size: 50px;
  }

  ::-webkit-scrollbar-thumb {
    background-color: var(--color);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: 35px;
  }

}