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: inherit;
  font-size: 100%;
  vertical-align: baseline;
}

html {
  line-height: 1;
}

ol, ul {
  list-style: none;
}

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

caption, th, td {
  text-align: left;
  font-weight: normal;
  vertical-align: middle;
}

q, blockquote {
  quotes: none;
}
q:before, q:after, blockquote:before, blockquote:after {
  content: "";
  content: none;
}

a img {
  border: none;
}

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

body {
  overflow: hidden;
}


.stars, .twinkling {
  position: absolute;
  display: block;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  width: 100%;
  height: 100%;
}

.stars {
  z-index: 0;
  background: #212537 url("404-bg.png") repeat top center;
}

.twinkling {
  z-index: 1;
  background: transparent url("twinkle.png") repeat top center;
  animation: move-twink-back 400s linear infinite;
}

@keyframes move-twink-back {
  from {
    background-position: 0 0;
  }
  to {
    background-position: -10000px 5000px;
  }
}


.content {
    color: white;
    font-size: 16px;
    display: block;
    position: absolute;
    width: 100%;
    z-index: 10000;
}
.content * {
    font-family: "lato", sans-serif;
}
.content .title {
  font-family: "finalsix", sans-serif;
}

.title {
  margin-top: 40px;
  font-size: 42px;
  display: block;
  text-align: center;
}

.message {
  margin-top: 40px;
  font-size: 18px;
  display: block;
  text-align: center;
}

.hosting-link {
  margin-top: 40px;
  font-size: 22px;
  text-decoration: underline;
  color: white;
  font-weight: bold;
  display: block;
  text-align: center;
  transition: font-size 200ms;
}

.hosting-link:hover {
  font-size: 24px;
  color: #aaa
}

.triton {
  position: absolute;
  z-index: 1000;

  --current-height: 100px;
  --current-rotation: 0deg;
  --target-height: 300px;
  --target-rotation: 90deg;
  --animation-duration: 40s;
  --orientation: -1;
}

.triton.right {
  animation: tritonRightMovement var(--animation-duration) linear;
}

.triton.left {
  animation: tritonLeftMovement var(--animation-duration) linear;
}

@keyframes tritonLeftMovement {
  from {
    left: -300px;
    transform: rotate(var(--current-rotation)) scaleX(var(--orientation));
    top: var(--current-height);
  }
  to {
    left: calc(100vw + 300px);
    transform: rotate(var(--target-rotation)) scaleX(var(--orientation));
    top: var(--target-height);
  }
}


@keyframes tritonRightMovement {
  from {
    right: -300px;
    transform: rotate(var(--current-rotation)) scaleX(var(--orientation));
    top: var(--current-height);
  }
  to {
    right: calc(100vw + 300px);
    transform: rotate(var(--target-rotation)) scaleX(var(--orientation));
    top: var(--target-height);
  }
}
