.creative-button-box {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: right;
  padding-right: 30px;
  border-radius: 30px;
  overflow: hidden;
  cursor: pointer;
  height: 60px;
  width: auto;
  max-width: 100%;
  transition: all 0.5s ease-in-out;
}

.text {
  position: relative;
  z-index: 2;
  font-weight: 500;
  font-family: sans-serif;
  padding: 10px 10px 10px 24px;
  transition: color 0.5s ease-in-out;
}

.img-c1 {
  position: absolute;
  top: 6px;
  left: 8px;
  width: 50px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
  overflow: hidden;
  padding: 10px;
  box-sizing: border-box;
  transition: width 0.6s ease, height 0.6s ease, border-radius 0.6s ease, top 0.6s ease, left 0.6s ease;
}

.creative-button-box:hover .img-c1 {
  width: calc(100% - 12px);
  height: calc(100% - 12px);
  top: 6px;
  left: 6px;
  border-radius: 30px;
  padding: 10px;
}

.creative-button-box:hover .animated-vector {
  animation: move-vector 1s forwards;
}

.icon-wrapper {
  position: relative;
  width: 50px;
  height: 50px;
  overflow: hidden;
  cursor: pointer;
  z-index: 2;
}

.icon {
  position: absolute;
  top: 50%;
  width: 20px;
  height: 20px;
  transform: translateY(-50%);
}

.icon-1 {
      left: 23px;
  opacity: 1;
  transition: all 0.6s ease;
}

.icon-2 {
  left: -40px;
  opacity: 0;
  transition: all 0.6s ease 0.2s;
}

.creative-button-box:hover .icon-wrapper .icon-1 {
  left: 80px;
  opacity: 0;
}

.creative-button-box:hover .icon-wrapper .icon-2 {
  left: 20px;
  opacity: 1;
}

@keyframes move-vector {
  0% { left: -100%; }
  50% { left: 100%; }
  100% { left: 0%; }
}

.btnbody {
  text-decoration: none !important;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .creative-button-box {
    width: 100%;
    max-width: 320px;
    height: 50px;
    padding-right: 20px;
  }

  .text {
    font-size: 12px !important;
    padding: 8px;
  }

  .img-c1 {
    width: 38px !important;
    height: 38px !important;
    left: 6px;
    top: 4px;
  }

  .icon-wrapper {
    width: 32px;
    height: 32px;
  }

  .icon {
    width: 18px !important;
    height: 18px !important;
  }

  .creative-button-box:hover .img-c1 {
    width: calc(100% - 10px) !important;
    height: calc(100% - 10px) !important;
    left: 5px !important;
    top: 5px !important;
    border-radius: 25px !important;
  }

  .creative-button-box:hover .icon-wrapper .icon-1 {
    left: 60px !important;
    opacity: 0;
  }

  .creative-button-box:hover .icon-wrapper .icon-2 {
    left: 18px !important;
    opacity: 1;
  }
}

@media (max-width: 480px) {
  .creative-button-box {
    flex-direction: row;
    justify-content: center;
    width: 100%;
    max-width: 280px;
    height: 45px;
    padding-right: 10px;
  }

  .text {
    font-size: 13px;
  }

  .img-c1 {
    width: 38px;
    height: 38px;
    left: 5px;
  }

  .icon-wrapper {
    width: 38px;
    height: 38px;
  }

  .icon {
    width: 16px;
    height: 16px;
  }
}
