/* http://meyerweb.com/eric/tools/css/reset/ 
   v2.0 | 20110126
   License: none (public domain)
*/

@font-face {
  font-family: AlteHaasGroteskBold;
  font-style: normal;
  font-weight: normal;
  src: url("http://edwardloveall.com/online/fonts/altehaasgroteskbold.eot?#iefix") format("embedded-opentype"), url("http://edwardloveall.com/online/fonts/altehaasgroteskbold.woff2") format("woff2"), url("http://edwardloveall.com/online/fonts/altehaasgroteskbold.woff") format("woff"), url("http://edwardloveall.com/online/fonts/altehaasgroteskbold.ttf") format("truetype"), url("http://edwardloveall.com/online/fonts/altehaasgroteskbold.svg#AlteHaasGroteskBold") format("svg");
}

/* latin-ext */

@font-face {
  font-family: 'Atari Kids';
  src: url(fonts/atari-kids.ttf) format('truetype');
}

@font-face {
  font-family: 'Galactico Basic';
  src: url(fonts/Galactico-Basic.otf) format('truetype');
}



html,
body,
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
b,
u,
i,
center,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
embed,
figure,
figcaption,
footer,
header,
hgroup,
menu,
nav,
output,
ruby,
section,
summary,
time,
mark,
audio,
video {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font: inherit;
    vertical-align: baseline;
}


/* HTML5 display-role reset for older browsers */

article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
    display: block;
}

body {
    line-height: 1;
}

ol,
ul {
    list-style: none;
}

blockquote,
q {
    quotes: none;
}

blockquote:before,
blockquote:after,
q:before,
q:after {
    content: '';
    content: none;
}

table {
    border-collapse: collapse;
    border-spacing: 0;
}


/* ------ MAIN ------ */

.dn {
    display: none;
}

body {
    font-family: 'Fira Sans Extra Condensed', sans-serif;
    font-size: 16px;
    text-align: center;
}

body > header {
    display: table;
    position: fixed;
    table-layout: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 72px;
}

.header-row {
    display: table-row;
}

.header-cell {
    display: table-cell;
    vertical-align: top;
    padding-top: 11px;
    color: #fff;
    opacity: 0.15;
}

#header-cell1 {
    width: 50%;
}

#header-cell2 {
    width: 50%;
}

.volume {
    padding-top: 11px;
    padding-right: 22px;
    float: right;
    height: 25px;
    width: 25px;
    fill: #fff;
    cursor: pointer;
    display: block;
}

#volume-off {
    display: none;
}

#main {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    background: url(test.png) no-repeat center center fixed;
    background-size: cover;
    color: white;
    z-index: 1;
}


.fullscreen {
    height: 100vh;
    min-height: 211px;
    min-width: 299px;
}

.wrapper {
    text-align: center;
}

h1 {
    font-family: 'Galactico Basic';
	font-size: 1.7em;
    text-shadow: 0px 1px 0px #c0c0c0, 0px 2px 0px #b0b0b0, 0px 3px 0px #a0a0a0, 0px 4px 0px #909090, 0px 5px 10px rgba(0, 0, 0, 0.6);
}

h2 {
    font-size: 1em;
    position: relative;
	margin-top: 0.5em;
}

#logo-container {
    position: relative;
    height: 477px;
	width: 298px;
}

.logo-content {
    position: absolute;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
}

#logo {
    height: 477px;
    opacity: 1.0;
    -webkit-transition: opacity 0.5s;
    transition: opacity 0.5s;
}

/*
@keyframes fadeOut {
    0% {
        opacity: 0.8;
    }
    50% {
        opacity: 0.2;
    }
    100% {
        opacity: 0.8;
    }
}
*/


#logo-back {
	height: 625px;
    opacity: 0;
    -webkit-transition: opacity 0.5s;
    transition: opacity 0.5s;
}

#connect {
    border-radius: 5px;
    color: #fff;
    font-size: 26px;
    background: rgba(150, 0, 0, 0);
    padding: 8px 14px 8px 14px;
    margin: 7px 0px 10px 0px;
    text-decoration: none;
    opacity: 0.6;
    border: 2px solid #fff;
    -webkit-transition: color 0.5s, background 0.5s, opacity 0.5s, border 0.5s;
    transition: color 0.5s, background 0.5s, opacity 0.5s, border 0.5s;
    font-family: 'Fira Sans Extra Condensed', sans-serif;
    cursor: pointer;
}

#connect:hover {
    opacity: 1;
    background: rgba(150, 0, 0, 1);
    color: #fff;
    border: 2px solid #980707;
}

.tip {
    opacity: 0.6;
    width: 306px;
    margin: 0 auto;
    text-transform: uppercase;
    text-align: justify;
    -moz-text-align-last: center;
    text-align-last: center;
    margin-bottom: 11px;
}

.small {
    font-size: 0.8em;
}

.tiny {
    font-size: 0.6em;
}

body > footer {
    display: table;
    position: fixed;
    table-layout: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 72px;
}

.footer-row {
    display: table-row;
}

.footer-cell {
    display: table-cell;
    vertical-align: bottom;
    padding-bottom: 11px;
    color: #fff;
    opacity: 0.15;
}

#footer-cell1 {
    width: 20%;
}

#footer-cell2 {
    width: 60%;
}

#footer-cell3 {
    width: 20%;
}

