.flexitype-btn {
  display: flex;
}

.flexitype-btn-wrapper {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  position: relative;
  z-index: 3;
  padding: 8px 8px 8px 30px;
  font-size: 16px;
  font-weight: 600;
  line-height: 26px;
  text-align: center;
  text-transform: uppercase;
  text-decoration: none;
  color: inherit;
  background-color: #626d26;
  border: none;
  border-radius: 50px;
  font-family: inherit;
  cursor: pointer;
  transition: 0.4s;
}

.flexitype-btn-wrapper .flexi-text {
  color: #ffffff;
  font-size: 18px;
  font-weight: 500;
  line-height: 20px;
  padding-top: 0;
}

.button-isi {
  overflow: hidden;
  transition: 0.4s;
}

.button-isi::before {
  content: "";
  z-index: -1;
  position: absolute;
  top: 50%;
  left: 100%;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background-color: #939d5c;
  transform-origin: 100% 50%;
  transform: scale3d(1, 2, 1);
  transition:
    transform 0.4s,
    opacity 0.4s;
  transition-timing-function: cubic-bezier(0.7, 0, 0.9, 1);
}

.flexitype-btn-wrapper .flexi-icon {
  position: relative;
  z-index: 2;
  display: inline-flex;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  background-color: #939d5c;
  border-radius: 50px;
  transition: 0.4s;
}

.flexitype-btn-wrapper:hover .flexi-icon {
  color: #ffffff;
  background-color: #ded4c7;
  transform: rotate(45deg);
}

.flexitype-btn-wrapper:hover .flexi-text {
  color: #3b3b39;
}

.flexitype-btn-wrapper:hover .flexi-icon svg path {
  fill: #3b3b39;
}

.button-isi:hover::before {
  transform: scale3d(10, 9, 1);
  transform-origin: 100% 55%;
  width: 33px;
}

@media (max-width: 767px) {
  .flexitype-btn-wrapper .flexi-text {
    font-size: 16px;
  }

  .flexitype-btn-wrapper .flexi-icon {
    width: 40px;
    height: 40px;
  }
}

@media (max-width: 400px) {
  .flexitype-btn-wrapper {
    padding: 8px 8px 8px 15px;
  }
}
