body {
  overflow-x: hidden;
  background: black;
  color: #c0c0df;

  width: auto;

  font-family: "Titillium Web", Helvetica, sans-serif;
  font-size: 21px;
  line-height: 1.3;

  margin: 0;  
}

/* ================ Top banner ================= */

div.banner-container {
  width: 100%;
  overflow: hidden;
}
div.top-banner {
  line-height: 0;
  position: relative;
  width: 100%;
  max-width: 1710px;
  min-width: 960px;
  margin: 0 auto;
  padding: 0;
  background: black;
  box-sizing: border-box;
}
@media (max-width: 961px) {
  div.top-banner {
    margin-left: calc(-480px + 50%);
  }
}

video.banner-video {
  width: 100%;
  height: auto;
  margin: 0;
  user-select: none;
}

img.greeble {
  display: block;
  padding: 0;
  margin: 0;
  position: absolute;
  top: 0;
  height: 100%;
  width: auto;
  user-select: none;
}

img.greeble-r { right: 0 }
img.greeble-l { left: 0; transform: scaleX(-1); }

/* ===================== Navigation ================================== */

.nav {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  font-family: "Exo 2";
  font-weight: 300;
  text-transform: uppercase;
  font-size: 14px;
  display: flex;
  justify-content: center;
  height: 43px;
}
.nav-content {
  background: url(/media/nav-mid.png) top left repeat-x;
  padding: 10px 20px;
  box-sizing: border-box;
  height: 100%;
  width: auto;
  flex-shrink: 0;
}
.nav-left, .nav-right {
  width: 181px;
  flex-shrink: 1;
}
.nav-left { background: url(/media/nav-left.png) top right no-repeat; }
.nav-right { background: url(/media/nav-right.png) top left no-repeat; }
.nav-content > a, .nav-content > a:visited, .nav-content > a:active {
  color: #bbd;
  text-decoration: none;
  margin-right: 10px;
  margin-left: 10px;
  transition: all 0.3s ease-out;
}
.nav-content > a:hover {
  color: #fff;
  text-shadow: 0 0 5px #fff;
}

/* ===================== Articles and devlog ========================= */

div#content.article {
  text-align: left;
  background: #081018;
  background: linear-gradient(to bottom, black 0%, black calc(0% + 3em), #081018 calc(0% + 15em), #081018 100%);  
  padding-bottom: 1.5em;
  margin-bottom: 2em;
  color: #c0c2c6;
  line-height: 140%;
}

div#content.article p {
  text-indent: 0.75em;  
  margin-top: 0.35em;
}

div#content.article strong {
  color: #f0f5ff;
}

div#content.article a {
  color: #ffcc88;
}

div#content.article a:hover {
  color:#ff7700;
  text-shadow: 0 1px #a40;
}

/* ==================== Headings =================================== */

div#content.article h1, div#content.article h2 {
  font-family: "Exo 2";
  font-weight: 300;
  text-transform: uppercase;
  display: block;
  color: #ffface;
  text-shadow: 0 0 5px rgba(255,250,220, 1);
  padding: 0.4em 1em 0.6em;
  margin-bottom: 0.5em;
  background: transparent;

  --aug-tl: 7px;
  --aug-br: 7px;
  --aug-tr: 7px;
  --aug-border: 2px;
  --aug-border-bg: linear-gradient(to bottom, #678, #678 65%, transparent 97%, transparent);
  --aug-border-fallback-color: #d8aea4;
  --aug-inset: 2px;
  --aug-inset-bg: url(/media/heading-background.png);
}

div#content.article h1 {
  font-size: 1.15em;
  margin: 3em -2.2em 1.25em;
  padding: 0.5em 1.65em 0.85em;
}

div#content.article h2 {
  font-size: 1em;
  margin: 2.5em -2.2em 1em;
  padding: 0.3em 1.6em 0.5em;
  --aug-border: 1px;
}

div#content.article h1::before {
   background: linear-gradient(to bottom, 
   rgba(35,45,62),
   rgba(35,45,62) 50%,
   #081018);
}

