.but,
button {
  outline: none;
  border: none;
  background: inherit;
  padding: 10px;
  box-sizing: border-box !important;
}
.button-1 {
    --primary-color: #ff7f50;
    --secondary-color: #ffa07a;
    --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: 1.2rem;
    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;
  }

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

  .button-1:focus {
    outline: none;
  }

  .button-1:active {
    animation: ripple 0.6s ease-out;
  }

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

  .button-1::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;
  }

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


    .button-2 {
      background-color: #c43f3f;
      color: #fff;
      font-size: 20px;
      font-weight: bold;
      border: none;
      border-radius: 8px;
      padding: 12px 24px;
      text-transform: uppercase;
      letter-spacing: 1px;
      box-shadow: 0px 4px 0px #a13333;
      transition: all 0.2s ease-in-out;
    }
  
    .button-2:hover {
      background-color: #a13333;
      box-shadow: 0px 2px 0px #751c1c;
      transform: translateY(2px);
    }

.button-3 {
  border: none;
  background-color: seagreen;
  color: white;
  font-size: 1.15rem;
  font-weight: 500;
  padding: 0.8rem 2rem;
  border-radius: 0.5rem;
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
  cursor: pointer;
  transform: translate(1) translate(0, 0);
  transition: transform 225ms, box-shadow 225ms;
}

.button-3:hover {
  transform: scale(1.05) translate(0, -0.15rem);
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.35);
}

.button-3:active {
  transform: scale(1) translate(0, 0.15rem);
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
}

.button-4 {
  position: relative;
  padding: 10px 50px;
  font-size: 20px;
  border: 1px solid #002B5B;
  text-transform: uppercase;
  cursor: pointer;
  border-radius: 15px;
  transition: all 0.5s;
  z-index: 1;
}

.button-4:hover {
  transform: scale(1.1);
  color: #fff;
  transition: all 0.5s;
}

.button-4::after {
  position: absolute;
  content: "";
  top: 50%;
  left: 50%;
  width: 0%;
  height: 100%;
  border-radius: 15px;
  background: linear-gradient(#002B5b, #EA5455);
  transition: all 0.5s;
  z-index: -1;
}

.button-4:hover::after {
  top: 0%;
  left: 0%;
  width: 100%;
  transition: all 0.5s;
}
.button-5   {
    width: fit-content;
    height: 45px;
    background: #ffffff0d;
    border-radius: 8px;
    border: 2px solid #334b79;
    font-size: 15px;
    font-weight: bold;
    color: #334b79;
    -webkit-transition: 0.5s all ease;
    transition: 0.5s all ease;
    position: relative;
    overflow: hidden;
    padding: 10px 25px;
    z-index: 1;
  }

    .button-5:before {
    width: 50%;
    height: 100%;
    content: "";
    margin: auto;
    position: absolute;
    top: 0%;
    left: -50%;
    background: #334b79;
    transition: all 0.5s ease;
    z-index: -1;
  }

    .button-5:after {
    width: 50%;
    height: 100%;
    content: "";
    margin: auto;
    position: absolute;
    top: 0%;
    left: 100%;
    background: #334b79;
    transition: all 0.5s ease;
    z-index: -1;
  }

    .button-5:hover {
    color: white;
    cursor: pointer;
  }

    .button-5:hover:before {
    top: 0;
    left: 0;
  }

    .button-5:hover:after {
    top: 0;
    left: 50%;
  }