#svg18 {
    padding-left: 11px;
    float: left;
    height: 50px;
    width: 50px;
    fill: #fff;
}

#discord {
    padding-right: 11px;
    float: right;
    height: 50px;
    width: 50px;
    fill: #fff;
}

@media screen and (max-height: 674px),
(max-width: 439px) {
    #logo-container {
        height: 295px;
    }
    #logo {
        height: 295px;
    }
    #logo-back {
        height: 350px;
    }
}

@media screen and (max-height: 574px),
(max-width: 339px) {
    #logo-container {
        height: 230px;
    }
    #logo {
        height: 230px;
    }
    #logo-back {
        height: 270px;
    }
    h1 {
        font-size: 4.5em;
    }
    h2 {
        font-size: 1.31em;
    }
    #connect {
        font-size: 23px;
    }
    .tip {
        width: 275px;
    }
}

@media screen and (max-height: 499px) {
    #logo-container {
        display: none;
    }
}

@media screen and (max-height: 274px),
(max-width: 321px) {
    footer {
        pointer-events: none;
    }
    #footer-cell1 {
        pointer-events: auto;
    }
    #footer-cell2 {
        visibility: hidden;
    }
    #footer-cell3 {
        pointer-events: auto;
    }
}


/* -------- Orbit -------- */

h3 {
  font-size: 1em;
}

section.orbitwrapper, div.orbit {
  -webkit-transform-style: preserve-3d;
  -moz-transform-style: preserve-3d;
  -ms-transform-style: preserve-3d;
  -o-transform-style: preserve-3d;
  transform-style: preserve-3d;
}

section.orbitwrapper {
  height: 100%;
  text-align: center;
}
section.orbitwrapper:before {
  content: '';
  display: inline-block;
  /* height: 100%; */
  vertical-align: middle;
  margin-right: -0.25em;
}

h3 {
  -webkit-transform-style: preserve-3d;
  -moz-transform-style: preserve-3d;
  -ms-transform-style: preserve-3d;
  -o-transform-style: preserve-3d;
  transform-style: preserve-3d;
  /* background-color: rgba(0, 0, 0, 0.1); */
  /* color: #3B3E42; */
  display: inline-block;
  font-family: AlteHaasGroteskBold, sans-serif;
  /* font-size: 180px;*/
  position: relative;
  vertical-align: middle;
}

