/*boiler*/

/*! HTML5 Boilerplate v8.0.0 | MIT License | https://html5boilerplate.com/ */

/* main.css 3.0.0 | MIT License | https://github.com/h5bp/main.css#readme */
/*
 * What follows is the result of much research on cross-browser styling.
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 */

/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */

/*colors*/


.color--red {
  --primary: #ff0000;
  --contrast: rgba(255,0,0,0.85);
  --primary-0: rgba(255,102,102,0);
  --primary-1: rgba(255,102,102,0.1);
  --primary-2: rgba(255,102,102,0.3);
  --background: rgba(5,5,5,1);
  --selection: #ff9999;
  --muted-0: #111;
  --muted-1: #222;
  --muted-2: #333;
  --green: #00ff00;

}

.color--burgundy-intro {
  --primary: #660000;
  --primary-0: rgba(102,0,0,0);
  --primary-1: rgba(102,0,0,0.12);
  --background: #ff0000;
  --selection: #ff9999;
}

.color--green {
  --primary: #00ff00;
  --primary-0: rgba(102,255,102,0);
  --primary-1: rgba(102,255,102,0.2);
  --background: #000;
  --selection: #99ff99;
}

.color--blue {
  --primary: #0000ff;
  --primary-0: rgba(102,102,255,0);
  --primary-1: rgba(102,102,255,0.2);
  --background: #000;
  --selection: #9999ff;
}

.color--white {
  --primary: #fff;
  --primary-0: rgba(153,153,153,0);
  --primary-1: rgba(153,153,153,0.2);
  --background: #000;
  --selection: #ff9999;
}

.color--lilac {
  --primary: #6600ff;
  --primary-0: rgba(102,0,255,0);
  --primary-1: rgba(102,0,255,0.2);
  --background: #000;
  --selection: #9999ff;
}

.color--purple {
  --primary: #660099;
  --primary-0: rgba(102,0,153,0);
  --primary-1: rgba(102,0,153,0.2);
  --background: #000;
  --selection: #9933ff;
}

.color--pink {
  --primary: #ff00cc;
  --primary-0: rgba(255,0,204,0);
  --primary-1: rgba(255,0,204,0.2);
  --background: #000;
  --selection: #ff66cc;
}

.color--dark-grey {
  --primary: #333;
  --primary-0: rgba(51,51,51,0);
  --primary-1: rgba(51,51,51,0.2);
  --background: #000;
  --selection: #ccc;
}

html {
  color: var(--primary);
  background: var(--background);
}

/*
 * Remove text-shadow in selection highlight:
 * https://twitter.com/miketaylr/status/12228805301
 *
 * Customize the background color to match your design.
 */

::-moz-selection {
  background: var(--selection);
  text-shadow: none;
}

::selection {
  background: var(--selection);
  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
   ========================================================================== */

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

/*
 * Hide visually and from screen readers
 */

.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
 */

.visually-hidden {
  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 .visually-hidden class to allow the element
 * to be focusable when navigated to via the keyboard:
 * https://www.drupal.org/node/897638
 */

.visually-hidden.focusable:active,
.visually-hidden.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
 *
 * 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: underline;
  }

  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;
  }

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

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

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

/* nm */

@font-face {
  font-family: nwmd-xyz-wide;
  src: url('fonts/nwmd-xyz-wide.woff2') format('woff');
}


body {
    background: var(--background);
    color: var(--primary);
    font-family: Arial, sans-serif;
	font-size: 10px;
	line-height: 13px;
	text-transform: uppercase;
	text-align: left;
	padding: 0;
	margin: 0;
}

.logos span {
  font-size: 4px;
  margin: 0px 8px 0px 8px;
  display: inline-block;
}

/*img.lazy {
  filter: blur(10px);
  transition: filter 0.3s;
}

img:not(.lazy) {
  filter: blur(0);
}*/

.grid {
  display: flex;
  flex-wrap: wrap;
  overflow: hidden;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: nmtds;
}
.grid__item {
  flex: 0 0 155px;
  box-sizing: border-box;
  position: relative;
  z-index: 1;
  padding: 0;
  counter-increment: nmtds;
}

