audio:hover {
    transition-duration: 1s;
    transform: translate(0px, 400px);
}
video:hover {
    transition-duration: 2s;
    transform: rotate(3600090deg);
}
h1:hover {
    transition-duration: 10s;
    transform: skewX(8640070deg);
}
footer:hover {
    transition-duration: 1s;
    transform: scale(8.6);   
}
body {
    text-align: center;
}
body {
    animation-name: spin;
    animation-duration: 0.125s;
    animation-timing-function: ease-in;
    animation-delay: 1s;
    animation-iteration-count: infinite;
    animation-direction: alternate;
}
@keyframes spin {
  0%   { background-color: yellowgreen;}
  25%  { background-color: aliceblue;}
  50%  { background-color: aqua;}
  75%  { background-color: black;}
  100% { background-color: brown;}
}
#div1 {
    width: 100px;
    height: 100px;
    background-color: cyan;
    transition: width 2s, height 4s, background-color 3s;
}
#div1:hover {
    width: 1000px;
    height: 1000px;
    background-color: red;
}
#div2 {
    width: 100px;
    height: 100px;
    background-color: blue;
    transition: width 2s, height 4s, background-color 3s;
}
#div2:hover {
    width: 1000px;
    height: 1000px;
    background-color: yellow;
}
#div3 {
    width: 100px;
    height: 100px;
    background-color: purple;
    transition: width 2s, height 4s, background-color 3s;
}
#div3:hover {
    width: 1000px;
    height: 1000px;
    background-color: lightgreen;
}
#div4 {
    width: 100px;
    height: 100px;
    background-color: pink;
    transition: width 2s, height 4s, background-color 3s;
}
#div4:hover {
    width: 1000px;
    height: 1000px;
    background-color: darkgreen;
}
#div5 {
    width: 100px;
    height: 100px;
    background-color: whitesmoke;
    transition: width 2s, height 4s, background-color 3s;
}
#div5:hover {
    width: 1000px;
    height: 1000px;
    background-color: black;
}

#div1 {
  width: 100px;
  height: 100px;
  position: relative;
  animation-name: myAnimation;
  animation-duration: 0.125s;
  animation-timing-function: ease-in-out;
  animation-delay: 1s;
  animation-iteration-count: infinite;
  animation-direction: alternate;
}

#div2 {
  width: 100px;
  height: 100px;
  position: relative;
  animation-name: myAnimation2;
  animation-duration: 0.125s;
  animation-timing-function: ease-in-out;
  animation-delay: 1s;
  animation-iteration-count: infinite;
  animation-direction: alternate;
}

#div3 {
  width: 100px;
  height: 100px;
  position: relative;
  animation-name: myAnimation3;
  animation-duration: 0.125s;
  animation-timing-function: ease-in-out;
  animation-delay: 1s;
  animation-iteration-count: infinite;
  animation-direction: alternate;
}

#div4 {
  width: 100px;
  height: 100px;
  position: relative;
  animation-name: myAnimation4;
  animation-duration: 0.125s;
  animation-timing-function: ease-in-out;
  animation-delay: 1s;
  animation-iteration-count: infinite;
  animation-direction: alternate;
}

#div5 {
  width: 100px;
  height: 100px;
  position: relative;
  animation-name: myAnimation5;
  animation-duration: 0.125s;
  animation-timing-function: ease-in-out;
  animation-delay: 1s;
  animation-iteration-count: infinite;
  animation-direction: alternate;
}
@keyframes myAnimation {
  0%  {background-color:white;}
  25% {background-color:blue;}
  50% {background-color:green;}
  75% {background-color:black;}
  100%{background-color:red;}
}
@keyframes myAnimation2 {
  0%  {background-color:blue;}
  25% {background-color:green;}
  50% {background-color:black;}
  75% {background-color:red;}
  100%{background-color:white;}
}
@keyframes myAnimation3 {
  0%  {background-color:green;}
  25% {background-color:black;}
  50% {background-color:red;}
  75% {background-color:white;}
  100%{background-color:blue;}
}
@keyframes myAnimation4 {
  0%  {background-color:black;}
  25% {background-color:red;}
  50% {background-color:white;}
  75% {background-color:blue;}
  100%{background-color:green;}
}
@keyframes myAnimation5 {
  0%   {background-color:red;}
  25%  {background-color:white;}
  50%  {background-color:blue;}
  75%  {background-color:green;}
  100% {background-color:black;}
}