div.orbit {
  /* background-color: rgba(0, 0, 0, 0.1); */
}
div.orbit.orbit-1 {
  -webkit-animation: orbit-rotate 10s linear infinite;
  -moz-animation: orbit-rotate 10s linear infinite;
  animation: orbit-rotate 10s linear infinite;
  -webkit-animation-delay: -6.8s;
  -moz-animation-delay: -6.8s;
  animation-delay: -6.8s;
  position: absolute;
  top: 68.4%;
  right: 0;
  bottom: 0;
  left: -9.4%;
  width: 118.8%;
}
div.orbit.orbit-1:after {
  box-shadow:0 0 10px #84012e;
  background-color: #84012e;
  -webkit-animation-delay: -6.8s;
  -moz-animation-delay: -6.8s;
  animation-delay: -6.8s;
  height: 4px;
  width: 4px;
}
div.orbit.orbit-2 {
  -webkit-animation: orbit-rotate 10s linear infinite;
  -moz-animation: orbit-rotate 10s linear infinite;
  animation: orbit-rotate 10s linear infinite;
  -webkit-animation-delay: -0.3s;
  -moz-animation-delay: -0.3s;
  animation-delay: -0.3s;
  position: absolute;
  top: 94.5%;
  right: 0;
  bottom: 0;
  left: -0.4%;
  width: 100.8%;
}
div.orbit.orbit-2:after {
  box-shadow:0 0 10px #84012e;
  background-color: #84012e;
  -webkit-animation-delay: -0.3s;
  -moz-animation-delay: -0.3s;
  animation-delay: -0.3s;
  height: 8px;
  width: 8px;
}
div.orbit.orbit-3 {
  -webkit-animation: orbit-rotate 10s linear infinite;
  -moz-animation: orbit-rotate 10s linear infinite;
  animation: orbit-rotate 10s linear infinite;
  -webkit-animation-delay: -2.3s;
  -moz-animation-delay: -2.3s;
  animation-delay: -2.3s;
  position: absolute;
  top: 57.2%;
  right: 0;
  bottom: 0;
  left: -10%;
  width: 120%;
}
div.orbit.orbit-3:after {
  box-shadow:0 0 10px #84012e;
  background-color: #84012e;
  -webkit-animation-delay: -2.3s;
  -moz-animation-delay: -2.3s;
  animation-delay: -2.3s;
  height: 12px;
  width: 12px;
}
div.orbit.orbit-4 {
  -webkit-animation: orbit-rotate 10s linear infinite;
  -moz-animation: orbit-rotate 10s linear infinite;
  animation: orbit-rotate 10s linear infinite;
  -webkit-animation-delay: -3.6s;
  -moz-animation-delay: -3.6s;
  animation-delay: -3.6s;
  position: absolute;
  top: 50.2%;
  right: 0;
  bottom: 0;
  left: -9.4%;
  width: 118.8%;
}
div.orbit.orbit-4:after {
  box-shadow:0 0 10px #84012e;
  background-color: #84012e;
  -webkit-animation-delay: -3.6s;
  -moz-animation-delay: -3.6s;
  animation-delay: -3.6s;
  height: 5px;
  width: 5px;
}
div.orbit.orbit-5 {
  -webkit-animation: orbit-rotate 10s linear infinite;
  -moz-animation: orbit-rotate 10s linear infinite;
  animation: orbit-rotate 10s linear infinite;
  -webkit-animation-delay: -7.2s;
  -moz-animation-delay: -7.2s;
  animation-delay: -7.2s;
  position: absolute;
  top: 27.8%;
  right: 0;
  bottom: 0;
  left: -3.4%;
  width: 106.8%;
}
div.orbit.orbit-5:after {
  box-shadow:0 0 10px #84012e;
  background-color: #84012e;
  -webkit-animation-delay: -7.2s;
  -moz-animation-delay: -7.2s;
  animation-delay: -7.2s;
  height: 6px;
  width: 6px;
}
div.orbit.orbit-6 {
  -webkit-animation: orbit-rotate 10s linear infinite;
  -moz-animation: orbit-rotate 10s linear infinite;
  animation: orbit-rotate 10s linear infinite;
  -webkit-animation-delay: -1.7s;
  -moz-animation-delay: -1.7s;
  animation-delay: -1.7s;
  position: absolute;
  top: 23.6%;
  right: 0;
  bottom: 0;
  left: -1.6%;
  width: 103.2%;
}
div.orbit.orbit-6:after {
  box-shadow:0 0 10px #84012e;
  background-color: #84012e;
  -webkit-animation-delay: -1.7s;
  -moz-animation-delay: -1.7s;
  animation-delay: -1.7s;
  height: 12px;
  width: 12px;
}
div.orbit.orbit-7 {
  -webkit-animation: orbit-rotate 10s linear infinite;
  -moz-animation: orbit-rotate 10s linear infinite;
  animation: orbit-rotate 10s linear infinite;
  -webkit-animation-delay: -5.6s;
  -moz-animation-delay: -5.6s;
  animation-delay: -5.6s;
  position: absolute;
  top: 5.4%;
  right: 0;
  bottom: 0;
  left: 8.6%;
  width: 82.8%;
}
div.orbit.orbit-7:after {
  box-shadow:0 0 10px #84012e;
  background-color: #84012e;
  -webkit-animation-delay: -5.6s;
  -moz-animation-delay: -5.6s;
  animation-delay: -5.6s;
  height: 5px;
  width: 5px;
}
/* div.orbit.orbit-8 {
  -webkit-animation: orbit-rotate 10s linear infinite;
  -moz-animation: orbit-rotate 10s linear infinite;
  animation: orbit-rotate 10s linear infinite;
  -webkit-animation-delay: -5s;
  -moz-animation-delay: -5s;
  animation-delay: -5s;
  position: absolute;
  top: -14.4%;
  right: 0;
  bottom: 0;
  left: 26.6%;
  width: 46.8%;
}
div.orbit.orbit-8:after {
  -webkit-animation-delay: -5s;
  -moz-animation-delay: -5s;
  animation-delay: -5s;
  height: 6px;
  width: 6px;
} */
div.orbit.orbit-9 {
  -webkit-animation: orbit-rotate 10s linear infinite;
  -moz-animation: orbit-rotate 10s linear infinite;
  animation: orbit-rotate 10s linear infinite;
  -webkit-animation-delay: -3.4s;
  -moz-animation-delay: -3.4s;
  animation-delay: -3.4s;
  position: absolute;
  top: 18%;
  right: 0;
  bottom: 0;
  left: 2%;
  width: 96%;
}
div.orbit.orbit-9:after {
  box-shadow:0 0 10px #84012e;
  background-color: #84012e;
  -webkit-animation-delay: -3.4s;
  -moz-animation-delay: -3.4s;
  animation-delay: -3.4s;
  height: 12px;
  width: 12px;
}
div.orbit.orbit-10 {
  -webkit-animation: orbit-rotate 10s linear infinite;
  -moz-animation: orbit-rotate 10s linear infinite;
  animation: orbit-rotate 10s linear infinite;
  -webkit-animation-delay: -8.2s;
  -moz-animation-delay: -8.2s;
  animation-delay: -8.2s;
  position: absolute;
  top: 46%;
  right: 0;
  bottom: 0;
  left: -8.8%;
  width: 117.6%;
}
div.orbit.orbit-10:after {
  box-shadow:0 0 10px #84012e;
  background-color: #84012e;
  -webkit-animation-delay: -8.2s;
  -moz-animation-delay: -8.2s;
  animation-delay: -8.2s;
  height: 9px;
  width: 9px;
}
/* div.orbit.orbit-11 {
  -webkit-animation: orbit-rotate 10s linear infinite;
  -moz-animation: orbit-rotate 10s linear infinite;
  animation: orbit-rotate 10s linear infinite;
  -webkit-animation-delay: -2.2s;
  -moz-animation-delay: -2.2s;
  animation-delay: -2.2s;
  position: absolute;
  top: 96.2%;
  right: 0;
  bottom: 0;
  left: 5%;
  width: 90%;
}
div.orbit.orbit-11:after {
  -webkit-animation-delay: -2.2s;
  -moz-animation-delay: -2.2s;
  animation-delay: -2.2s;
  height: 6px;
  width: 6px;
} 
div.orbit.orbit-12 {
  -webkit-animation: orbit-rotate 10s linear infinite;
  -moz-animation: orbit-rotate 10s linear infinite;
  animation: orbit-rotate 10s linear infinite;
  -webkit-animation-delay: -0.1s;
  -moz-animation-delay: -0.1s;
  animation-delay: -0.1s;
  position: absolute;
  top: 101.8%;
  right: 0;
  bottom: 0;
  left: 9.8%;
  width: 80.4%;
}
div.orbit.orbit-12:after {
  -webkit-animation-delay: -0.1s;
  -moz-animation-delay: -0.1s;
  animation-delay: -0.1s;
  height: 12px;
  width: 12px;
}*/
div.orbit.orbit-13 {
  -webkit-animation: orbit-rotate 10s linear infinite;
  -moz-animation: orbit-rotate 10s linear infinite;
  animation: orbit-rotate 10s linear infinite;
  -webkit-animation-delay: -8s;
  -moz-animation-delay: -8s;
  animation-delay: -8s;
  position: absolute;
  top: 15.8%;
  right: 0;
  bottom: 0;
  left: 4.4%;
  width: 91.2%;
}
div.orbit.orbit-13:after {
  box-shadow:0 0 10px #84012e;
  background-color: #84012e;
  -webkit-animation-delay: -8s;
  -moz-animation-delay: -8s;
  animation-delay: -8s;
  height: 6px;
  width: 6px;
}
/* div.orbit.orbit-14 {
  -webkit-animation: orbit-rotate 10s linear infinite;
  -moz-animation: orbit-rotate 10s linear infinite;
  animation: orbit-rotate 10s linear infinite;
  -webkit-animation-delay: -3.4s;
  -moz-animation-delay: -3.4s;
  animation-delay: -3.4s;
  position: absolute;
  top: 108.8%;
  right: 0;
  bottom: 0;
  left: 18.2%;
  width: 63.6%;
}
div.orbit.orbit-14:after {
  -webkit-animation-delay: -3.4s;
  -moz-animation-delay: -3.4s;
  animation-delay: -3.4s;
  height: 10px;
  width: 10px;
} */
/* div.orbit.orbit-15 {
  -webkit-animation: orbit-rotate 10s linear infinite;
  -moz-animation: orbit-rotate 10s linear infinite;
  animation: orbit-rotate 10s linear infinite;
  -webkit-animation-delay: -0.6s;
  -moz-animation-delay: -0.6s;
  animation-delay: -0.6s;
  position: absolute;
  top: 99%;
  right: 0;
  bottom: 0;
  left: 7.4%;
  width: 85.2%;
}
div.orbit.orbit-15:after {
  -webkit-animation-delay: -0.6s;
  -moz-animation-delay: -0.6s;
  animation-delay: -0.6s;
  height: 8px;
  width: 8px;
}*/
div.orbit.orbit-16 {
  -webkit-animation: orbit-rotate 10s linear infinite;
  -moz-animation: orbit-rotate 10s linear infinite;
  animation: orbit-rotate 10s linear infinite;
  -webkit-animation-delay: -5s;
  -moz-animation-delay: -5s;
  animation-delay: -5s;
  position: absolute;
  top: 84.4%;
  right: 0;
  bottom: 0;
  left: 8%;
  width: 84%;
}
div.orbit.orbit-16:after {
  box-shadow:0 0 10px #84012e;
  background-color: #84012e;
  -webkit-animation-delay: -5s;
  -moz-animation-delay: -5s;
  animation-delay: -5s;
  height: 8px;
  width: 8px;
}
/* div.orbit.orbit-17 {
  -webkit-animation: orbit-rotate 10s linear infinite;
  -moz-animation: orbit-rotate 10s linear infinite;
  animation: orbit-rotate 10s linear infinite;
  -webkit-animation-delay: -9.6s;
  -moz-animation-delay: -9.6s;
  animation-delay: -9.6s;
  position: absolute;
  top: 90.6%;
  right: 0;
  bottom: 0;
  left: 0.8%;
  width: 98.4%;
}
div.orbit.orbit-17:after {
  -webkit-animation-delay: -9.6s;
  -moz-animation-delay: -9.6s;
  animation-delay: -9.6s;
  height: 11px;
  width: 11px;
}
div.orbit.orbit-18 {
  -webkit-animation: orbit-rotate 10s linear infinite;
  -moz-animation: orbit-rotate 10s linear infinite;
  animation: orbit-rotate 10s linear infinite;
  -webkit-animation-delay: -0.8s;
  -moz-animation-delay: -0.8s;
  animation-delay: -0.8s;
  position: absolute;
  top: -4.6%;
  right: 0;
  bottom: 0;
  left: 12.2%;
  width: 75.6%;
}
div.orbit.orbit-18:after {
  -webkit-animation-delay: -0.8s;
  -moz-animation-delay: -0.8s;
  animation-delay: -0.8s;
  height: 7px;
  width: 7px;
}
div.orbit.orbit-19 {
  -webkit-animation: orbit-rotate 10s linear infinite;
  -moz-animation: orbit-rotate 10s linear infinite;
  animation: orbit-rotate 10s linear infinite;
  -webkit-animation-delay: -3.2s;
  -moz-animation-delay: -3.2s;
  animation-delay: -3.2s;
  position: absolute;
  top: 71%;
  right: 0;
  bottom: 0;
  left: -7.6%;
  width: 115.2%;
}
div.orbit.orbit-19:after {
  -webkit-animation-delay: -3.2s;
  -moz-animation-delay: -3.2s;
  animation-delay: -3.2s;
  height: 5px;
  width: 5px;
}
div.orbit.orbit-20 {
  -webkit-animation: orbit-rotate 10s linear infinite;
  -moz-animation: orbit-rotate 10s linear infinite;
  animation: orbit-rotate 10s linear infinite;
  -webkit-animation-delay: -9.7s;
  -moz-animation-delay: -9.7s;
  animation-delay: -9.7s;
  position: absolute;
  top: 22%;
  right: 0;
  bottom: 0;
  left: -5.2%;
  width: 110.4%;
}
div.orbit.orbit-20:after {
  -webkit-animation-delay: -9.7s;
  -moz-animation-delay: -9.7s;
  animation-delay: -9.7s;
  height: 8px;
  width: 8px;
} */

