@keyframes heartbeat {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.2); /* Grows to 120% of its original size */
  }
}

.normal-heart {
  animation: heartbeat 0.75s linear infinite;
  display: inline-block;
  color: red; /* Adjust the color as needed */
  font-size: 48px; /* Adjust the size as needed */
}

.fast-heart {
  animation: heartbeat 0.5s linear infinite;
  display: inline-block;
  color: red; /* Adjust the color as needed */
  font-size: 48px; /* Adjust the size as needed */
}

/* You may want to adjust the scale in the @keyframes if you want different intensities of "beating" */