.pausable-animated-gif {
  display: block;
  position: relative;
  margin: 0 auto;
  font-size: 0;
  width: -moz-fit-content;
  width: fit-content;
  /* for blink/webkit */
  /* for firefox */
}
.pausable-animated-gif img {
  max-width: 100%;
}
.pausable-animated-gif summary {
  color: #fff;
  background: #000;
  width: 2rem;
  height: 2rem;
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  z-index: 2;
  border-radius: 50%;
  background-image: url('../images/pausable-animated-gif/play_circle_filled-24px.svg');
  background-size: 90% auto;
  background-repeat: no-repeat;
  background-position: center;
  background-color: white;
}
.pausable-animated-gif [open] summary {
  background-image: url('../images/pausable-animated-gif/pause_circle_filled-24px.svg');
  box-shadow: 0 0 0 2px #fff;
  background-color: white;
}
.pausable-animated-gif details summary::-webkit-details-marker {
  display: none;
}
.pausable-animated-gif details > summary:first-of-type {
  list-style: none;
}
.pausable-animated-gif summary + * {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: #000;
  color: #fff;
}
.pausable-animated-gif summary + * a {
  color: #fff;
}
.pausable-animated-gif summary:focus {
  box-shadow: 0 0 0 0.25rem orange;
  outline: transparent;
}
.pausable-animated-gif__animated-image img {
  display: inline-block;
  position: absolute;
  top: 0px;
  left: 0px;
  overflow: visible;
}
.pausable-animated-gif__warning-message {
  display: none;
}
.pause-anim-control__prefers-reduced-motion .pausable-animated-gif__warning-message {
  display: block;
}
:root {
  /* This is a test */
  --prefers-reduced-motion: 0;
}
@media (prefers-reduced-motion) {
  :root {
    --prefers-reduced-motion: 1;
  }
}
