a.button2 {
  font-family: inherit;
  font-size: 15px;
  background: #bc1d17;
  color: white;
  padding: 0.7em 2em;
  text-transform: capitalize;
  padding-left: 0.9em;
  display: flex;
  align-items: center;
  border: none;
  border-radius: 6px;
  overflow: hidden;
  transition: all 0.2s;
  cursor: pointer;
  margin-right: 7px;
  width: fit-content;
}

a.button2 span {
  display: block;
  margin-left: 0.3em;
  transition: all 0.3s ease-in-out;
}

a.button2 svg {
  display: block;
  transform-origin: center center;
  transition: transform 0.3s ease-in-out;
}

a.button2:hover .svg-wrapper {
  animation: fly-1 0.6s ease-in-out infinite alternate;
}

a.button2:hover svg {
  transform: translateX(1.2em) rotate(45deg) scale(1.1);
}

a.button2:hover span {
  transform: translateX(1.5em);
}

a.button2:active {
  transform: scale(0.95);
}
.center a.button2 {
	margin: 9px auto;
}
@keyframes fly-1 {
  from {
    transform: translateY(0.1em);
  }

  to {
    transform: translateY(-0.1em);
  }
}