/* 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-image: url("bgdoof.png");
  background-color: white;
  color: #5a008a;
  font-family: "Comic Sans MS", "Comic Sans", cursive;
}

button {
  background-color: #a700ff;
  color: #5a008a;
  font-family: "Comic Sans MS", "Comic Sans", cursive;
}

h1 {
  animation: slide 0.02s linear infinite;
  }
  
.border {
  
  position: relative;
  background-color: #a700ff;
  float: right;
  top: 50px;
  right: 70px;
  color: #5a008a;
  width: 750px;
  height: 500px;
    animation-direction: reverse;
  animation: borderidle 3s ease infinite;
  }

@keyframes slide {
  0% {
    transform: translate3d(0, 0, 0);
  }
    50% {
    transform: translate3d(0, -3px, 0);
  }
  100% {
    transform: translate3d(-3px, 0, 0); /* The image width */
  }
}

@keyframes borderidle {
  0% {
    transform: translate3d(0, 5px, 0);
  }
    50% {
    transform: translate3d(0, -10px, 0);
  }
    100% {
    transform: translate3d(0, 5px, 0); /* The image width */
  }
}