html {
  touch-action: pan-down;
}

body,
html {
  height: 100%;
  margin: 0;
}

#app {
  height: 100%;
  width: 100%;
}

#app > div {
  height: 100%;
}

:not(input) {
  user-select: none;
  -moz-user-select: none; /* Firefox */
  -ms-user-select: none; /* Internet Explorer */
  -khtml-user-select: none; /* KHTML browsers (e.g. Konqueror) */
  -webkit-user-select: none; /* Chrome, Safari, and Opera */
  -webkit-touch-callout: none; /* Disable Android and iOS callouts*/
}

.page-enter {
  transform: translate(100%, 0);
}

.page-enter-active {
  transform: translate(0, 0);
}

.page-exit {
  transform: translate(-100%, 0);
}

.page-backward.page-enter {
  transform: translate(-100%, 0);
}

.page-backward.page-enter-active {
  transform: translate(0, 0);
}

.page-backward.page-exit {
  transform: translate(100%, 0);
}

#app.demo {
  height: calc(100% - calc(min(560px, 100vw) * 1080 / 1920));
  width: 100%;
}

#demoStream {
  position: fixed;
  right: 0;
  bottom: 0;
  height: calc(min(560px, 100vw) * 1080 / 1920);
  width: min(560px, 100vw);
}

@media (min-width: 600px) {
  #app.demo {
    height: 100%;
    width: calc(100% - min(560px, 100vw));
  }

  #demoStream {
    right: 0;
    bottom: calc(50% - 32px - min(560px, 100vw) * 1080 / 1920 / 2);
  }
}

