@keyframes fadeIn {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

@keyframes flicker {
  0% {
    opacity: 0.9;
  }
  2% {
    opacity: 0.8;
  }
  80% {
    opacity: 0.9;
  }
  85% {
    opacity: 0.65;
  }
  99% {
    opacity: 0.79;
  }
  100% {
    opacity: 0.7;
  }
}

@keyframes gliderblip {
  0% {
    transform: rotateX(10deg) skewX(10deg);
  }
  .5% {
    transform: rotateX(0deg) skewX(0deg);
  }
}

* {
  box-sizing: border-box;
}

a {
  display: inline-block;
  color: #911;
  padding: 0 0.125em;
  background: #000;
  font-weight: 500;
}

a:hover,
a:focus,
a:active {
  color: #000;
  background: #911;
}

::selection {
  background: magenta;
  color: black;
}

body {
  animation: fadeIn ease 1s;
  background: #000;
  color: #fff;
  font-family: sans-serif;
  margin: 1em auto;
  max-width: 36em;
  padding: 1em;
}

h1,
.subtitle {
  margin: 0;
  font-weight: bold;
}

h1 {
  font-size: 2em;
  text-shadow: -1px 0 magenta;
}

.subtitle::before {
  content: "> ";
}

h1::before {
  content: "";
  display: block;
  width: 100%;
  padding-bottom: 100%;
  background: url(glider.svg) no-repeat;
  background-size: cover;
  animation:
    flicker 2s infinite linear alternate-reverse,
    gliderblip 9s 6s infinite;
  margin-bottom: 1em;
  filter: drop-shadow(-1px -1px magenta);
}

ul {
  list-style-type: square;

  li {
    margin-bottom: 1em;
  }
}

.key-info {
  font-size: 0.85em;
  max-width: 100%;
  overflow: hidden;
}

header,
.body {
  position: relative;
  z-index: 200;
}

.vidbg {
  display: block;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.3;
  z-index: 100;
}

.footer {
  margin-top: 3rem;
  font-size: 0.85em;
  border-top: 1px solid;
  opacity: 0.25;
  text-align: right;

  &:hover,
  &:focus-within {
    opacity: 1;
    background: #000;
  }
}

.email::before {
  display: inline-block;
  content: "";
  width: 1em;
  height: 1em;
  margin-right: 0.5em;
  background: url(email.svg) no-repeat left center;
  background-size: contain;
}

h2::before {
  display: inline-block;
  content: "";
  width: 0.75em;
  height: 0.75em;
  margin-right: 0.5em;
  background: url(key.svg) no-repeat left center;
  background-size: contain;
}
