/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */
@font-face {
  font-family: 'Ropa Sans';
  font-style: normal;
  font-weight: 400;
  src: url(https://fonts.gstatic.com/s/ropasans/v10/EYqxmaNOzLlWtsZSScy6XTNs.ttf) format('truetype');
}
@font-face {
  font-family: 'Inconsolata';
  font-style: normal;
  font-weight: 400;
  font-stretch: normal;
  src: url(https://fonts.gstatic.com/s/inconsolata/v21/QldgNThLqRwH-OJ1UHjlKENVzkWGVkL3GZQmAwLYxYWI2qfdm7Lpp4U8WR32kg.ttf) format('truetype');
}
@font-face {
  font-family: 'Commit Mono';
  src:url(/fonts/CommitMono-400-Regular.otf)
}
@font-face {
  font-family: 'Commit Mono Thin';
  src:url(/fonts/CommitMono-200-Regular.otf)
}
/*@import url('https://fonts.googleapis.com/css2?family=Ubuntu+Mono&display=swap');*/

a {
  box-shadow: inset 0 0 0 0 white;
  display: inline-block;
  transition: all .1s ease-in-out;
  box-sizing: border-box;
  color: inherit !important;
}

a:hover {
  border: none;
  box-shadow: inset 0 -25px 0 0 white;
  color: #000 !important;
  text-decoration: none !important;
}

a:focus, a:active {
  text-decoration: none !important;
  /*color: inherit !important;*/
}

html {
  transition: 0.3s ease-out;
  font-family: 'Inconsolata', monospace;
  color: white; 
}

@media only screen and (max-width: 960px) {
  h1 {
    font-size: 5.66666667vw;
  }
}
@media only screen and (max-width: 564.70588235px) {
  h1 {
    font-size: 2rem;
  }
  h1 .card {
    padding: 0.5rem 1rem;
  }
  h1 #ls_icon {
    padding: 0.5rem 0.5rem;
  }
}
h2 {
  font-size: 2rem;
  letter-spacing: 0.475em;
  text-align: center;
}
@media only screen and (max-width: 960px) {
  h2 {
    font-size: 3.33333333vw;
  }
}
@media only screen and (max-width: 720px) {
  h2 {
    font-size: 1.5rem;
  }
  h2 .card {
    padding: 0.5rem 1rem;
  }
  h2 #ls_icon {
    padding: 0.5rem 0.5rem;
  }
}

/*
 * Remove text-shadow in selection highlight:
 * https://twitter.com/miketaylr/status/12228805301
 *
 * Vendor-prefixed and regular ::selection selectors cannot be combined:
 * https://stackoverflow.com/a/16982510/7133471
 *
 * Customize the background color to match your design.
 */

::-moz-selection {
  background: #b3d4fc;
  text-shadow: none;
}

::selection {
  background: #b3d4fc;
  text-shadow: none;
}

/*
 * A better looking default horizontal rule
 */

hr {
  display: block;
  height: 1px;
  border: 0;
  border-top: 1px solid #ccc;
  margin: 1em 0;
  padding: 0;
}

/*
 * Remove the gap between audio, canvas, iframes,
 * images, videos and the bottom of their containers:
 * https://github.com/h5bp/html5-boilerplate/issues/440
 */

audio,
canvas,
iframe,
img,
svg,
video {
  vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

fieldset {
  border: 0;
  margin: 0;
  padding: 0;
}

/*
 * Allow only vertical resizing of textareas.
 */

textarea {
  resize: vertical;
}

/* ==========================================================================
   Author's custom styles
   ========================================================================== */
.vignette {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  box-shadow: 0 0 70px rgba(0,0,0,0.69) inset;
  background: rgba(0,0,0,0.8);
}

#ls_icon {
  height: 1.6em;
}

h1 { 
  .ResponsiveText(960,3.4,2); 
} 
h2 { 
  .ResponsiveText(960,2,2); 
  letter-spacing: 0.475em;
  text-align: center;
}