/*.grid__item:hover {
  flex: 0 0 290px;
}*/

.grid__item.wildcard {
  flex: 0 0 290px;
}

.grid__item.top {
  margin-top: 27px;
}

.grid__item.tiny {
  flex: 0 0 110px;
}

.grid__item.huge {
  flex: 0 0 290px;
}

.grid__item.link {
  flex: 0 0 135px;
  margin: 0 10px;
  text-align: left;
}

.grid__item.breath {
  padding: 20px;
  /*border: 1px solid var(--primary);*/
}

.grid__item.copy {
  flex: 0 0 290px;
  padding: 10px 0 0 0;
}

grid__item::before {
  content: counter(nmtds);
  position: absolute;
  top: 50%;
  right: 0;
  left: 0;
  z-index: 1;
  margin-top: -8px;
  text-align: center;
}

.wrapper {
  width: 100%;
  margin: 0 0 5px 0;
}

.wrapper--inner {
  margin: 10px;
  height: auto;
}

.wrapper--inner.nav {
  margin: 10px 0 10px 0;
  height: auto;
}

.wrapper--inner.nine {
  margin: 9px;
  height: auto;
}

.wrapper--inner p {
  margin: 0 0 10px 0;
  padding: 0;
}

.wrapper--inner img {
  width: 100%;
  /*image-rendering: crisp-edges;*/
}

.copy img {
  width: 32px;
  height: 32px;
  margin: 0 0 10px 0;
}

.head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: sticky;
  top: 0px;
  height: 40px;
  background: black;
  border-bottom: 1px solid var(--muted);
  z-index: 1000;
}

.inner {
  width: 125px;
  margin: 10px;
}

.clip {
  position: fixed !important;
  _position: absolute !important;
  clip: rect(1px 1px 1px 1px);
  /* IE6, IE7 */
  clip: rect(1px, 1px, 1px, 1px);
}

.nm-logo-color {
  fill: var(--muted-1);
  display: inline-block;
  align-items: center;
  width: 31px;
  height: 7px;
  padding: 0 0 1px 0;
}

.nm-logo-color.nav {
  fill: var(--primary);
}

.nm-logo-muted {
  fill: var(--muted-0);
  display: inline-block;
  width: 130px;
  height: 14px;
}

.browser {
  box-sizing: content-box;
  border-radius: 5px;
  border: 1px solid var(--muted-1);
  color: var(--muted-1);
  background: var(--background);
  /*width: 135px;
  /*padding: 1px 1px 1px 1px;*/
}

.caption {
  color: var(--muted-1);
  margin: 10px 5px;
}

.caption a {
  color: var(--muted-1);
}

.grid__item.screenshot img {
  border-radius: 5px;
  border: 1px solid var(--primary);
}

.screenshot:hover {
  padding: 15px 20px 25px 20px;
  filter: drop-shadow(0 5px 5px var(--primary));
}

.blur {
  filter: blur(10px);
}

.blur:hover {
  filter: none;
}

.browser--inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 10px;
  line-height: 10px;
  padding: 8px;
  border-bottom: 1px solid var(--muted-1);
}

.browser img {
  border-bottom-left-radius: 5px;
  border-bottom-right-radius: 5px;
}

.ascii {
  text-align: left;
  font-family: courier new, monospace;
  font-size: 3px;
  line-height: 3px;
}

.ascii.red {
  color: var(--muted-0);
  background: var(--primary);

}

.ascii.green {
  color: var(--primary);
  background: var(--green);
}

.ascii:hover{
  font-family: arial, sans-serif;
}

.nm-wrap {
	width: 100%;
	display: flex;
	padding: 0;
	margin: 0;
	justify-content: center;
}

.nm-wrap-col {
	flex: 0 1 auto;
	width: 100%;
	padding: 0;
	margin: 0;
}

.nm-grid {
  display: flex;
  padding: 0;
  margin: 0 10px 100px 0;
}

.nm-grid.wrap {
	-webkit-flex-wrap: wrap;
	flex-wrap: wrap;
}

.nm-grid  {
  width: 270px;
  height: auto;
  /*image-rendering: crisp-edges;*/
}