div.orbit:after {
  -webkit-animation: planet-rotate 10s linear infinite;
  -moz-animation: planet-rotate 10s linear infinite;
  animation: planet-rotate 10s linear infinite;
  background-color: #e22822;
  border-radius: 50%;
  content: '';
  display: block;
}

@-webkit-keyframes orbit-rotate {
  from {
    -webkit-transform: rotateY(0deg);
  }
  to {
    -webkit-transform: rotateY(360deg);
  }
}
@-moz-keyframes orbit-rotate {
  from {
    -moz-transform: rotateY(0deg);
  }
  to {
    -moz-transform: rotateY(360deg);
  }
}
@keyframes orbit-rotate {
  from {
    -webkit-transform: rotateY(0deg);
    -moz-transform: rotateY(0deg);
    -ms-transform: rotateY(0deg);
    -o-transform: rotateY(0deg);
    transform: rotateY(0deg);
  }
  to {
    -webkit-transform: rotateY(360deg);
    -moz-transform: rotateY(360deg);
    -ms-transform: rotateY(360deg);
    -o-transform: rotateY(360deg);
    transform: rotateY(360deg);
  }
}
@-webkit-keyframes planet-rotate {
  from {
    -webkit-transform: rotateY(0deg);
  }
  to {
    -webkit-transform: rotateY(-360deg);
  }
}
@-moz-keyframes planet-rotate {
  from {
    -moz-transform: rotateY(0deg);
  }
  to {
    -moz-transform: rotateY(-360deg);
  }
}
@keyframes planet-rotate {
  from {
    -webkit-transform: rotateY(0deg);
    -moz-transform: rotateY(0deg);
    -ms-transform: rotateY(0deg);
    -o-transform: rotateY(0deg);
    transform: rotateY(0deg);
  }
  to {
    -webkit-transform: rotateY(-360deg);
    -moz-transform: rotateY(-360deg);
    -ms-transform: rotateY(-360deg);
    -o-transform: rotateY(-360deg);
    transform: rotateY(-360deg);
  }
}

