@font-face {
    font-family: 'iAQ';
    src: url('iAWriterQuattroV.ttf') format("truetype-variations");
    font-weight: 400 700;
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
html,
body,
#page {
    height: 100%;
    font-family: 'iAQ';
    overflow-x: hidden;
}
#page {
    min-height: 618px;
    background: #0a0a0a url(bg.jpg) center no-repeat;
    background-size: cover;
}
#intro {
    display: flex;
    position: relative;
    z-index: 999;
    height: 100%;
    padding: 70px 0;
    align-items: center;
    justify-content: center;
    flex-flow: column;
}
.logo {
    position: relative;
    z-index: 999;
    width: 164px;
    height: auto;
}
.intro_txt {
    position: relative;
    top: 0;
    left: 1px;
    margin-top: 98px;
    font-size: 32px;
    font-weight: 550;
    line-height: 42px;
    text-align: center;
    text-transform: uppercase;
    color: cyan;
}
.intro_txt:before {
    content: "Coming in 2024\A to a display nearby";
    white-space: pre;
    position: absolute;
    top: 0;
    left: -2px;
    z-index: 1;
    color: magenta;
    animation: 0.5s infinite flick;
}
.intro_txt:after {
    content: "Coming in 2024\A to a display nearby";
    white-space: pre;
    position: absolute;
    top: 0;
    left: -1px;
    z-index: 1;
    color: #fff;
}
@keyframes flick {

    0% {
        top: 0;
    }
    50% {
        top: -1px;
    }

}

.intro_txt .cursor {
    display: inline-block;
    position: absolute;
    bottom: 5px;
    right: -10px;
    width: 4px;
    height: 32px;
    background: #fff;
}
.link {
    position: absolute;
    bottom: 140px;
    font-size: 24px;
    font-weight: 400;
    line-height: 28px;
    text-decoration: none;
    color: rgba(255,255,255,0.75);
}
.link:hover {
    color: #fff;
    text-shadow: 0 0 12px #fff;
}
.link:active {
    color: #555;
    text-shadow: none;
}
.link:before {
    content: " ";
    position: absolute;
    bottom: -28px;
    left: 0;
    width: 100%;
    height: 2px;
    background: #fff;
    opacity: 0;
    transition: all 0.5s;
}
.link:hover:before {
    bottom: -7px;
    opacity: 0.25;
}
.link:after {
    content: " ";
    position: fixed;
    bottom: -300px;
    left: 0;
    z-index: 1;
    width: 150px;
    height: 150px;
    background: url(rocket.png) center no-repeat;
    animation: raketa 0.5s infinite;
}
.link:hover:after {
    bottom: 100%;
    left: 100%;
    transition: all 3s;
}
@keyframes raketa {

    0% {
        transform: translateX(-10px);
    }
    50% {
        transform: translateX(10px);
    }
    100% {
        transform: translateX(-10px);
    }

}

.blink {
    animation: 1s infinite normal blink;
}
@keyframes blink {

    0% {
        opacity: 0;
    }
    40% {
        opacity: 0;
    }
    80% {
        opacity: 1;
    }

}

.scanlines {
    overflow: hidden;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
    width: 100%;
    height: 100%;
}
.scanlines:after {
    content: " ";
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
    width: 100%;
    height: 150%;
    background: repeating-linear-gradient(to bottom, transparent 0%, rgba(255, 255, 255, 0.05) .5%, transparent 1%);
    animation: fudge 12s ease-in-out alternate infinite;
}
@keyframes fudge {

    from {
        transform: translate(0px, 0px);
    }
    to {
        transform: translate(0px, -30%);
    }

}

.glitch {
    position: relative;
    animation: glitch 2s infinite;
}
@keyframes glitch {
    1%{
        transform: rotateX(90deg) skewX(90deg);
    }
    5%{
        transform: rotateX(0deg) skewX(0deg);
    }
}

/* *** */

/*

.glitch::before {
  content: attr(data-text);
  position: absolute;
  left: -2px;
  text-shadow: -5px 0 magenta;
  background: black;
  overflow: hidden;
  top: 0;
  animation: noise-1 3s linear infinite alternate-reverse, glitch 5s 5.05s infinite;
}
.glitch::after {
  content: attr(data-text);
  position: absolute;
  left: 2px;
  text-shadow: -5px 0 lightgreen;
  background: black;
  overflow: hidden;
  top: 0;
  animation: noise-2 3s linear infinite alternate-reverse, glitch 5s 5s infinite;
}


@keyframes noise-1 {
  $steps: 30;
  @for $i from 1 through $steps {
    #{percentage($i*(1/$steps))} {
      $top: random(100);
      $bottom: random(101 - $top);
      clip-path: inset(#{$top}px 0 #{$bottom}px 0);
    }
  }
}

@keyframes noise-2 {
  $steps: 30;
  @for $i from 0 through $steps {
    #{percentage($i*(1/$steps))} {
      $top: random(100);
      $bottom: random(101 - $top);
      clip-path: inset(#{$top}px 0 #{$bottom}px 0);
    }
  }
}

.glow {
  @extend .glitch;
  text-shadow: 0 0 1000px rgb(223, 191, 191);
  color: transparent;
  position: absolute;
  top: 0;
}

@keyframes glitch-2 {
  1%{
    transform: rotateX(10deg) skewX(70deg);
  }
  2%{
    transform: rotateX(0deg) skewX(0deg);
  }
}

*/

@media screen and ( max-height: 850px ) {

    .link {
        position: static;
        margin-top: 70px;
    }

}





/* **** **** **** */

.link:after {
    content: " ";
    position: fixed;
    bottom: -300px;
    left: 50%;
    z-index: 99;
    width: 63px;
    height: 132px;
    margin-left: -31px;
    background: url(raketa.png) center no-repeat;
    background-size: cover;
    animation: raketa 0.5s infinite;
    animation: none;
}
.link:hover:after {
    bottom: 100%;
    left: 50%;
    transition: all 3s;
}
@keyframes raketa {

    0% {
        transform: translateX(-10px);
    }
    50% {
        transform: translateX(10px);
    }
    100% {
        transform: translateX(-10px);
    }

}
