html, body {
  margin: 0;
  padding: 0;
  background: #111;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

#scene {
  position: relative;
  width: 300px;
  height: 300px;
}

#fox {
  width: 100%;
  cursor: pointer;
  transition: transform 0.15s ease;
}

#fox:hover {
  transform: scale(1.05);
}

.explosion {
  position: absolute;
  inset: 0;
  background: url("explosion.png") center / contain no-repeat;
  animation: boom 0.6s steps(5) forwards;
}

@keyframes boom {
  from { opacity: 1; }
  to   { opacity: 0; }
}