div#content.article h2::before {
  background: linear-gradient(to bottom, 
    rgba(200,220,240, 0.1),
    rgba(200,220,240, 0.1) 50%,
      transparent);
}

div#content.article h3, div#content.article h4 {
  font-weight: 700;
  color: #ffface;
  font-size: 1em;
  margin-top: 1.5em;
  margin-bottom: 0.25em;
}

/* ==================== Article header ============================ */

div#content.article section.article-header {
  font-family: "Exo 2";
  font-weight: 300;
  text-transform: uppercase;
  line-height: 100%;
  color: #ffface;

  border-bottom: 1px solid #234;
  border-top: 1px solid #234;

  margin: 5vw -1em 1em;
  padding: 0.8em 1em 0.8em 1em;
  text-align: center;
  background: linear-gradient(to bottom, rgb(14,14,24), black 15%, black 85%, rgb(14,14,24));
  font-size: 1.8em;
  text-shadow: 0 0 10px rgba(255, 233, 200, 1);
}

div.article-data {
  color: #778;
  margin-top: 0.5em;
  font-size: 0.35em;
  text-shadow: none;
}

/* ==================== Article lists ============================ */

ul.article-list {
  text-align: center;
  display: block;
  padding-left: 0;
}

ul.article-list > li {
  display: block;
  margin: 0;
  padding-left: 0;
  margin-bottom: 0.5em;  
}

a.article-link { 
  text-decoration: none;
}

div.article-link-meta {
  font-family: "Exo 2";
  font-weight: 300;
  text-transform: uppercase;
  color: #778;
  font-size: 0.7em;
  text-shadow: none;
}


/* ===================== Extra content =============================== */

div.extra-content {
  color: #666a7f;
  padding-bottom: 5em;
}

/* ===================== Logo ==================== */

img#title {
  margin-top: -100px;  
  max-width: 75vw;
  user-select: none;
}
@media (max-width: 1166px) {
  img#title {
    margin-top: -9vw;
  }
}

body.article img#title {
  width: 500px;
  margin-top: -50px;
}

/* ===================== Rest (unstructured) ========================= */

#main {
  background: black;

  position: relative;

  max-width: 880px;
  margin: 0 auto;
  text-align: center;
  padding: 0;
}

@media (min-width: 1000px) {
  #main {
    padding: 0 30px;
  }
}

#footer {
 background: black;
}

#content {
  padding: 0 2em;
  margin-top: -1em;
}

.social-icons {
  position: absolute;
  top: 0;
  right: 0;
  padding: 1em;
}

form {
  padding: 1em 1em;
  font-size: 100%;
  line-height: 120%;
  text-align: center;
}

div.blurb {
  margin: 0.9em 0;
  padding: 0.8em 1em;
  background-color: #101524;
  background-image: url(img/scanline.png);
  background-repeat: repeat;
  border-radius: 0.5em;
}

div.no-blurb {
  padding: 0.8em 3em;
}

p {
  margin: 0.5em 0;
}

p.plain {
  background: none;
  box-shadow: none;
}

p > b {
  color: #f0faff;
}

a, a:visited {
  color: #ffaa00;
  text-shadow: 0 1px #630;
  transition: 0.2s all ease-in-out;
  text-decoration: underline;
}
a:hover {
  color: #ffdd88;
  text-shadow: 0 1px #f60;
}

a.social {
  font-size: 150%;
  color: #aaf;
  text-decoration: none;
  margin: 0 0.2em;
}
a.social:hover {
  color: white;
}

.success {
  color: #afa;
}

i.inline-icon {
  margin-right: 0.5em;
}

.spinner {
  display: inline-block;
  text-align: center;
  margin-right: 0.5em;
}

.spinner > div {
  width: 8px;
  height: 8px;
  background-color: white;

  border-radius: 100%;
  display: inline-block;
  -webkit-animation: sk-bouncedelay 1.4s infinite ease-in-out both;
  animation: sk-bouncedelay 1.4s infinite ease-in-out both;
}

.spinner .bounce1 {
  -webkit-animation-delay: -0.32s;
  animation-delay: -0.32s;
}

.spinner .bounce2 {
  -webkit-animation-delay: -0.16s;
  animation-delay: -0.16s;
}

