.btn-1 {
  padding: 10px 25px;
   display: block;
  width: fit-content;
  text-align: center;
  font-size: 15px;
   border: none;
  outline: none;
  color: #fff;
  background: #111;
  cursor: pointer;
  position: relative;
  z-index: 0;
  border-radius: 10px;
}
.btn-1:hover{
  color: #ffffff;
}
.btn-1:before {
  content: '';
  background: linear-gradient(45deg, #ff0000, #ff7300, #fffb00, #48ff00, #00ffd5, #002bff, #7a00ff, #ff00c8, #ff0000);
  position: absolute;
  top: -2px;
  left: -2px;
  background-size: 400%;
  z-index: -1;
  filter: blur(5px);
  width: calc(100% + 4px);
  height: calc(100% + 4px);
  animation: glowing 20s linear infinite;
  opacity: 0;
  transition: opacity .3s ease-in-out;
  border-radius: 10px;
}

.btn-1:active {
  color: #000
}

.btn-1:active:after {
  background: transparent;
}

.btn-1:hover:before {
  opacity: 1;
}

.btn-1:after {
  z-index: -1;
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  background: #111;
  left: 0;
  top: 0;
  border-radius: 10px;
}

@keyframes glowing {
  0% {
    background-position: 0 0;
  }

  50% {
    background-position: 400% 0;
  }

  100% {
    background-position: 0 0;
  }
}

.btn-2 {
  position: relative;
  display: inline-block;
  padding: 15px 30px;
  font-size: 16px;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: #ffffff;
  background-color: #4b4b4b;
  border: none;
  outline: none;
  overflow: hidden;
  cursor: pointer;
  border: 1px solid #ffffff;
  transition: all 0.3s ease-out;
}

.btn-2:hover {
  background-color: #000;
  color: #ffffff;
}

.btn-2::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0);
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background-color: #ffffff;
  opacity: 0.8;
  transition: all 0.5s ease-out;
}

.btn-2:hover::before {
  transform: translate(-50%, -50%) scale(20);
  opacity: 0;
}

.btn-3 {
  background-color: #f41818;
  color: #fff;
  border: none;
  display: block;
  width: fit-content;
  text-align: center;
  border-radius: 5px;
  padding: 10px 20px;
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: bold;
  box-shadow: 2px 2px 10px #1a1a1a;
  transition: all 0.2s ease-in-out;
  
 
}



.btn-3:hover {
  background-color: #292a27;
  color: #fff;
  box-shadow: 2px 2px 20px #292a27;
  transform: translateY(-2px);
}

.btn-4 {
  position: relative;
  margin: 0;
  width: fit-content;
text-align: center;
  padding: 0.8em 1em;
  outline: none;
  text-decoration: none;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  border: none;
  text-transform: uppercase;
  background-color: #111;
  border-radius: 10px;
  color: #fff;
  font-weight: 300;
  font-size: 15px;
  font-family: inherit;
  z-index: 0;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.02, 0.01, 0.47, 1);
}

.btn-4:hover {
  animation: sh0 0.5s ease-in-out both;
}
.btn-4:hover{
color: #f0f4f4;
}
@keyframes sh0 {
  0% {
    transform: rotate(0deg) translate3d(0, 0, 0);
  }

  25% {
    transform: rotate(7deg) translate3d(0, 0, 0);
  }

  50% {
    transform: rotate(-7deg) translate3d(0, 0, 0);
  }

  75% {
    transform: rotate(1deg) translate3d(0, 0, 0);
  }

  100% {
    transform: rotate(0deg) translate3d(0, 0, 0);
  }
}

.btn-4:hover span {
  animation: storm 0.7s ease-in-out both;
  animation-delay: 0.06s;
}

.btn-4::before,
.btn-4::after {
  content: '';
  position: absolute;
  right: 0;
  bottom: 0;
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: #fff;
  opacity: 0;
  transition: transform 0.15s cubic-bezier(0.02, 0.01, 0.47, 1), opacity 0.15s cubic-bezier(0.02, 0.01, 0.47, 1);
  z-index: -1;
  transform: translate(100%, -25%) translate3d(0, 0, 0);
}

.btn-4:hover::before,
.btn-4:hover::after {
  opacity: 0.15;
  transition: transform 0.2s cubic-bezier(0.02, 0.01, 0.47, 1), opacity 0.2s cubic-bezier(0.02, 0.01, 0.47, 1);
}

.btn-4:hover::before {
  transform: translate3d(50%, 0, 0) scale(0.9);
}

.btn-4:hover::after {
  transform: translate(50%, 0) scale(1.1);
}


.btn-5 {
  padding: 1em 2em;
  border: none;  
  display: block;
  width: fit-content;
  background: #292a27;
  text-align: center;
  border-radius: 5px;
  font-weight: bold;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #ffffff;
  transition: all 500ms;
  font-size: 15px;
  position: relative;
  overflow: hidden;
  outline: 2px solid #ffffff;
}

.btn-5:hover {
  color: #ffffff;
  transform: scale(1.05);
  outline: 2px solid #f41818;
  box-shadow: 2px 3px 10px -2px #e19191;
}

.btn-5::before {
  content: "";
  position: absolute;
  left: -50px;
  top: 0;
  width: 0;
  height: 100%;
  background-color: #000;
  transform: skewX(45deg);
  z-index: -1;
  transition: width 500ms;
}

.btn-5:hover::before {
  width: 200%;
}