body { 
  /*letter-spacing: 0.01em;*/
  padding: 40px; 
  /*background: #262933; */
  background: #111;
  /*background: #000000;*/
  color: white; 
  font-family: 'Inconsolata', monospace;
}
p { 
/*  font-family: 'Ubuntu Mono', monospace;
  line-height: 1.4; 
  opacity: 0.8;
  font-size: 1.05rem;*/

  font-family: 'Commit Mono', monospace;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: "ss01", "ss03", "ss04", "ss05";

  opacity: 0.8;
  font-size: 0.975rem;
  line-height: 1.5;
}
p:hover {
  opacity: 0.85;
  transition: all .05s ease-in;
}

#quote_refresh {
  text-decoration: underline;
  cursor: pointer;
}

#sub_link {
  text-decoration: underline;
  cursor: pointer;
}

.card {
  border-color: #fff;
  border-style: solid;
  border-width: 2px;
  border-radius: 0px;
  color: white;
  padding: 1.5rem 1rem;
  opacity: 0.53;
  font-weight: 200;
  letter-spacing: 0.475em;
  text-transform: uppercase;
  transition: 0.25s;
  cursor: pointer;
  font-weight: bold;
}
.card_icons {
  position: relative;
  right: 1em;
  float: right;
  height: 1em;
  display: none;
}

.cards a {
  text-decoration: none !important;
  box-shadow: none !important;
}
.cards {
  margin: 2em auto;
  display: grid;
  grid-gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}
@media only screen and (max-width: 960px) {
  .cards {
    font-size: 1.66666667vw;
  }
}
@media only screen and (max-width: 816px) {
  .cards {
    font-size: 0.85rem;
  }
  .cards .card {
    padding: 0.5rem 1rem;
  }
  .cards #ls_icon {
    padding: 0.5rem 0.5rem;
  }
}
.card:hover, .card:focus {
  border-color: var(--hover);
  color: #000;
  opacity: 0.71;
}

.slide:hover,
.slide:focus {
  box-shadow: inset 20em 0 0 0 var(--hover);
}

.slide {
  /*--color: #8fc866;*/
  /*--hover: #66c887;*/
  --color: #000;
  --hover: #fff;
}

.links {
  opacity: 0.3;
}
.main { 
  max-width: 960px; 
  margin: auto; 
  /*background-color:rgba(0, 0, 0, 0.9);*/
  padding: 20px 67px;
  border-radius: 7px;
  /*margin-top: 21vh;*/
  
  position: absolute;
  top: 48%;
  left: 50%;
  -ms-transform: translateX(-50%) translateY(-50%);
  -webkit-transform: translate(-50%,-50%);
  transform: translate(-50%,-50%);
}
/*.main:hover {
  background-color: rgba(0, 0, 0, 0.9);
  transition: all .1s ease-in;
}*/

@media only screen and (max-width: 960px) {
  .main {
    font-size: 1.66666667vw;
  }
}
@media only screen and (max-width: 816px) {
  .main {
    font-size: 0.85rem;
  }
  .main .card {
    padding: 0.5rem 1rem;
  }
  .main #ls_icon {
    padding: 0.5rem 0.5rem;
  }
}

code { border: 1px solid black; padding: 20px; display: block; background: white; color: black; }

#dot-matrix {
    background: url(http://s14.directupload.net/images/111129/44ga9qid.png);
    height: 100%;
    width: 100%;
    position: absolute;
    left: 0%;
    top: 0;
    z-index: -998
}

.tv {
  position: absolute;
  top: 0;
  left: 0;
  z-index: -999;

  width: 100%;
  height: 100%;

  overflow: hidden;
  
  /*filter: invert(1) blur(9px) brightness(0.9) contrast(1.2);*/
  filter: invert(0) blur(9px) brightness(1) contrast(1.2);
}

.tv .screen {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: -999;

  margin: auto;
}


.box {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
}
.box .glitch {
  color: #fff;
  position: relative;
  width: 13em;
}
.box .glitch:before, .box .glitch:after {
  /*content: "HARVEST MOON!";*/
  content: "NNARROWMAZE";
  color: #fff;
  position: absolute;
  top: 0;
  overflow: hidden;
}
.box .glitch:before {
  left: 20px;
  /*left: 3px;*/
  text-shadow: -2px 0 red;
  animation: glitch-before 2s linear 0s infinite alternate;
}
.box .glitch:after {
  left: 20px;
  /*left: 6px;*/
  text-shadow: -3px 0 blue;
  animation: glitch-after 1.5s linear 0s infinite alternate;
}

