/* /viewer/viewer.css */

.viewer {
  position: fixed;
  top: 0;
  left: 0;

  width: 100vw;
  height: 100vh;

  overflow-x: auto;
  overflow-y: hidden;

  display: flex;
  align-items: center;

  background: black;
}

.viewer img {
  height: 100vh;
  width: auto;

  flex-shrink: 0;
  user-select: none;
  pointer-events: none;
}

/* optional: Navigation Buttons */

.nav-left,
.nav-right {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);

  background: rgba(0,0,0,0.5);
  color: white;
  border: none;
  padding: 10px;
  cursor: pointer;

  z-index: 1001;
}

.nav-left { left: 10px; }
.nav-right { right: 10px; }