/*
 * Baseline styles
 */
body {
  background: #1c1c1c;
  text-align: center;
  padding: 20%;
}
h2 {
  color: #D3D5D4;
  margin: 0;
  font: 1.4em Poppins;
  text-transform: uppercase;
  letter-spacing: .1em;
}
h3 {
  color: #D3D5D4;
  margin: 0;
  font: .9em Poppins;
  text-transform: uppercase;
  letter-spacing: .1em;
}
p {
  color: #80C558;
  margin: 0;
  font: .7em Poppins;
  text-transform: uppercase;
  letter-spacing: .1em;
}



/*
 * Loading Dots
 * Can we use pseudo elements here instead :after?
 */
.loading span {
  display: inline-block;
  vertical-align: relative;
  width: 1.5em;
  height: 1.5em;
  margin: .2em;
  background: #33A035;
  border-radius: .6em;
  animation: loading 1s infinite alternate;
}

/*
 * Dots Colors
 * Smarter targeting vs nth-of-type?
 */
.loading span:nth-of-type(2) {
  background: #80C558;
  animation-delay: 0.4s;
}
.loading span:nth-of-type(3) {
  background: #D3D5D4;
  animation-delay: 0.6s;
}
.loading span:nth-of-type(4) {
  background: #80C558;
  animation-delay: 0.8s;
}
.loading span:nth-of-type(5) {
  background: #33A035;
  animation-delay: 1.0s;
}



/*
 * Animation keyframes
 * Use transition opacity instead of keyframes?
 */
@keyframes loading {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}