:root {
  --app-height: 100%;
}

body, html {
  min-height: calc(100vh - env(safe-area-inset-bottom));
  height: calc(100vh - env(safe-area-inset-bottom));
  max-height: calc(100vh - env(safe-area-inset-bottom));
  min-height: var(--app-height);
  height: var(--app-height);
  max-height: var(--app-height);
  margin: 0;
  background: #111;
  color: #fff;
  font-family: Verdana;
}

body {
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
}

#name, #position {
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 2em;
}

@media screen and (max-width: 800px) {
  #name, #position {
    font-size: 1.6em;
  }

  #sharing {
    font-size: 0.8em;
  }
}
#name {
  flex-grow: 1;
}

#sharing {
  padding: 5px 0 10px;
  text-align: center;
}

.top {
  display: flex;
  align-items: center;
}

.bottom {
  display: flex;
  align-items: center;
}

#bottom-middle {
  flex-grow: 1;
}

video {
  max-height: calc(100vh - 160px - env(safe-area-inset-bottom)) !important;
  max-width: calc(100vw - 20px) !important;
}

#prev, #next {
  width: 1em;
  text-align: center;
  font-size: 2em;
  height: 1em;
  background: #111;
  border: none;
  color: #fff;
  z-index: 10;
  cursor: pointer;
  margin: 5px;
  padding: 0;
  cursor: pointer;
}

main {
  display: flex;
  flex-direction: column;
  max-height: calc(100vh - env(safe-area-inset-bottom));
  height: calc(100vh - env(safe-area-inset-bottom));
  max-height: var(--app-height);
  height: var(--app-height);
  align-items: stretch;
  flex-grow: 1;
}

button:hover {
  background: #333;
}

.side {
  display: flex;
  align-items: center;
  justify-content: center;
}

.left {
  margin-right: 10px;
}

.right {
  margin-left: 10px;
}

.middle {
  flex-grow: 1;
  background: black;
  display: flex;
  flex-direction: column;
}

#mainImageWrapper {
  flex-grow: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  height: calc(100% - 10em);
  padding: 10px 0;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center center;
  width: 100%;
}

#mainImage {
  border-radius: 20px;
  max-height: 100%;
  max-width: 100%;
  height: auto;
  width: auto;
}

#position {
  display: flex;
  gap: 0.2em;
}

/*# sourceMappingURL=style.css.map */
