.anim-link:hover::before {
  opacity: 0;
}

.anim-link:hover::after {
  opacity: 1;
}

.anim-link::before {
  content: "";
  transition: opacity 0.25s ease-in-out;
  opacity: 1;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  position: absolute;
}

.anim-link::after {
  content: "";
  transition: opacity 0.25s ease-in-out;
  opacity: 0;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  position: absolute;
}