@-webkit-keyframes sk-bouncedelay {
  0%, 80%, 100% { -webkit-transform: scale(0) }
  40% { -webkit-transform: scale(1.0) }
}

@keyframes sk-bouncedelay {
  0%, 80%, 100% {
    -webkit-transform: scale(0);
    transform: scale(0);
  } 40% {
    -webkit-transform: scale(1.0);
    transform: scale(1.0);
  }
}

::placeholder {
  color: #556;
  font-weight: normal;
}

ul.errors {
  color: #f77;
  list-style: none;
  padding: 0; margin: 0;
}

ul.errors.li {
  margin-left: 0;
  padding-left: 0;
}

/* ===================== Figures ================================== */

figure {
  display: block;
  margin: auto;
  padding: 2.75em 0 2em;
  margin: 0em -2em;
  background: linear-gradient(to bottom, #081018, black 15%, black 85%, #081018);
  text-align: center;
}

figure > video, figure > img, figure > iframe {
  width: 750px;
  height: auto;
  border: 1px solid rgb(48,52,56);
  box-shadow: 0 0 10px rgb(48,52,56,0.5);
}

.aspect-square {
  max-width: 90vw !important;
  max-height: 90vw !important;
}
.aspect-159 {
  max-width: 90vw !important;
  max-height: 54vw !important;
}
.aspect-169 {
  max-width: 90vw !important;
  max-height: 50.625vw !important;
}
.aspect-43 {
  max-width: 90vw !important;
  max-height: 67.5vw !important;
}
.aspect-32 {
  max-width: 90vw !important;
  max-height: 60vw !important;
}

figcaption {
  color: #777;
  font-size: 75%;
  margin: auto;
  margin-top: 0.3em;
  max-width: 80%;
}

/* ===================== Images ====================================== */

.imggroup {
  max-width: 95%;
  padding: 0 1.5em;
  display: flex;
  justify-content: center;
}

.imggroup > a {
  display: block;
  margin: 5px;
  flex-shrink: 1;
  overflow: hidden;
}

/* ===================== Narrow version ============================== */

@media (max-width: 850px) {
  #content {
    padding: 0.8em 0.65em;
    font-size: 0.9em;
    overflow: hidden;
  }
  div#content.article h1 {
    padding-left: 2.65em;
  }
  div#content.article h2 {
    padding-left: 2.65em;
  }
  .imggroup {
    padding: 0 2.5em;
  }
  div.blurb { padding: 0.5em 1em; margin: 0.5em; }
  div.no-blurb { padding: 0.8em 1.5em; }
  .social-icons {
    position: relative; top: 0; left: 0;
    text-align: center;
  }
}

/* =============================== New structure ============================= */

body {
  background: black;
}

img.top-logo {
  display: block;
  margin: 20px auto 5px auto;
  width: auto;
  height: 25vh;
  mix-blend-mode: screen;
}

div.movable-bg {
  display: block;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: -100;
}

img.page-bg {
  position: absolute;
  top: -180px; left: calc(-10%);
  width: 120%;
  min-width: 1280px;
  height: auto;
  opacity: 0.01;
  z-index: -99;  
  transition: 0.4s all;
}

img.page-bg.loaded {
  opacity: 0.25;
}

div.starfield {
  position: absolute;
  top: -100px; left: -110px;
  width: calc(100% + 220px);
  height: 300%;
  opacity: 0.28;
  background: repeat url('../media/starfield.png');
  background-size: 25%;
}

div.starfield-b {
  background-size: 30%;
  opacity: 0.32;
}

div.starfield-c {
  background-size: 18%;
  opacity: 0.25;
}

div.new-nav {
  width: 100%;
  text-align: center;
  padding: 8px 0 12px 0;
  margin: 0;
  background-color: rgba(0, 0, 0, 0.5);
}

div.new-nav > a {
  color: #aaccff;
  text-decoration: none;
  font-size: 1.1rem;
  font-family: "Exo 2";
  font-weight: 300;
  text-shadow: 0 0 10px rgba(210,220,255,0.4);
}

