.but,
button {
  outline: none;
  border: none;
  background: inherit;
  box-sizing: border-box !important;
}
.button-1{
  background-color: white;
  color: black;
  border-radius: 10em;
  font-size: 17px;
  font-weight: 600;
  padding: 1em 2em;
  cursor: pointer;
  transition: all 0.3s ease-in-out;
  border: 1px solid black;
  box-shadow: 0 0 0 0 black;
}
.button-1:hover {
  transform: translateY(-4px) translateX(-2px);
  box-shadow: 2px 5px 0 0 black;
}
.button-1:active {
  transform: translateY(2px) translateX(1px);
  box-shadow: 0 0 0 0 black;
}
.button-2 {
  padding: 0.9em 1.6em;
  border: none;
  outline: none;
  color: #FFF;
  font-family: inherit;
  font-weight: 500;
  font-size: 17px;
  cursor: pointer;
  position: relative;
  z-index: 0;
  border-radius: 12px;
}

.button-2::after {
  content: "";
  z-index: -1;
  position: absolute;
  width: 100%;
  height: 100%;
  background-color: rgb(46, 46, 46);
  left: 0;
  top: 0;
  border-radius: 10px;
}

.button-2::before {
  content: "";
  background: linear-gradient(45deg,
      #FF0000, #002BFF, #FF00C8, #002BFF,
      #FF0000, #002BFF, #FF00C8, #002BFF);
  position: absolute;
  top: -2px;
  left: -2px;
  background-size: 600%;
  z-index: -1;
  width: calc(100% + 4px);
  height: calc(100% + 4px);
  filter: blur(8px);
  animation: glowing 20s linear infinite;
  transition: opacity .3s ease-in-out;
  border-radius: 10px;
  opacity: 0;
}

.button-2:hover::before {
  opacity: 1;
}

.button-2:active:after {
  background: transparent;
}

.button-2:active {
  color: #FFF;
  font-weight: bold;
}

.button-3 {
  padding: 0.9em 1.9em;
  font-size: 16px;
  border: none;
  background: #6285f8;
  color: white;
  cursor: pointer;
  position: relative;
  z-index: 1;
}

.button-3:hover {
  color: rgb(255, 255, 255);
}

.button-3::before,
.button-3::after {
  content: "";
  position: absolute;
  top: 0%;
  left: 0%;
  width: 100%;
  height: 100%;
  background: rgba(128, 128, 128, 0.096);
  backdrop-filter: blur(10px);
  z-index: -1;
  transition: all 0.4s;
}

.button-3::after {
  z-index: -2;
  transition: all 0.4s;
}

.button-3:hover::before {
  background: rgb(0, 0, 0, 0.315);
  border-radius: 10px;
}

.button-3:hover::after {
  background: linear-gradient(to right, #cb6ce6, #38b6ff);
  border-radius: 10px;
  transform: scale(1.07, 1.2) rotateX(180deg);
}

.button-4 {
  background-color: rgb(82, 163, 255);
  color: #f8f8f8;
  border: 0 none;
  padding: 15px 30px;
  text-decoration: none;
  display: inline-block;
  transition: background-color 300ms ease, color 300ms ease;
  font-size: 17px;
  position: relative;
  text-align: center;
  cursor: pointer;
}

.button-4::before,
.button-4::after {
  content: attr(data-label);
  display: inline-block;
  position: absolute;
  transition: all 300ms ease;
  width: 100%;
  left: 0;
  top: 50%;
  color: white;
}

.button-4::before {
  opacity: 0;
  transform: translateY(calc(-50% - 15px));
}

.button-4::after {
  opacity: 1;
  transform: translateY(-50%);
}

.button-4:hover {
  background-color: rgb(66, 133, 209);
}

.button-4:hover::before {
  opacity: 1;
  transform: translateY(-50%);
}

.button-4:hover::after {
  opacity: 0;
  transform: translateY(calc(-50% + 15px));
}

.button-4:active {
  background-color: rgb(82, 163, 255);
}


.button-5 {
  text-decoration: none;
  outline: none;
  background-color: #ffffff;
  color: rgb(27, 25, 25);
  display: inline-block;
  position: relative;
  padding: 15px 30px;
  border: 1px solid;
  border-image: linear-gradient(180deg, #ff3000, #ed0200, #ff096c, #d50082);
  border-image-slice: 1;
  font-family: 'Montserrat', sans-serif;
  text-transform: uppercase;
  overflow: hidden;
  letter-spacing: 2px;
  transition: .8s cubic-bezier(.165, .84, .44, 1);
}

.button-5:hover {
  background-color: rgb(66, 133, 209);
  background: rgba(255, 255, 255, 0);
}

.button-5:hover:before {
  bottom: 0%;
  top: auto;
  height: 100%;
}

.button-5:before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  height: 0;
  width: 100%;
  z-index: -1;
  color: white;
  background: linear-gradient(180deg, #ff3000, #ed0200, #ff096c, #d50082);
  transition: .8s cubic-bezier(.165, .84, .44, 1);
}