.box {
  padding: 0.75rem 1rem;
  color: black;
  background: #f3f3f3;
  border: 1px solid silver;
  animation-range-center: target 50%;
}