@font-face {
  font-family: 'space_monoregular';
  src: url("../fonts/spacemono-regular-webfont.woff2") format("woff2"), url("../fonts/spacemono-regular-webfont.woff") format("woff");
  font-weight: normal;
  font-style: normal;
}

html {
  font-family: 'space_monoregular', monospace;
  max-height: 100vh !important;
  max-width: 100vw !important;
  min-height: 100vh !important;
  min-width: 100vw !important;
  overflow: hidden;
}

body {
  background: #000;
  max-height: 100vh !important;
  max-width: 100vw !important;
  min-height: 100vh !important;
  min-width: 100vw !important;
}

header {
  padding-top: 50px;
  position: relative;
  z-index: 1000;
}

header .container {
  max-width: 550px;
  position: relative;
}

header #header-text-left,
header #header-text-right {
  font-size: 12px;
  position: absolute;
  top: 20px;
  -webkit-transform: translateY(-50%);
          transform: translateY(-50%);
}

@media only screen and (max-width: 499px) {
  header #header-text-left,
  header #header-text-right {
    top: -15px;
  }
}

header #header-text-left {
  left: 15px;
}

header #header-text-right {
  right: 15px;
}

header #menu {
  max-width: 100%;
  /*text-align: center;*/
  width: 100%;
}

header #menu > div {
  display: inline-block;
  margin: 0 auto;
  max-width: 100%;
  position: relative;
}

header #menu > div > span {
  background: transparent url("../img/arrow.png") center left no-repeat;
  color: #fff;
  cursor: pointer;
  display: inline-block;
  font-size: 32px;
  line-height: 1em;
  margin-bottom: 25px;
  max-width: 100%;
  /*padding-left: 40px;*/
}

@media only screen and (max-width: 499px) {
  header #menu > div > span {
    font-size: 26px;
  }
}

header #menu > div > nav {
  background-color: #fff;
  display: none;
  max-width: 800px;
  padding: 25px 0 25px 25px;
  position: absolute;
  text-align: left;
  -webkit-transition: opacity 0.3s;
  transition: opacity 0.3s;
  width: 800px;
  z-index: 1500;
}

header #menu > div > nav:before {
  border-bottom: 12px solid #fff;
  border-left: 12px solid transparent;
  border-right: 12px solid transparent;
  content: '';
  display: block;
  height: 0;
  left: 0%;
  position: absolute;
  top: 0;
  -webkit-transform: translate(100%, -100%);
          transform: translate(100%, -100%);
  width: 0;
}

header #menu > div > nav.active {
  display: block;
}

header #menu > div > nav button {
  background: none;
  background-color: transparent;
  border: none;
  color: #000;
  cursor: pointer;
  font-family: 'space_monoregular', monospace;
  font-size: 24px;
  position: absolute;
  right: 5px;
  top: 5px;
}

@media only screen and (min-width: 992px) {
  header #menu > div > nav button {
    display: none;
  }
}

header #menu > div > nav .nav-inner {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  max-height: 70vh;
  max-width: 100%;
  overflow-y: auto;
}

@media screen and (max-width: 991px) {
  header #menu > div > nav .nav-inner {
    display: block;
  }
}

header #menu > div > nav ul {
  -webkit-box-flex: 1;
      -ms-flex: 1;
          flex: 1;
}

header #menu > div > nav ul li {
  display: block;
  max-width: 100%;
  padding-right: 25px;
  text-align: left;
}

header #menu > div > nav ul li.md-down {
  display: none;
}

@media screen and (max-width: 991px) {
  header #menu > div > nav ul li.md-up {
    display: none;
  }
  header #menu > div > nav ul li.md-down {
    display: block;
  }
}

header #menu > div > nav ul li a {
  color: #000;
  display: block;
  max-width: 100%;
  padding: 8px 5px;
}

header #menu > div > nav ul li a:hover, header #menu > div > nav ul li a:active, header #menu > div > nav ul li a:focus {
  background-color: #000;
  color: #fff;
}

header #menu > div:active > nav, header #menu > div:focus > nav, header #menu > div:hover > nav {
  display: block;
}

header #header-logo {
  width: 200px;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: 1;
  margin-left: 10px;
  padding-bottom: 12px;
}

header #shop {
  position: absolute;
  right: 15px;
  padding-bottom: 25px;
  top: 50%;
  transform: translateY(-50%);
}

header #shop a {
  color: #fff;
  cursor: pointer;
  display: inline-block;
  font-size: 32px;
  line-height: 1em;
  font-family: 'space_monoregular', monospace;
}

main {
  bottom: 0;
  height: 100%;
  left: 0;
  position: absolute;
  right: 0;
  top: 0;
  width: 100%;
  z-index: 2;
}

main #logo {
  left: 50%;
  max-height: 35vh;
  max-width: 800px;
  padding: 0 15px;
  position: absolute;
  top: 50%;
  -webkit-transform: translate(-50%, -50%);
          transform: translate(-50%, -50%);
  /* width: 100%; */
  object-fit: cover;
}

@media only screen and (max-height: 699px) and (max-width: 500px) {
  main #logo {
    max-height: 30vh;
    /* -webkit-transform: translate(-50%, -160%);
            transform: translate(-50%, -160%); */
            object-fit: cover;          }
}