@keyframes glitch-before {
  0% {
    clip: rect(82px, 350px, 10px, 30px);
  }
  5% {
    clip: rect(108px, 350px, 10px, 30px);
  }
  10% {
    clip: rect(97px, 350px, 118px, 30px);
  }
  15% {
    clip: rect(58px, 350px, 38px, 30px);
  }
  20% {
    clip: rect(46px, 350px, 85px, 30px);
  }
  25% {
    clip: rect(84px, 350px, 103px, 30px);
  }
  30% {
    clip: rect(92px, 350px, 148px, 30px);
  }
  35% {
    clip: rect(23px, 350px, 54px, 30px);
  }
  40% {
    clip: rect(37px, 350px, 13px, 30px);
  }
  45% {
    clip: rect(67px, 350px, 15px, 30px);
  }
  50% {
    clip: rect(137px, 350px, 121px, 30px);
  }
  55% {
    clip: rect(86px, 350px, 122px, 30px);
  }
  60% {
    clip: rect(116px, 350px, 131px, 30px);
  }
  65% {
    clip: rect(15px, 350px, 64px, 30px);
  }
  70% {
    clip: rect(84px, 350px, 96px, 30px);
  }
  75% {
    clip: rect(135px, 350px, 4px, 30px);
  }
  80% {
    clip: rect(139px, 350px, 96px, 30px);
  }
  85% {
    clip: rect(4px, 350px, 7px, 30px);
  }
  90% {
    clip: rect(101px, 350px, 27px, 30px);
  }
  95% {
    clip: rect(35px, 350px, 62px, 30px);
  }
  100% {
    clip: rect(89px, 350px, 64px, 30px);
  }
}
@keyframes glitch-after {
  0% {
    clip: rect(141px, 350px, 35px, 30px);
  }
  5% {
    clip: rect(29px, 350px, 58px, 30px);
  }
  10% {
    clip: rect(6px, 350px, 114px, 30px);
  }
  15% {
    clip: rect(56px, 350px, 131px, 30px);
  }
  20% {
    clip: rect(123px, 350px, 62px, 30px);
  }
  25% {
    clip: rect(110px, 350px, 24px, 30px);
  }
  30% {
    clip: rect(4px, 350px, 50px, 30px);
  }
  35% {
    clip: rect(17px, 350px, 27px, 30px);
  }
  40% {
    clip: rect(88px, 350px, 94px, 30px);
  }
  45% {
    clip: rect(139px, 350px, 120px, 30px);
  }
  50% {
    clip: rect(31px, 350px, 31px, 30px);
  }
  55% {
    clip: rect(73px, 350px, 137px, 30px);
  }
  60% {
    clip: rect(104px, 350px, 86px, 30px);
  }
  65% {
    clip: rect(91px, 350px, 98px, 30px);
  }
  70% {
    clip: rect(129px, 350px, 99px, 30px);
  }
  75% {
    clip: rect(34px, 350px, 50px, 30px);
  }
  80% {
    clip: rect(101px, 350px, 129px, 30px);
  }
  85% {
    clip: rect(43px, 350px, 88px, 30px);
  }
  90% {
    clip: rect(44px, 350px, 32px, 30px);
  }
  95% {
    clip: rect(54px, 350px, 34px, 30px);
  }
  100% {
    clip: rect(147px, 350px, 77px, 30px);
  }
}


/* REGULAR SCANLINES SETTINGS */
/* MOVING SCANLINE SETTINGS */
/* MIXINS */
/* CSS .scanlines CLASS */
.scanlines {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
    opacity: 0.85;
}
.scanlines:before, .scanlines:after {
  display: block;
  pointer-events: none;
  content: "";
  position: absolute;
}
.scanlines:before {
  width: 100%;
  height: 2px;
  z-index: 1;
  background: rgba(0, 0, 0, 0.3);
  opacity: 0.8;
  -webkit-animation: scanline 4s linear infinite;
          animation: scanline 4s linear infinite;
}
.scanlines:after {
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 1;
  background: linear-gradient(to bottom, transparent 50%, rgba(0, 0, 0, 0.28) 51%);
  background-size: 100% 4px;
  -webkit-animation: scanlines 2s steps(60) infinite;
          animation: scanlines 2s steps(60) infinite;
}

