/* 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: darkred;
  color: white;
  font-family: Verdana;
}


body:hover{
  animation: bg-animation 5s infinite;
}



h1{
  animation: animation 3s infinite;
}

h1:hover{
  color: red;
}


.img:hover{
  animation: rotate 3s infinite;
}


@keyframes animation{
  50% {transform: translate(50%, 10%);}
}


@keyframes bg-animation{
  50% {background-color: red;}
}


@keyframes rotate{
  50% {transform: rotate(1turn);}
}