/* -------- Glitch Background -------- */

*,
*::after,
*::before {
    box-sizing: border-box;
    margin: 0;
    padding: 0
}

.glitch {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    overflow: hidden
}

.glitch-img {
    position: absolute;
    top: calc(-1 * 5px);
    left: calc(-1 * 10px);
    width: calc(100% + 10px * 2);
    height: calc(100% + 5px * 2);
    background: url(bgs.png) no-repeat 50% 0;
    background-color: transparent;
    background-size: cover;
    transform: translate3d(0, 0, 0);
    background-blend-mode: none
}

.glitch-img:nth-child(n+2) {
    opacity: 0
}

.glitch .glitch-img:nth-child(n+2) {
    animation-duration: 4s;
    animation-delay: 0s;
    animation-timing-function: linear;
    animation-iteration-count: infinite
}

.glitch .glitch-img:nth-child(2) {
    background-color: transparent;
    background-blend-mode: none;
    animation-name: glitch-anim-1
}

.glitch .glitch-img:nth-child(3) {
    background-color: transparent;
    background-blend-mode: none;
    animation-name: glitch-anim-2
}

.glitch .glitch-img:nth-child(4) {
    background-color: transparent;
    background-blend-mode: none;
    animation-name: glitch-anim-3
}

/* Animations */

