.but,
button {
  outline: none;
  border: none;
  background: inherit;
  padding: 10px;
  box-sizing: border-box !important;
}
.button-1 {
  font-size: 10px;
  position: relative;
  display: inline-block;
  padding: 16px 28px;
  font-weight: bold;
  text-transform: uppercase;
  color: #fff;
  text-align: center;
  text-decoration: none;
  background-color: #1f347b;
  border-radius: 40px;
  overflow: hidden;
  border: none;
  z-index: 1;
}

.button-1:before {
  transition: 1s;
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background-color: #fff;
  border-radius: 50%;
  opacity: 0;
  transform: translate(-50%, -50%);
  z-index: -1;
}

.button-1:hover:before {
  width: 300px;
  height: 300px;
  opacity: 0.4;
  transition: all 0.5s ease-out;
}

.button-1:hover {
  background-color: #fff;
  color: #202960;
  transition: all 0.5s ease-out;
}

.button-1:hover:after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background-color: #255ea4;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  z-index: -2;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% {
    width: 0;
    height: 0;
    opacity: 0.5;
  }

  100% {
    width: 200px;
    height: 200px;
    opacity: 0;
  }
}

.button-2 {
  font-size: 10px;
  display: inline-block;
  padding: 10px 10px;
  border: 2px solid #4a5568;
  background-color: #4a5568;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease-in-out;
}

.button-2::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background-color: #fff;
  opacity: 0.2;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: all 0.3s ease-in-out;
}

.button-2:hover {
  background-color: #fff;
  color: #4a5568;
  box-shadow: rgba(50, 50, 93, 0.25) 0px 13px 27px -5px, rgba(0, 0, 0, 0.3) 0px 8px 16px -8px;
}

.button-2:hover::before {
  width: 200%;
  height: 200%;
}

.button-3 {
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  display: inline-block;
  text-align: center;
  font-weight: bold;
  padding: 0.7em 2em;
  border: 3px solid #ff0072;
  border-radius: 2px;
  position: relative;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.16), 0 3px 6px rgba(0, 0, 0, 0.1);
  color: #ff0072;
  text-decoration: none;
  transition: 0.3s ease all;
  z-index: 1;
}

.button-3:before {
  transition: 0.5s all ease;
  position: absolute;
  top: 0;
  left: 50%;
  right: 50%;
  bottom: 0;
  opacity: 0;
  content: '';
  background-color: #ff0072;
  z-index: -1;
}

.button-3:hover,
.button-3:focus {
  color: white;
}

.button-3:hover:before,
.button-3:focus:before {
  transition: 0.5s all ease;
  left: 0;
  right: 0;
  opacity: 1;
}

.button-3:active {
  transform: scale(0.9);
}

.button-4 {
  padding: 10px;
  font-size: 10px;
  margin-top: 15px;
  border: 0;
  box-shadow: 0px 0px 40px 0px red;
  font-weight: bolder;
  color: white;
  border-radius: 0.3rem;
  background-color: red;
  letter-spacing: 0.2rem;
}

.button-4:hover {
  animation: changeBg 1s infinite;
  -webkit-animation-duration: 10s;
}

@keyframes changeBg {
  0%,
  100% {
    box-shadow: 0px 0px 40px 0px red;
  }

  25% {
    box-shadow: 0px 0px 40px 0px turquoise;
    background-color: turquoise;
  }

  50% {
    box-shadow: 0px 0px 40px 0px purple;
    background-color: purple;
  }

  75% {
    box-shadow: 0px 0px 40px 0px rgb(191, 204, 11);
    background-color: rgb(191, 204, 11);
  }
}

.button-5 {
  font-size: 10px;
  font-weight: bold;
  border: 0px;
  color: white;
  background-color: #1877f2;
  padding: 10px 15px;
  border-radius: 15px;
  cursor: pointer;
}

.button-5:hover {
  background-image: linear-gradient(90deg, #b799ff 0%, #acbcff 50%, #aee2ff 75%, #e6fffd 100%);
  color: black;
  animation: slide 10s linear infinite;
}

@keyframes slide {
  100% {
    background-position: 50rem;
  }
}