div.new-nav > a:hover {
  color: white;
  text-shadow: 0 0 15px rgba(255,255,255,0.8);
}

div.new-nav > span.separator {
  color: #444;
  padding: 0px 10px;
}

div.main-buttons {
  margin: 5px;
  text-align: center;
  background: transparent;
}

a.btn {
  display: inline-block;
  padding: 10px 11px 6px 11px;
  border: 1px solid rgba(200, 220, 255, 0.7);
  text-decoration: none;
  text-shadow: none;
  color: white;
  background-color: rgba(200, 220, 255, 0);
  box-shadow: 
    0 0 4px rgba(200, 220, 255, 0.3),
    inset 0 0 12px rgba(200, 220, 255, 0.4);
  margin: 0 3px;
}

a.btn:hover {
  color: white;
  background-color: rgba(200, 220, 255, 0.1);
  box-shadow: 
    0 0 8px rgba(200, 220, 255, 0.6),
    inset 0 0 16px rgba(200, 220, 255, 0.8);
}

a.btn.disabled, a.btn.disabled:hover {
  background: rgba(50, 50, 50, 0.5);
  color: #777;
  border: 1px solid #777;
  box-shadow: 
    0 0 4px rgba(200, 220, 255, 0.3),
    inset 0 0 4px rgba(200, 220, 255, 0.1);
  cursor: pointer;
  user-select: none;
}

a.btn.btn-text {
  padding: 9px 11px 9px 11px;
  transform: translate(0, -2px);
}

a.btn > img.icon {
  height: 50px;
  width: auto;
  margin: 0;
}

.lightbox {
  display: none;
  position: fixed;
  left: 0; right: 0; top: 0; bottom: 0;
  background: rgba(0, 0, 0, 0.9);
  padding: 8vh;
  text-align: center;
  z-index: 100;
}

.lightbox-visible {
  display: flex;
  align-items: center;
  justify-content: center;
}

a.lightbox-close {
  position: fixed;
  top: 30px; right: 30px;  
  color: rgba(200, 220, 255, 1);
  opacity: 0.25;
  text-decoration: none;
  font-size: 60%;
}
a.lightbox-close > img {
  width: 40px; height: 40px;
}

a.lightbox-close:hover {
  opacity: 0.6;
}


div.trailer-showcase {
  position: relative;
  margin: 1em auto 0px;
  text-align: center;
  overflow: hidden;
}

div.trailer-image {
  display: block;
  position: relative;
  height: 37vh;
  width: 65.777vh;
  max-width: 98%;
  box-sizing: border-box;
  border: 5px solid rgba(230, 240, 255, 0.05);
  box-shadow: 0 0 20px 15px rgba(0, 0, 0, 0.3);
  opacity: 1;
  transform: translate(-50%, 0px);
  left: 50%;
  background-image: url(../media/screens/trailer-cover-3.jpg);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center center;
  overflow: hidden;
}

div.trailer-overlay {
  position: absolute; top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0, 0, 0, 0);
  transition: 0.25s all ease-out;
  box-shadow: 
    inset 0 0 0px rgba(200, 220, 255, 0.8);
}

div.trailer-band {
  margin-top: calc(18.5vh - 50px);
  margin-left: 1px; margin-right: 1px;
  padding: 11px 0 21px;
  font-size: 80%;
  line-height: 80%;
  background: rgba(0, 0, 0, 0);
  color: white;
  text-shadow: 0 0 40px rgba(0, 0, 0, 1);
  transition: 0.2s all ease-in-out;
}

a:hover div.trailer-band {
  background: rgba(0, 0, 0, 0.75);  
}

a:hover div.trailer-overlay {
  background: rgba(0, 0, 0, 0.1);
  box-shadow: 
    inset 0 0 32px rgba(200, 220, 255, 0.5);
}

.pop-down {
  overflow: hidden;
}

.pop-text {
  transform: translate(0, -50px);
  transition: 0.15s all ease-out;
}

a:hover .pop-text {
  transform: translate(0, 0);
}

.icon-play {
  width: 70px; height: auto;
}

.content-box {
  box-sizing: border-box;
  margin: auto;
  width: 800px;
  max-width: 98%;
  padding: 20px 40px;
  font-size: 85%;
  text-align: center;
}

