@font-face {
  font-family: 'mechabold';
  src: url('mecha_bold-webfont.eot');
  src: url('mecha_bold-webfont.eot?#iefix') format('embedded-opentype'),
    url('mecha_bold-webfont.woff') format('woff'),
    url('mecha_bold-webfont.ttf') format('truetype'),
    url('mecha_bold-webfont.svg#mechabold') format('svg');
  font-weight: normal;
  font-style: normal;

}

body {
  margin: 0;

  font-family: monospace;

  background-color: #000;
  background-image: url("noise.svg");

  height: 100vh;

  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

::selection {
  color: #000000cc;
  background: #ffffffcc;
}

#clippy {
  position: absolute;
  right: 30px;
  bottom: 30px;

  display: none;

  opacity: 0.8;
  z-index: 1;
}

#clippy img {
  width: 100px;
}

header {
  font-family: "mechabold", "Courier New", monospace;
  color: #ffffffcc;
  text-shadow: 0 0 4px #ffffffcc;
  mix-blend-mode: difference;

  font-size: 200px;
  margin-bottom: 40px;
}

.wrapper {
  font-family: "mechabold", "Courier New", monospace;
  font-size: 50px;
  text-align: center;
  text-shadow: 0 0 4px #ffffffcc;

  color: #ffffffcc;

  border: 2px solid #ffffffcc;
  border-radius: 2px;

  animation: border-pulse infinite 10s linear;

  min-width: 800px;

  max-width: calc(100vw - 80px);

  z-index: 2;
  position: relative;
}

.header {
  display: flex;
  padding: 20px;
}

.header>div,
a>div {
  width: 50%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;

  text-align: start;
}

.directoryList {
  display: flex;
  flex-direction: column;
  align-items: start;

  border-top: 2px solid #ffffffcc;
  animation: border-pulse infinite 10s linear;
  padding: 20px;
}

.directoryList a {
  color: #ffffffcc;
  text-decoration: none;

  display: flex;
  width: 100%;
  margin-bottom: 10px;

  transition-property: all;
  transition-duration: 150ms;
}

.directoryList a:hover {
  /* text-decoration: underline; */
  text-shadow: 0 0 6px #ffffffcc;
}

.crt {
  height: 100%;
  width: 100%;
  position: absolute;
  top: 0;
  left: 0;


  /* scanlines */
  background: linear-gradient(to top, #000000cc, #000000cc, #333333cc, #333333cc);
  background-size: cover;
  background-size: 100% 5px;
}

@media screen {
  .crt {
    animation: scanlines infinite 10s linear;
  }
}

@keyframes scanlines {
  from {
    background-position: 0 0;
  }

  to {
    background-position: 0 -50px;
  }
}

@keyframes border-pulse {
  0% {
    box-shadow: 0 0 2px #ffffffcc;
  }

  50% {
    box-shadow: 0 0 10px #ffffffcc;
  }

  100% {
    box-shadow: 0 0 2px #ffffffcc;
  }
}


@media screen and (max-width: 900px) {
  header {
    font-size: 100px;
  }

  .wrapper {
    font-size: 30px;
    min-width: 100%;
  }

  .header {
    padding: 10px;
  }

  .lastModified {
    display: none;
  }

  .header>div,
  a>div {
    width: 100%;
  }

  .directoryList {
    padding: 10px;
  }

  .directoryList a {
    margin-bottom: 5px;
  }

  
#clippy img {
  width: 40px;
}
}