/* ANIMATE UNIQUE SCANLINE */
@-webkit-keyframes scanline {
  0% {
    transform: translate3d(0, 200000%, 0);
  }
}
@keyframes scanline {
  0% {
    transform: translate3d(0, 200000%, 0);
  }
}
@-webkit-keyframes scanlines {
  0% {
    background-position: 0 50%;
  }
}
@keyframes scanlines {
  0% {
    background-position: 0 50%;
  }
}

/* ==========================================================================
   Helper classes
   ========================================================================== */

/*
 * Hide visually and from screen readers
 */
 .bold_span {
  font-weight: bold;
 }

.hidden,
[hidden] {
  display: none !important;
}

/*
 * Hide only visually, but have it available for screen readers:
 * https://snook.ca/archives/html_and_css/hiding-content-for-accessibility
 *
 * 1. For long content, line feeds are not interpreted as spaces and small width
 *    causes content to wrap 1 word per line:
 *    https://medium.com/@jessebeach/beware-smushed-off-screen-accessible-text-5952a4c2cbfe
 */

.sr-only {
  border: 0;
  clip: rect(0, 0, 0, 0);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  white-space: nowrap;
  width: 1px;
  /* 1 */
}

/*
 * Extends the .sr-only class to allow the element
 * to be focusable when navigated to via the keyboard:
 * https://www.drupal.org/node/897638
 */

.sr-only.focusable:active,
.sr-only.focusable:focus {
  clip: auto;
  height: auto;
  margin: 0;
  overflow: visible;
  position: static;
  white-space: inherit;
  width: auto;
}

/*
 * Hide visually and from screen readers, but maintain layout
 */

.invisible {
  visibility: hidden;
}

/*
 * Clearfix: contain floats
 *
 * For modern browsers
 * 1. The space content is one way to avoid an Opera bug when the
 *    `contenteditable` attribute is included anywhere else in the document.
 *    Otherwise it causes space to appear at the top and bottom of elements
 *    that receive the `clearfix` class.
 * 2. The use of `table` rather than `block` is only necessary if using
 *    `:before` to contain the top-margins of child elements.
 */

.clearfix::before,
.clearfix::after {
  content: " ";
  display: table;
}

.clearfix::after {
  clear: both;
}

/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   These examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */

@media only screen and (min-width: 35em) {
  /* Style adjustments for viewports that meet the condition */
}

@media print,
  (-webkit-min-device-pixel-ratio: 1.25),
  (min-resolution: 1.25dppx),
  (min-resolution: 120dpi) {
  /* Style adjustments for high resolution devices */
}

/* ==========================================================================
   Print styles.
   Inlined to avoid the additional HTTP request:
   https://www.phpied.com/delay-loading-your-print-css/
   ========================================================================== */

@media print {
  *,
  *::before,
  *::after {
    background: #fff !important;
    color: #000 !important;
    /* Black prints faster */
    box-shadow: none !important;
    text-shadow: none !important;
  }

  a,
  a:visited {
    text-decoration: none;
    color: #fff;
  }

  a[href]::after {
    content: " (" attr(href) ")";
  }

  abbr[title]::after {
    content: " (" attr(title) ")";
  }

  /*
   * Don't show links that are fragment identifiers,
   * or use the `javascript:` pseudo protocol
   */
  a[href^="#"]::after,
  a[href^="javascript:"]::after {
    content: "";
  }

  pre {
    white-space: pre-wrap !important;
  }

  pre,
  blockquote {
    border: 1px solid #999;
    page-break-inside: avoid;
  }

  /*
   * Printing Tables:
   * https://web.archive.org/web/20180815150934/http://css-discuss.incutio.com/wiki/Printing_Tables
   */
  thead {
    display: table-header-group;
  }

  tr,
  img {
    page-break-inside: avoid;
  }

  p,
  h2,
  h3 {
    orphans: 3;
    widows: 3;
  }

  h2,
  h3 {
    page-break-after: avoid;
  }
}

