.heart {
  transform: scale(1);
}

.contour {
  transition: fill 0.1s linear;
}

.main-body {
  fill: transparent;
  transition: fill 0.3s linear;
}

.core {
  fill: transparent;
  transition: fill 0.3s 0.03s linear;
}

.sparks {
  opacity: 0;
}

.like-icon:hover .main-body {
  transition-delay: 0.05s;
  fill: var(--accent-color);
}

.like-icon:hover .core {
  transition-delay: 0s;
  fill: var(--accent-color);
}

.like-icon:active .main-body {
  transition-delay: 0.05s;
  fill: var(--animation-fill-color, #ff0000);
}

.like-icon:active .core {
  transition-delay: 0s;
  fill: var(--animation-fill-color, #ff0000);
}

.like-icon.is-liked .main-body {
  transition-delay: 0.05s;
  fill: var(--animation-fill-color, #ff0000);
}

.like-icon.is-liked .core {
  transition-delay: 0s;
  fill: var(--animation-fill-color, #ff0000);
}

.like-icon.is-liked .contour {
  transition-duration: 0.3s;
  transition-delay: 0.06s;
  fill: var(--animation-fill-color, #ff0000);
}

.like-icon.is-liked .heart {
  transform-origin: center;
  animation: heart_scale 0.3s ease-in 0.1s;
}

.like-icon.is-liked .sparks {
  transform-origin: center;
  animation: show_sparks 0.3s ease-in 0.3s;
}

@keyframes heart_scale {
  from {
    transform: scale(1);
  }

  to {
    transform: scale(1.25);
  }
}


@keyframes show_sparks {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}
