.notify::before {
  content: "";
  display: block;
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background-color: inherit;
  border-radius: inherit;
  animation: notify-animation2 3s cubic-bezier(0.24, 0, 0.38, 1) 2s infinite alternate both;
  z-index: -1;
}
.notify {
  overflow: visible;
  position: relative;
}

.notify2 {
  animation: notify-animation2 3s cubic-bezier(0.24, 0, 0.38, 1) 4s infinite alternate;
  overflow: hidden;
  position: relative;
}

.fly i {
  transition: color 750ms;
}
.fly::before {
  content: "";
  display: block;
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background-color: inherit;
  z-index: -1;
  transition: background-color 750ms;
}
.fly:hover::before {
  background-color: #ff6f00;
}
.fly:hover i {
  color: #fff;
  animation: moveArrow 750ms;
}

@keyframes moveArrow {
  0% {
    transform: translateX(0px);
  }
  49% {
    transform: translateX(50px);
  }
  50% {
    transform: translateX(-10px);
  }
  100% {
    transform: translateX(0px);
  }
}
@keyframes notify-animation {
  0% {
    background-color: inherit;
  }
  50% {
    background-color: #005996;
  }
  100% {
    background-color: inherit;
  }
}
@keyframes notify-animation2 {
  45% {
    color: white;
    background-color: black;
  }
  50% {
    color: black;
    background-color: #E8D732;
  }
  55% {
    color: white;
    background-color: black;
  }
}