@keyframes glitch-anim-1 {
    0% {
        opacity: 1;
        transform: translate3d(10px, 0, 0);
        -webkit-clip-path: polygon(0 2%, 100% 2%, 100% 5%, 0 5%);
        clip-path: polygon(0 2%, 100% 2%, 100% 5%, 0 5%);
    }
    2% {
        -webkit-clip-path: polygon(0 15%, 100% 15%, 100% 15%, 0 15%);
        clip-path: polygon(0 15%, 100% 15%, 100% 15%, 0 15%);
    }
    4% {
        -webkit-clip-path: polygon(0 10%, 100% 10%, 100% 20%, 0 20%);
        clip-path: polygon(0 10%, 100% 10%, 100% 20%, 0 20%);
    }
    6% {
        -webkit-clip-path: polygon(0 1%, 100% 1%, 100% 2%, 0 2%);
        clip-path: polygon(0 1%, 100% 1%, 100% 2%, 0 2%);
    }
    8% {
        -webkit-clip-path: polygon(0 33%, 100% 33%, 100% 33%, 0 33%);
        clip-path: polygon(0 33%, 100% 33%, 100% 33%, 0 33%);
    }
    10% {
        -webkit-clip-path: polygon(0 44%, 100% 44%, 100% 44%, 0 44%);
        clip-path: polygon(0 44%, 100% 44%, 100% 44%, 0 44%);
    }
    12% {
        -webkit-clip-path: polygon(0 50%, 100% 50%, 100% 20%, 0 20%);
        clip-path: polygon(0 50%, 100% 50%, 100% 20%, 0 20%);
    }
    14% {
        -webkit-clip-path: polygon(0 70%, 100% 70%, 100% 70%, 0 70%);
        clip-path: polygon(0 70%, 100% 70%, 100% 70%, 0 70%);
    }
    16% {
        -webkit-clip-path: polygon(0 80%, 100% 80%, 100% 80%, 0 80%);
        clip-path: polygon(0 80%, 100% 80%, 100% 80%, 0 80%);
    }
    18% {
        -webkit-clip-path: polygon(0 50%, 100% 50%, 100% 55%, 0 55%);
        clip-path: polygon(0 50%, 100% 50%, 100% 55%, 0 55%);
    }
    20% {
        -webkit-clip-path: polygon(0 70%, 100% 70%, 100% 80%, 0 80%);
        clip-path: polygon(0 70%, 100% 70%, 100% 80%, 0 80%);
    }
    21.9% {
        opacity: 1;
        transform: translate3d(10px, 0, 0);
    }
    22%,
    100% {
        opacity: 0;
        transform: translate3d(0, 0, 0);
        -webkit-clip-path: polygon(0 0, 0 0, 0 0, 0 0);
        clip-path: polygon(0 0, 0 0, 0 0, 0 0);
    }
}

@keyframes glitch-anim-2 {
    0% {
        opacity: 1;
        transform: translate3d(calc(-1 * 10px), 0, 0);
        -webkit-clip-path: polygon(0 25%, 100% 25%, 100% 30%, 0 30%);
        clip-path: polygon(0 25%, 100% 25%, 100% 30%, 0 30%);
    }
    3% {
        -webkit-clip-path: polygon(0 3%, 100% 3%, 100% 3%, 0 3%);
        clip-path: polygon(0 3%, 100% 3%, 100% 3%, 0 3%);
    }
    5% {
        -webkit-clip-path: polygon(0 5%, 100% 5%, 100% 20%, 0 20%);
        clip-path: polygon(0 5%, 100% 5%, 100% 20%, 0 20%);
    }
    7% {
        -webkit-clip-path: polygon(0 20%, 100% 20%, 100% 20%, 0 20%);
        clip-path: polygon(0 20%, 100% 20%, 100% 20%, 0 20%);
    }
    9% {
        -webkit-clip-path: polygon(0 40%, 100% 40%, 100% 40%, 0 40%);
        clip-path: polygon(0 40%, 100% 40%, 100% 40%, 0 40%);
    }
    11% {
        -webkit-clip-path: polygon(0 52%, 100% 52%, 100% 59%, 0 59%);
        clip-path: polygon(0 52%, 100% 52%, 100% 59%, 0 59%);
    }
    13% {
        -webkit-clip-path: polygon(0 60%, 100% 60%, 100% 60%, 0 60%);
        clip-path: polygon(0 60%, 100% 60%, 100% 60%, 0 60%);
    }
    15% {
        -webkit-clip-path: polygon(0 75%, 100% 75%, 100% 75%, 0 75%);
        clip-path: polygon(0 75%, 100% 75%, 100% 75%, 0 75%);
    }
    17% {
        -webkit-clip-path: polygon(0 65%, 100% 65%, 100% 40%, 0 40%);
        clip-path: polygon(0 65%, 100% 65%, 100% 40%, 0 40%);
    }
    19% {
        -webkit-clip-path: polygon(0 45%, 100% 45%, 100% 50%, 0 50%);
        clip-path: polygon(0 45%, 100% 45%, 100% 50%, 0 50%);
    }
    20% {
        -webkit-clip-path: polygon(0 14%, 100% 14%, 100% 33%, 0 33%);
        clip-path: polygon(0 14%, 100% 14%, 100% 33%, 0 33%);
    }
    21.9% {
        opacity: 1;
        transform: translate3d(calc(-1 * 10px), 0, 0);
    }
    22%,
    100% {
        opacity: 0;
        transform: translate3d(0, 0, 0);
        -webkit-clip-path: polygon(0 0, 0 0, 0 0, 0 0);
        clip-path: polygon(0 0, 0 0, 0 0, 0 0);
    }
}