.nm-grid.header {
	position: -webkit-sticky;
	position: sticky;
	bottom: 10px;
	z-index: 10;
	margin: 10px;
}

.nm-col {
  flex: 0 1 auto;
  min-width: 125px;
  max-width: 100%;
  padding: 0;
  margin: 0px 0px 0px 0px;
}

a {
    text-transform: uppercase;
    text-decoration: none;
    color: var(--primary);
    }

a:hover {
    text-decoration: underline;
}

/*ascii col*/
.nm-col-mono {
	flex: 0 1 auto;
	display: flex;
	align-items: left;
	justify-content: left;
	font-family: courier new, monospace;
	font-size: 6px;
	line-height: 6px;
	margin: 0 0 100px 5px;
}

.nm-col-mono-item {
	background: #0f0;
}

.title {
	width: 100%;
	margin: 10px 0 0 0;
	text-align: right;
}

.nm-col.c10 {
  width: 10%;
}

.nm-col.c20 {
  width: 20%;
}

.nm-col.c20m20 {
  width: 20%;
  margin-left: 20%;
}

.nm-col.c100 {
  width: 100%;
}

/* media */

@media screen and (min-width:380px) {
  .nm-col {
    max-width: 270px;
  }
  .inner {
    width: 270px;
  }
  .wrapper {
    max-width: 2160px;
  }
  .grid__item {
    width: 125px;
  }
  .grid__item.wildcard {
    width: 270px;
  }
  .grid__item.copy {
    width: 270px;
  }
  .grid__item.link {
    width: 135px;
  }
}

@media screen and (min-width:620px) {
  .grid__item.huge {
    flex: 0 0 580px;
  }
  .wrapper {
    margin: 0 0 135px 0;
  }
  .grid__item.link {
    text-align: right;
  }
}

/*@media screen and (min-width:800px) {
	.nm-col {
    max-width: 45%;
  }
  .wrapper {
    width: 75%;
  }
  .grid__item {
    flex: 0 0 25%;
  }
  .grid__item.link {
    flex: 0 0 25%;
  }
}

@media screen and (min-width:900px) {
  .nm-col {
    max-width: 27%;
  }
  .wrapper {
    width: 90%;
  }
  .grid__item {
    flex: 0 0 15%;
  }
  .grid__item.wildcard {
    flex: 0 0 30%;
  }
  .grid__item.copy {
    flex: 0 0 30%;
  }
  .grid__item.link {
    flex: 0 0 15%;
  }
}

@media screen and (min-width:1600px) {
  .nm-col {
    max-width: 16%;
  }
  .wrapper {
    width: 80%;
  }
  .grid__item {
    flex: 0 0 10%;
  }
  .grid__item.wildcard {
    flex: 0 0 20%;
  }
  .grid__item.copy {
    flex: 0 0 20%;
  }
  .grid__item.link {
    flex: 0 0 10%;
  }
}*/

/* slideshow */

.nav-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
}

.nav-bar .grid {
  overflow: visible;
}

.nav-bar .grid__item.link {
  color: var(--muted-1);
}

.nav-bar .grid__item.link a {
  color: var(--muted-1);
}

.nav-bar .nm-logo-color {
  fill: var(--muted-1);
}

.slideshow-stage {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
  overflow: hidden;
}

#slideshowImg {
  display: block;
  border-radius: 3px;
  -webkit-user-select: none;
  user-select: none;
  -webkit-user-drag: none;
  pointer-events: none;
}

.slideshow-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  pointer-events: none;
}

.logo-container {
  width: 360px;
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: auto;
}

.logo-content {
  width: 290px;
}

.logo-content .nm-logo-color {
  fill: var(--primary);
  width: 290px;
  height: 71px;
  display: block;
}

.logo-content .title {
  text-align: right;
  margin: 3px 0 0 0;
}

.footer-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 20;
}

.footer-bar .grid {
  overflow: visible;
}

.footer-bar .grid__item.link {
  color: var(--muted-1);
}

.footer-bar .grid__item.link a {
  color: var(--muted-1);
  cursor: pointer;
}
