.but,
button {
  outline: none;
  border: none;
  background: inherit;
  padding: 10px;
  box-sizing: border-box !important;
}
.button-1 {
  text-decoration: none;
    outline: none;
    display: inline-block;
    padding: 20px 30px;
    margin: 10px 20px;
    position: relative;
    color: rgb(73, 58, 58);
    border: 1px solid rgba(34, 31, 31, 0.4);
    background: none;
    font-weight: 300;
    font-family: 'Montserrat', sans-serif;
    text-transform: uppercase;
    letter-spacing: 2px;
}
.button-1:before {
  bottom: 0;
  left: 0;
  border-left: 1px solid rgb(118, 111, 111);
  border-top: 1px solid rgb(118, 111, 111);
  transition: 0s ease opacity .8s, .2s ease width .4s, .2s ease height .6s;
}
.button-1:before,
.button-1:after {
  content: '';
  position: absolute;
  width: 0;
  height: 0;
  opacity: 0;
  box-sizing: border-box;
}
.button-1:hover {
  background: rgba(255, 255, 255, .2);
}
.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 {
  text-decoration: none;
    outline: none;
    display: inline-block;
    color: white;
    font-weight: bold;
    letter-spacing: 2px;
    font-family: 'Montserrat', sans-serif;
    padding: 15px 30px;
    margin: 10px 20px;
    border-radius: 10px;
    box-shadow: 0 0 40px 40px #4a1784 inset, 0 0 0 0 #3b0e80;
    transition: 150ms ease-in-out;
}
.button-3:hover {
  box-shadow: 0 0 10px 0 #3b0e80 inset, 0 0 10px 4px #3b0e80;
  color: #3b0e80;
}

.button-4 {
  text-decoration: none;
    outline: none;
    display: inline-block;
    line-height: 45px;
    border-radius: 45px;
    margin: 10px 20px;
    font-family: 'Montserrat', sans-serif;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 3px;
    font-weight: 600;
    color: #524f4e;
    background: white;
    box-shadow: 0px 8px 15px rgba(0, 0, 0, 0.1);
    transition: .3s;
}


.button-4:hover {
  background: #769b8c;
    box-shadow: 0px 15px 20px rgba(46, 229, 157, 0.4);
    color: #fff;
    transform: translateY(-7px);
}

.button-5 {
  text-decoration: none;
    outline: none;
    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);
}