/* Browser-Fixes: Firefox/Safari/Chrome sollen sich benehmen */

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

img,
video {
  max-width: 100%;
}

button,
input,
select,
textarea {
  font: inherit;
}

@supports not (backdrop-filter: blur(12px)) {
  .bb-gallery-card,
  .bb-gallery-empty,
  .bb-event-feed,
  .bb-admin-card,
  .bb-admin-topbar {
    background: rgba(8,17,31,0.94) !important;
  }
}

@supports (-webkit-touch-callout: none) {
  .bb-gallery-card,
  .bb-admin-card {
    transform: translateZ(0);
  }

  video {
    object-fit: contain;
  }
}

@-moz-document url-prefix() {
  .bb-gallery-image-link img {
    image-rendering: auto;
  }

  .bb-gallery-modal-media video {
    background: #000;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
  }
}