footer {
  background-color: transparent;
  bottom: 0;
  left: 50%;
  max-width: 100%;
  position: absolute;
  -webkit-transform: translateX(-50%);
          transform: translateX(-50%);
  width: 1077px;
  z-index: 999;
}

footer .social {
  display: inline-block;
  vertical-align: bottom;
  width: calc(50% - 5px);
}

@media only screen and (max-width: 991px) {
  footer .social {
    margin-bottom: 30px;
    text-align: center;
    width: 100%;
  }
}

footer .social li {
  display: inline-block;
}

footer .social li a {
  color: #fff;
  font-size: 24px;
  padding: 5px 10px;
  opacity: 1;
}

@media only screen and (max-width: 399px) {
  footer .social li a {
    font-size: 22px;
    padding: 5px;
  }
}

footer .social li a:active, footer .social li a:focus, footer .social li a:hover {
  color: #fff;
  opacity: 0.8;
}

footer .newsletter {
  display: inline-block;
  vertical-align: bottom;
  width: calc(50% - 5px);
}

@media only screen and (max-width: 991px) {
  footer .newsletter {
    text-align: center;
    width: 100%;
  }
}

footer .newsletter label {
  display: block;
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 5px;
}

@media only screen and (max-width: 991px) {
  footer .newsletter label {
    font-size: 18px;
  }
}

footer .newsletter input[type="email"] {
  background: none;
  background-color: transparent;
  border: none;
  border-bottom: 3px solid #fff;
  display: inline-block;
  font-family: 'space_monoregular', monospace;
  line-height: 1em;
  max-width: 100%;
  padding: 7px 0;
  vertical-align: bottom;
  width: 345px;
  color: #fff;
}

footer .newsletter input[type="email"]::-webkit-input-placeholder {
  color: #fff;
}

footer .newsletter input[type="email"]::-moz-placeholder {
  color: #fff;
}

footer .newsletter input[type="email"]:-ms-input-placeholder {
  color: #fff;
}

footer .newsletter input[type="email"]:-moz-placeholder {
  color: #fff;
}

@media only screen and (max-width: 1199px) {
  footer .newsletter input[type="email"] {
    margin-bottom: 15px;
    width: 100%;
  }
}

@media only screen and (max-width: 991px) {
  footer .newsletter input[type="email"] {
    margin-bottom: 0;
    width: 345px;
  }
}

@media only screen and (max-width: 549px) {
  footer .newsletter input[type="email"] {
    margin-bottom: 15px;
    width: 100%;
  }
}

footer .newsletter button {
  background: none;
  background-color: #fff;
  border: 3px solid #fff;
  color: #000;
  cursor: pointer;
  display: inline-block;
  font-family: 'space_monoregular', monospace;
  line-height: 1em;
  padding: 5px 7px;
  text-align: center;
  vertical-align: bottom;
  width: 110px;
}

footer .newsletter button:active, footer .newsletter button:focus, footer .newsletter button:hover {
  background-color: #000;
  color: #fff;
}

@media only screen and (max-width: 1199px) {
  footer .newsletter button {
    width: 100%;
  }
}

@media only screen and (max-width: 991px) {
  footer .newsletter button {
    width: 130px;
  }
}

@media only screen and (max-width: 549px) {
  footer .newsletter button {
    width: 100%;
  }
}

footer p {
  color: #fff;
  font-size: 8px;
  letter-spacing: 0.2em;
  margin-top: 50px;
  text-align: center;
  text-indent: 0.1em;
}

@media only screen and (max-width: 991px) {
  footer p {
    margin-top: 30px;
  }
}

footer p a {
  color: #fff;
}

footer p a:active, footer p a:focus, footer p a:hover {
  color: #fff;
  text-decoration: underline;
}

#text-wrap, #text, #matrix, canvas {
  bottom: 0;
  height: 100vw !important;
  left: 0;
  max-height: 100vh !important;
  max-width: 100vw !important;
  min-height: 100vh !important;
  min-width: 100vw !important;
  overflow: hidden !important;
  position: absolute;
  right: 0;
  top: 0;
  width: 100vw !important;
}

#text-wrap {
  z-index: 3;
}

#matrix {
  z-index: 1;
}

@media only screen and (max-width: 991px) {
  #text-wrap, #text {
    display: none !important;
  }
}

.lightbox {
  margin: 20px auto;
  max-width: 900px;
  position: relative;
  width: auto;
  z-index: 99999;
}

.lightbox img {
  display: block;
  max-width: 100%;
}

.lightbox .mfp-close {
  color: #fff;
}

@media screen and (max-width: 991px) {
  main #logo {
    /* width: 95%!important; */
    height: auto;
  }
}

header {
  /* margin-left: -20px; */
}

@media screen and (max-width: 767px) {
  header {
    margin-left: 0;
  }

  header #header-logo {
    display: none;
  }

  header #shop {
    text-align: center;
    position: static;
    margin-top: 15px;
  }

  header #shop a {
    font-size: 20px;
  }

  header #menu {
    text-align: center;
  }

  header #menu > div > nav {
    width: 90vw;
    transform: translateX(-25vw);
  }

  header #menu > div > nav:before {
    left: 50%;
    transform: translate(-50%, -100%);
  }
}

#logo:hover,
#logo:focus {
  cursor: pointer;
}

#header-logo:hover,
#header-logo:focus {
  cursor: pointer;
}
