.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: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 {
  --primary-color: #e19191;
  --secondary-color: #daa895;
  --border-radius: 8px;
  --shadow-color: rgba(0, 0, 0, 0.2);
  --shadow-offset: 2px;
  --shadow-blur: 4px;
  --ripple-color: rgba(255, 255, 255, 0.5);
  background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
  border: none;
  border-radius: var(--border-radius);
  color: white;
  font-size: 15px;
  padding: 1rem 2rem;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  box-shadow: var(--shadow-offset) var(--shadow-offset) var(--shadow-blur) var(--shadow-color);
  transition: transform 0.3s ease-in-out, background 0.3s ease-in-out;
}

.btn-2:hover {
  transform: scale(1);
  background: linear-gradient(to right, var(--secondary-color), var(--primary-color));
}

.btn-2:focus {
  outline: none;
}

.btn-2:active {
  animation: ripple 0.6s ease-out;
}

@keyframes ripple {
  to {
    transform: scale(1);
    opacity: 0;
  }
}

.btn-2::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 0;
  height: 0;
  background-color: var(--ripple-color);
  border-radius: 50%;
  opacity: 0.5;
}

.btn-2:active::after {
  width: 100%;
  height: 100%;
  transition: width 0.3s ease-out, height 0.3s ease-out;
}



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



.btn-3:hover {
  background-color: #292a27;
  color: #e19191;
  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: #333;
  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: #e19191;
  transition: all 500ms;
  font-size: 15px;
  position: relative;
  overflow: hidden;
  outline: 2px solid #e19191;
}

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

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

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