@keyframes glitch-anim-3 {
    0% {
        opacity: 1;
        transform: translate3d(0, calc(-1 * 5px), 0) scale3d(-1, -1, 1);
        -webkit-clip-path: polygon(0 1%, 100% 1%, 100% 3%, 0 3%);
        clip-path: polygon(0 1%, 100% 1%, 100% 3%, 0 3%);
    }
    1.5% {
        -webkit-clip-path: polygon(0 10%, 100% 10%, 100% 9%, 0 9%);
        clip-path: polygon(0 10%, 100% 10%, 100% 9%, 0 9%);
    }
    2% {
        -webkit-clip-path: polygon(0 5%, 100% 5%, 100% 6%, 0 6%);
        clip-path: polygon(0 5%, 100% 5%, 100% 6%, 0 6%);
    }
    2.5% {
        -webkit-clip-path: polygon(0 20%, 100% 20%, 100% 20%, 0 20%);
        clip-path: polygon(0 20%, 100% 20%, 100% 20%, 0 20%);
    }
    3% {
        -webkit-clip-path: polygon(0 10%, 100% 10%, 100% 10%, 0 10%);
        clip-path: polygon(0 10%, 100% 10%, 100% 10%, 0 10%);
    }
    5% {
        -webkit-clip-path: polygon(0 30%, 100% 30%, 100% 25%, 0 25%);
        clip-path: polygon(0 30%, 100% 30%, 100% 25%, 0 25%);
    }
    5.5% {
        -webkit-clip-path: polygon(0 15%, 100% 15%, 100% 16%, 0 16%);
        clip-path: polygon(0 15%, 100% 15%, 100% 16%, 0 16%);
    }
    7% {
        -webkit-clip-path: polygon(0 40%, 100% 40%, 100% 39%, 0 39%);
        clip-path: polygon(0 40%, 100% 40%, 100% 39%, 0 39%);
    }
    8% {
        -webkit-clip-path: polygon(0 20%, 100% 20%, 100% 21%, 0 21%);
        clip-path: polygon(0 20%, 100% 20%, 100% 21%, 0 21%);
    }
    9% {
        -webkit-clip-path: polygon(0 60%, 100% 60%, 100% 55%, 0 55%);
        clip-path: polygon(0 60%, 100% 60%, 100% 55%, 0 55%);
    }
    10.5% {
        -webkit-clip-path: polygon(0 30%, 100% 30%, 100% 31%, 0 31%);
        clip-path: polygon(0 30%, 100% 30%, 100% 31%, 0 31%);
    }
    11% {
        -webkit-clip-path: polygon(0 70%, 100% 70%, 100% 69%, 0 69%);
        clip-path: polygon(0 70%, 100% 70%, 100% 69%, 0 69%);
    }
    13% {
        -webkit-clip-path: polygon(0 40%, 100% 40%, 100% 41%, 0 41%);
        clip-path: polygon(0 40%, 100% 40%, 100% 41%, 0 41%);
    }
    14% {
        -webkit-clip-path: polygon(0 80%, 100% 80%, 100% 75%, 0 75%);
        clip-path: polygon(0 80%, 100% 80%, 100% 75%, 0 75%);
    }
    14.5% {
        -webkit-clip-path: polygon(0 50%, 100% 50%, 100% 51%, 0 51%);
        clip-path: polygon(0 50%, 100% 50%, 100% 51%, 0 51%);
    }
    15% {
        -webkit-clip-path: polygon(0 90%, 100% 90%, 100% 90%, 0 90%);
        clip-path: polygon(0 90%, 100% 90%, 100% 90%, 0 90%);
    }
    16% {
        -webkit-clip-path: polygon(0 60%, 100% 60%, 100% 60%, 0 60%);
        clip-path: polygon(0 60%, 100% 60%, 100% 60%, 0 60%);
    }
    18% {
        -webkit-clip-path: polygon(0 100%, 100% 100%, 100% 99%, 0 99%);
        clip-path: polygon(0 100%, 100% 100%, 100% 99%, 0 99%);
    }
    20% {
        -webkit-clip-path: polygon(0 70%, 100% 70%, 100% 71%, 0 71%);
        clip-path: polygon(0 70%, 100% 70%, 100% 71%, 0 71%);
    }
    21.9% {
        opacity: 1;
        transform: translate3d(0, calc(-1 * 5px), 0) scale3d(-1, -1, 1);
    }
    22%,
    100% {
        opacity: 0;
        transform: translate3d(0, 0, 0);
        -webkit-clip-path: polygon(0 0, 0 0, 0 0, 0 0);
        clip-path: polygon(0 0, 0 0, 0 0, 0 0);
    }
}


/* -------- Glitch Logo - TXT -------- */

#app {
  width: 100%;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 1;
}

#wrapperglt {
  text-align: center;
}

.sub {
  color: #d40000;
  font-size: 1.1em;
  font-weight: bold;
  text-shadow: 1px 1px 2px black, 0 0 1em red;
  letter-spacing: 1em;
}

/* Our mixin positions a copy of our text
directly on our existing text, while
also setting content to the appropriate
text set in the data-text attribute. */
.glt {
  position: relative;
  color: white;
  font-size: 2.0em;
  /* Animation provies a slight random skew. Check bottom of doc
  for more information on how to random skew. */
  animation: glitch-skew 1s infinite linear alternate-reverse;
}
.glt::before {
  content: attr(data-text);
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  left: 2px;
  text-shadow: -2px 0 #ff00c1;
  /* Creates an initial clip for our glitch. This works in
  a typical top,right,bottom,left fashion and creates a mask
  to only show a certain part of the glitch at a time. */
  clip: rect(44px, 450px, 56px, 0);
  /* Runs our glitch-anim defined below to run in a 5s loop, infinitely,
  with an alternating animation to keep things fresh. */
  animation: glitch-anim 5s infinite linear alternate-reverse;
}
.glt::after {
  content: attr(data-text);
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  left: -2px;
  text-shadow: -2px 0 #00fff9, 2px 2px #ff00c1;
  animation: glitch-anim2 1s infinite linear alternate-reverse;
}

