/*
 * Responsive native (pre-Flutter) splash for web.
 * Mobile (portrait) splash is shown by default; the desktop splash takes over at
 * the same 1100px breakpoint the app uses for its desktop layout
 * (Responsive.desktopBreakpoint in lib/common/responsive.dart).
 *
 * NOTE: running `flutter pub run flutter_native_splash:create` regenerates this
 * file from a single pubspec image and will overwrite the media query below.
 * Re-apply this responsive block after regenerating.
 */
body, html {
  margin:0;
  height:100%;
  background: #000000;
  background-image: url("img/splash-mobile.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* Desktop devices / wide browsers: use the landscape desktop splash. */
@media (min-width: 1100px) {
  body, html {
    background-image: url("img/splash-desktop.png");
  }
}

.center {
  margin: 0;
  position: absolute;
  top: 50%;
  left: 50%;
  -ms-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
}

.contain {
  display:block;
  width:100%; height:100%;
  object-fit: contain;
}

.stretch {
  display:block;
  width:100%; height:100%;
}

.cover {
  display:block;
  width:100%; height:100%;
  object-fit: cover;
}
