/* Reset default spacing and make the image span the viewport width */
html, body {
  height: 100%;
  margin: 0;
}
body {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #000; /* optional, looks nicer for gifs with transparency */
}
.fullwidth-gif {
  display: block;
  width: 100vw;
  max-width: 100%;
  height: auto;
  object-fit: contain;
}

/* Play button for autoplay fallback */
.play-btn {
  position: fixed;
  left: 1rem;
  bottom: 1rem;
  z-index: 9999;
  padding: 0.5rem 0.75rem;
  background: rgba(0,0,0,0.6);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 6px;
  font-family: system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial;
  cursor: pointer;
}

.play-btn[aria-hidden="true"] {
  display: none;
}
