#grid rect {
  transition: all 0.5s ease-in-out;
}

.st0 {
  fill: currentColor;
}