/* CSS is how you can add style to your website, such as colors, fonts, and positioning of your
   HTML content. To learn how to do something, just try searching Google for questions like
   "how to change link color." */

body {
  background-color: cyan;
  color: black;
  font-family: "Lucida Console", monospace ;
  background-image: url(https://dl.glitter-graphics.com/pub/1252/1252089gcxerfk5yi.gif), url(https://dl.glitter-graphics.com/pub/781/781870d6jn4lh6m2.jpg);
  background-repeat: no-repeat;
  background-position: left center, top left;
}

h1 {
  color: #ff00ff;
  /* from https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow */
  text-shadow:
    1px 1px 2px black,
    0 0 1em blue,
    0 0 0.2em blue;
}

.spanShake {
  animation-name: shake;
  animation-duration: 0.05s;
  animation-iteration-count: infinite;
  display: inline-block;
}

.shake {
  animation: shake;
  animation-timing-function: linear;
}

@keyframes shake {
  0% {
    transform: translateY(0);
  }
  25% {
    transform: translateY(-5px);
  }
  50% {
    transform: translateY(5px);
  }
  100% {
    transform: translateY(0px);
  }
}
/* modified from https://prismic.io/blog/css-text-animations#9-wavy-text */
.wave-text span {
    display: inline-block;
    animation: wave 2s ease-in-out infinite;
}

.wave-text span:nth-child(1) {
    animation-delay: 0s;
}
.wave-text span:nth-child(2) {
    animation-delay: 0.2s;
}
.wave-text span:nth-child(3) {
    animation-delay: 0.4s;
}
.wave-text span:nth-child(4) {
    animation-delay: 0.6s;
}
.wave-text span:nth-child(5) {
    animation-delay: 0.8s;
}
.wave-text span:nth-child(6) {
    animation-delay: 1s;
}
.wave-text span:nth-child(7) {
    animation-delay: 1.2s;
}
.wave-text span:nth-child(8) {
    animation-delay: 1.4s;
}
.wave-text span:nth-child(9) {
    animation-delay: 1.6s;
}
.wave-text span:nth-child(10) {
    animation-delay: 1.8s;
}

@keyframes wave {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}