

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

/* main.css 2.1.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
   ========================================================================== */

html {
  color: #222;
  font-size: 1em;
  line-height: 1.4;
}

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

 @font-face {
     font-family: 'DIN';
     src: url('DINPro-Bold.woff2') format('woff2'),
         url('DINPro-Bold.woff') format('woff');
     font-weight: bold;
     font-style: normal;
     font-display: swap;
 }

 @font-face {
     font-family: 'Apercu';
     src: url('Apercu-Mono.woff2') format('woff2'),
         url('Apercu-Mono.woff') format('woff');
     font-weight: normal;
     font-style: normal;
     font-display: swap;
 }



html {
  height:100%;
  overflow:hidden;
}

body {
  overflow:hidden;
  height: 100%;
  margin: 0;
  background-repeat: no-repeat;
  background-attachment: fixed;
  /* Permalink - use to edit and share this gradient: https://colorzilla.com/gradient-editor/#a800e5+9,2989d8+50,00d1d1+100 */
  background: rgb(168,0,229); /* Old browsers */
  background: -moz-linear-gradient(-45deg,  rgba(168,0,229,1) 9%, rgba(41,137,216,1) 50%, rgba(0,209,209,1) 100%); /* FF3.6-15 */
  background: -webkit-linear-gradient(-45deg,  rgba(168,0,229,1) 9%,rgba(41,137,216,1) 50%,rgba(0,209,209,1) 100%); /* Chrome10-25,Safari5.1-6 */
  background: linear-gradient(135deg,  rgba(168,0,229,1) 9%,rgba(41,137,216,1) 50%,rgba(0,209,209,1) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#a800e5', endColorstr='#00d1d1',GradientType=1 ); /* IE6-9 fallback on horizontal gradient */



  background-size: cover cover;
}

#fade {
  /* Permalink - use to edit and share this gradient: https://colorzilla.com/gradient-editor/#121a2d+0,121a2d+100&0.65+0,0+100 */
  background: -moz-linear-gradient(top,  rgba(18,26,45,0.65) 0%, rgba(18,26,45,0) 100%); /* FF3.6-15 */
  background: -webkit-linear-gradient(top,  rgba(18,26,45,0.65) 0%,rgba(18,26,45,0) 100%); /* Chrome10-25,Safari5.1-6 */
  background: linear-gradient(to bottom,  rgba(18,26,45,0.65) 0%,rgba(18,26,45,0) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#a6121a2d', endColorstr='#00121a2d',GradientType=0 ); /* IE6-9 */


  display:block;
  position:fixed;
  top:0px;
  left:0px;
  width:100%;
  height:100%;
}

div.diagonal {
  position:absolute;
  bottom:0px;
  right:212px;

  width:100%;

  transform:rotateZ(31deg) translateY(50%);
  transform-origin:bottom right;

  background:rgba(9,9,9,0.05);
  width:10000%;
  height:10000%;
}

div.rotate {
  perspective: 10000px;
  transform-style: preserve-3d;
  transform-origin: center center;
  transform:translateZ(0px);
}

#container {
  position:fixed;
  top:50%;
  left:50%;
}

div.header {

  pointer-events: none;
  position:absolute;
  top:0%;
  left:0%;
  margin-left:-400px;
  margin-top:-235px;
  display:block;
  background:#fff;
  width:400px;
  height:160px;
  transform:translateZ(0px);
  background:url('../img/logo.svg');
  background-repeat:no-repeat;
  background-position:bottom right;
}


	}
}

@keyframes flicker {
	0%, 19.999%, 22%, 62.999%, 64%, 64.999%, 70%, 100% {
		opacity: .99;
	}
	20%, 21.999%, 63%, 63.999%, 65%, 69.999% {
		opacity: 0.4;
	}
}


div.star {
  width:8px;
  height:8px;
  display:block;
  position:fixed;
  top:50%;
  left:50%;
  background:url('../img/star.svg');
  background-repeat:no-repeat;
  background-position:center center;
  animation: flicker 3s linear infinite;
}

div.starfield {
  position:fixed;
  top:50%;
  left:50%;
  display:block;
  transform-style: preserve-3d;
  transform-origin: center center;


}


div.cross {
  position:absolute;
  top:0px;
  left:0px;
  background:#fff;
  width:40px;
  height:40px;
  margin-top:-10px;
  margin-left:-115px;
  background:url('../img/cross.svg');
  background-repeat:no-repeat;
  background-position:center center;
}



div.description {
  text-selection:none;
  position:fixed;
  top:50%;
  left:50%;
  margin-left:-100px;
  width:600px;
  height:200px;
    transform:translateZ(-2px);
}



@media only screen and (max-width: 1000px) {

  body {
    overflow:hidden;
  }

  div.description {
    position:absolute;
    left:0%;
    top:50%;
    width:100%;
    margin:0!important;
    text-align:left;
    padding:40px;
    min-width:300px;
    transform:translateY(-50%);
  }

  div.header {
    position:absolute;
    left:40px;
    top:0px;
    margin:0!important;
    transform:translateY(-100%);
    width:300px;
  }
}


h2 {
  font-family:'DIN';
  padding-top:0px;
  margin-top:0px;
  color:#fff;
  font-weight:bold;
  font-size:28px;
  padding-bottom:0px;
  margin-bottom:0px;
}

p {
  font-family:'Apercu';
  color:rgba(255,255,255,0.5);
  font-size:16px;
  line-height:1.35em;
  margin-top:0px;
}

a, a:visited, a:active, a:hover, a:focus {
  color:#fff;
}

















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

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

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