
button {
    position: relative;
    overflow: hidden;
    padding: 10px 20px;
    background-color: #35bd65;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1rem;
    margin-top: 10px;
    box-shadow: #333 0px 4px 8px;
    margin-left: 10px;
    z-index: 1;
    transition: color 0.3s ease;
    margin-bottom: 30px;
}

.trash_btn {
    background-color: #e42828;
    z-index: 2;
}

.trash_btn2 {
    background-color: #e42828;
    z-index: 2;
}


button::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background-color: black;
    transition: left 0.4s ease;
    z-index: -1;
}

button:hover::before {
    left: 0;
}

button:hover {
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.5);

}

.gradient-button {
  position: relative;
  padding: 16px 32px;
  font-size: 18px;
  font-weight: bold;
  color: white;
  background: transparent;
  border: none;
  cursor: pointer;
  border-radius: 25px;
  overflow: hidden;
  transition: transform 0.2s ease;
}

.gradient-button:hover {
  transform: scale(1.03);
}

.gradient-button::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: conic-gradient(
    from 0deg,
    #ff6b6b,
    #4ecdc4,
    #45b7d1,
    #96ceb4,
    #feca57,
    #ff9ff3,
    #ff6b6b
  );
  z-index: -2;
  filter: blur(10px);
  transform: rotate(0deg);
  transition: transform 1.5s ease-in-out;
}

.gradient-button:hover::before {
  transform: rotate(180deg);
}

.gradient-button::after {
  content: "";
  position: absolute;
  inset: 3px;
  background: rgb(54, 53, 53);
  border-radius: 47px;
  z-index: -1;
  filter: blur(5px);
}

.gradient-text {
  color: transparent;
  background: conic-gradient(
    from 0deg,
    #ff6b6b,
    #4ecdc4,
    #45b7d1,
    #96ceb4,
    #feca57,
    #ff9ff3,
    #ff6b6b
  );
  background-clip: text;
  filter: hue-rotate(0deg);
}

.gradient-button:hover .gradient-text {
  animation: hue-rotating 2s linear infinite;
}

.gradient-button:active {
  transform: scale(0.99);
}

@keyframes hue-rotating {
  to {
    filter: hue-rotate(360deg);
  }
}