.form-desc {
  opacity: 0.3;
}

input {
  background: transparent;
  padding: 8px 11px 5px 11px;
  border: 1px solid rgba(200, 220, 255, 0.2);
  box-shadow: 
    0 0 4px rgba(200, 220, 255, 0.3);    
  font-family: "Titillium Web", Helvetica, sans-serif;
  font-weight: 400;
  border-radius: 1px;
  color: white;
  transition: 0.2s all ease-in-out;
  text-shadow: 1px 1px black;
}

input[type="text"], input[type="password"], textarea, select {
  outline: none;
}

input:focus {
  border: 1px solid rgba(200, 220, 255, 0.7);
}

div.footer {
  text-align: center;
  font-size: 80%;
  color: #667;
  margin: 2em 0 0 0;
  padding: 1em;
}

div.footer > a {
  color: #889;
  text-shadow: 0 0 2px rgba(255, 255, 255, 0.3);
}

div.footer > a:hover {
  color: #99a;
  text-shadow: 0 0 2px rgba(255, 255, 255, 0.7);
}

div.form-comment {
  font-size: 80%;
  color: #667;
  padding: 0;
  margin: 6px 0 0 0;
  opacity: 1;
  transition: 0.1s all ease-in-out;
}

div.form-comment.ic-transitioning {
  opacity: 0;
}


div.centered-content {
  margin: auto;
  max-width: 1100px;
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  flex-wrap: wrap;
}

div.factsheet {
  width: 22%;
  min-width: 22%;
  padding: 0 1em;
  background: rgba(0, 0, 0, 0.4);
  margin-right: 10px;
  flex-grow: 0;
}

div.factsheet dt {
  margin-top: 0.3em;
  color: white;
}

div.factsheet dd {
  margin-left: 0.6em;
  padding-left: 0em;
  font-size: 90%;
}

div.main-content {
  width: 50%;
  flex-grow: 1;
  padding: 0;
  margin-bottom: 2em;
}

div.content-slab {
  padding: 0.1em 1em 0.5em 1em;
  background: rgba(0, 0, 0, 0.4);
  margin-top: 1em;
  box-shadow: 0 -1px rgba(200, 210, 255, 0.2);
}

div.video-box {
  margin-top: 1em;
  position: relative;
  width: 100%;
  padding-top: 56.25%;
}

div.image-grid {
  margin-top: 1em;
  display: flex;
  max-width: 100%;
  justify-content: center;
  flex-direction: row;
  flex-wrap: wrap;
}

a.image-box {
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 10em;
  height: 7.5em;
  margin: 0.5em;
  overflow: hidden;
}

a.image-box img {
  width: 98%;
  height: auto;
}

a.image-box img.tall {
  object-fit: contain;
  min-width: 100%;
  min-height: 100%;
}

h2 {
  color: rgba(250, 250, 255);
  text-shadow: 0 0 10px rgba(230, 230, 255, 0.75);
}

strong {
  color: white;
  font-weight: 600;
  text-shadow: 0 0 2px  rgba(230, 230, 255, 0.75);
}

.important-message {
  color: #fd6;
  text-shadow: 0 2px 2px rgba(255, 0, 0, 0.5), 0 0 10px rgba(255, 120, 0, 1);
  margin-bottom: 5px;
}

.important-message > a {
  color: #fffa66;
  text-shadow: 0 2px 2px rgba(255, 0, 0, 0.5), 0 0 10px rgba(255, 120, 0, 1);
  text-decoration: underline;
}

.important-message > a:hover {
  color: #fff;
  text-shadow: 0 2px 4px rgba(255, 255, 255, 0.5), 0 0 10px rgba(255, 255, 255, 1);
}

@media (max-width: 900px) {
  body {
    font-size: 17px;
  }

  span.soft-break {
    display: block;
    height: 10px;
    margin: 0;
  }

  img.top-logo {
    height: 18vh;
  }

  .lightbox {
    padding: 8vh 0vh;
  }

  div.factsheet { width: 100% }
  div.main-content { width: 100% }
}