/* Creates an animation with 20 steaps. For each step, it calculates 
a percentage for the specific step. It then generates a random clip
box to be used for the random glitch effect. Also adds a very subtle
skew to change the 'thickness' of the glitch.*/
@keyframes glitch-anim {
  0% {
    clip: rect(85px, 9999px, 50px, 0);
    transform: skew(0.16deg);
  }
  5% {
    clip: rect(3px, 9999px, 87px, 0);
    transform: skew(0.12deg);
  }
  10% {
    clip: rect(8px, 9999px, 38px, 0);
    transform: skew(0.13deg);
  }
  15% {
    clip: rect(35px, 9999px, 90px, 0);
    transform: skew(0.01deg);
  }
  20% {
    clip: rect(58px, 9999px, 5px, 0);
    transform: skew(0.62deg);
  }
  25% {
    clip: rect(94px, 9999px, 37px, 0);
    transform: skew(0.27deg);
  }
  30% {
    clip: rect(5px, 9999px, 26px, 0);
    transform: skew(0.17deg);
  }
  35% {
    clip: rect(66px, 9999px, 85px, 0);
    transform: skew(0.09deg);
  }
  40% {
    clip: rect(21px, 9999px, 6px, 0);
    transform: skew(0.44deg);
  }
  45% {
    clip: rect(66px, 9999px, 5px, 0);
    transform: skew(0.84deg);
  }
  50% {
    clip: rect(33px, 9999px, 45px, 0);
    transform: skew(0.78deg);
  }
  55% {
    clip: rect(35px, 9999px, 96px, 0);
    transform: skew(0.06deg);
  }
  60% {
    clip: rect(40px, 9999px, 30px, 0);
    transform: skew(0.03deg);
  }
  65% {
    clip: rect(32px, 9999px, 19px, 0);
    transform: skew(0.4deg);
  }
  70% {
    clip: rect(67px, 9999px, 9px, 0);
    transform: skew(0.97deg);
  }
  75% {
    clip: rect(90px, 9999px, 64px, 0);
    transform: skew(0.02deg);
  }
  80% {
    clip: rect(72px, 9999px, 88px, 0);
    transform: skew(0.83deg);
  }
  85% {
    clip: rect(84px, 9999px, 12px, 0);
    transform: skew(0.83deg);
  }
  90% {
    clip: rect(24px, 9999px, 71px, 0);
    transform: skew(0.54deg);
  }
  95% {
    clip: rect(89px, 9999px, 33px, 0);
    transform: skew(0.41deg);
  }
  100% {
    clip: rect(71px, 9999px, 8px, 0);
    transform: skew(0.73deg);
  }
}
@keyframes glitch-anim2 {
  0% {
    clip: rect(82px, 9999px, 93px, 0);
    transform: skew(0.35deg);
  }
  5% {
    clip: rect(70px, 9999px, 25px, 0);
    transform: skew(0.02deg);
  }
  10% {
    clip: rect(10px, 9999px, 89px, 0);
    transform: skew(0.96deg);
  }
  15% {
    clip: rect(31px, 9999px, 87px, 0);
    transform: skew(0.31deg);
  }
  20% {
    clip: rect(16px, 9999px, 83px, 0);
    transform: skew(0.2deg);
  }
  25% {
    clip: rect(87px, 9999px, 88px, 0);
    transform: skew(0.13deg);
  }
  30% {
    clip: rect(40px, 9999px, 1px, 0);
    transform: skew(0.51deg);
  }
  35% {
    clip: rect(74px, 9999px, 91px, 0);
    transform: skew(0.74deg);
  }
  40% {
    clip: rect(36px, 9999px, 49px, 0);
    transform: skew(0.54deg);
  }
  45% {
    clip: rect(85px, 9999px, 22px, 0);
    transform: skew(0.95deg);
  }
  50% {
    clip: rect(37px, 9999px, 43px, 0);
    transform: skew(0.48deg);
  }
  55% {
    clip: rect(89px, 9999px, 85px, 0);
    transform: skew(0.18deg);
  }
  60% {
    clip: rect(15px, 9999px, 34px, 0);
    transform: skew(0.99deg);
  }
  65% {
    clip: rect(81px, 9999px, 52px, 0);
    transform: skew(0.73deg);
  }
  70% {
    clip: rect(5px, 9999px, 69px, 0);
    transform: skew(0.96deg);
  }
  75% {
    clip: rect(17px, 9999px, 49px, 0);
    transform: skew(0.02deg);
  }
  80% {
    clip: rect(49px, 9999px, 55px, 0);
    transform: skew(0.29deg);
  }
  85% {
    clip: rect(92px, 9999px, 91px, 0);
    transform: skew(0.06deg);
  }
  90% {
    clip: rect(29px, 9999px, 74px, 0);
    transform: skew(0.27deg);
  }
  95% {
    clip: rect(81px, 9999px, 84px, 0);
    transform: skew(0.36deg);
  }
  100% {
    clip: rect(6px, 9999px, 38px, 0);
    transform: skew(0.53deg);
  }
}
@keyframes glitch-skew {
  0% {
    transform: skew(3deg);
  }
  10% {
    transform: skew(5deg);
  }
  20% {
    transform: skew(5deg);
  }
  30% {
    transform: skew(-3deg);
  }
  40% {
    transform: skew(4deg);
  }
  50% {
    transform: skew(-1deg);
  }
  60% {
    transform: skew(2deg);
  }
  70% {
    transform: skew(3deg);
  }
  80% {
    transform: skew(-2deg);
  }
  90% {
    transform: skew(5deg);
  }
  100% {
    transform: skew(2deg);
  }
}