@keyframes rotate-colors {
   0% { background-color: #0f181d; }
  50% { background-color: #05080a; }
  100% {background-color: #0f181d; }
}

@keyframes bounceIn {
  from, 20%, 40%, 60%, 80%, to {
    animation-timing-function: cubic-bezier(0.215, 0.610, 0.355, 1.000);
  }

  0% {
    opacity: 0;
    transform: scale3d(.3, .3, .3);
  }

  20% {
    transform: scale3d(1.1, 1.1, 1.1);
  }

  40% {
    transform: scale3d(.9, .9, .9);
  }

  60% {
    opacity: 1;
    transform: scale3d(1.03, 1.03, 1.03);
  }

  80% {
    transform: scale3d(.97, .97, .97);
  }

  to {
    opacity: 1;
    transform: scale3d(1, 1, 1);
  }
}

p {
  font-size: .9em;
}

.bottom {
  margin: 45px 0 0;
  display: flex;
  justify-content: space-between;
}

a {
  color: #0f181d;
}

h1 {
  margin: 0;
  font-family: 'Indie Flower', cursive;

  /* We use a negative margin to account for the strange whitespace that
     our font has. */
  margin-bottom: -5px;
}


.github-button {
  padding: 7px 15px 7px 45px;
  color: white;
  text-decoration: none;
  border-radius: 5px;
  border: 1px #ccc;
  box-shadow: 1px 1px 1px #0b1d38;
  background: url(../images/github.svg) no-repeat 12px 7px;
  background-size: 20px;
  fill: white;
  background-color: #0f181d;
  display: block;
  margin-top: auto;
  height: 20px;
  width: 80px;
  text-align: right;
}

.github-button:hover {
  background-color: #05080a;
}

.particles-js-canvas-el {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  z-index: -1;
  animation: rotate-colors 60s infinite;
}

.content {
  animation: 1s ease-out 0s 1 bounceIn;
  background: white;
  width: 90%;
  margin: 25vh auto;
  max-width: 600px;
  padding: 20px;
  box-sizing: border-box;
  border-radius: 6px;
  box-shadow: 1px 1px 1px #0b1d38;
  font-family: 'Open Sans', sans-serif;
}
