/*
  Theme Name: Giao diện website nội thất - Kanbox
  Description: 
  Author: Kanbox.vn
  Tags: Thiết kế website nội thất
  Template: flatsome
  Version: 1.0.0
*/  

body {
    background: #f2f2f2;
}

a.button.success.is-medium {
  position: relative;
  border-radius: 999px;
  padding: 8px 20px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

/* ICON */
a.button.success.is-medium .icon-phone {
  position: relative;
  font-size: 18px;
  animation: shake 1.2s infinite;
}

/* Vòng sóng */
a.button.success.is-medium .icon-phone::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 2px solid rgba(0, 200, 0, 0.5);
  transform: translate(-50%, -50%) scale(0.5);
  animation: pulse 1.5s infinite;
  z-index: -1;
}

a.button.success.is-medium .icon-phone::after {
  animation-delay: 0.7s;
}

/* Animation rung */
@keyframes shake {
  0% { transform: rotate(0deg); }
  20% { transform: rotate(-15deg); }
  40% { transform: rotate(15deg); }
  60% { transform: rotate(-10deg); }
  80% { transform: rotate(10deg); }
  100% { transform: rotate(0deg); }
}

/* Animation lan sóng */
@keyframes pulse {
  0% {
    transform: translate(-50%, -50%) scale(0.5);
    opacity: 1;
  }
  100% {
    transform: translate(-50%, -50%) scale(1.8);
    opacity: 0;
  }
}