#viewer {
  position: relative;
  width: 100%;
  height: 480px;
  border-radius: 16px;
  overflow: hidden;
}

#viewer:fullscreen,
#viewer:-ms-fullscreen,
#viewer:-moz-full-screen,
#viewer:-webkit-full-screen {
  z-index: 99999;
}

#viewer button {
  cursor: pointer;
  background-color: white;
  border: none;
  display: inline-flex;
  color: #25232E;
  align-items: center;
  gap: 8px;
  padding: 0.75rem 1rem;
  height: 36px;
  font-weight: 500;
  font-size: 0.875rem;
  text-transform: uppercase;
  font-family: inherit;
  letter-spacing: 0.1em;
  border-radius: 20px;
  transition: 300ms ease;
}

#viewer button.icon {
  width: 36px;
  height: 36px;
  justify-content: center;
  padding: 0;
}

#viewer button:disabled {
  cursor: not-allowed;
}

#viewer button[aria-current="true"] {
  color: #EF7D00;
}

#viewer .tower-controls {
  position: absolute;
  left: clamp(0.75rem, 0.1338rem + 2.6291vw, 2.5rem);
  top: 36px;
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 8px;
}

#viewer .floor-controls {
  position: absolute;
  top: 50%;
  left: clamp(0.75rem, 0.1338rem + 2.6291vw, 2.5rem);
  z-index: 10;

  display: flex;
  flex-direction: column;
  gap: 8px;

  transform: translate(0, -50%);
}

#viewer .floor-controls button {
  font-weight: 400;
}

#viewer .fullscreen-control {
  position: absolute;
  top: 36px;
  right: clamp(0.75rem, 0.1338rem + 2.6291vw, 2.5rem);
  z-index: 10;
}

#viewer .zoom-controls {
  position: absolute;
  right: clamp(0.75rem, 0.1338rem + 2.6291vw, 2.5rem);
  top: 50%;
  z-index: 10;

  display: flex;
  flex-direction: column;
  gap: 12px;

  transform: translate(0, -50%);
}

#viewer .zoom-controls button {
  border: 1px solid hsl(0 0% 100%);
  background-color: transparent;
  color: white;
}

#viewer .caption {
  position: absolute;
  bottom: 36px;
  left: 50%;
  z-index: 10;

  display: flex;
  align-items: center;
  gap: 8px;

  font-size: 0.875rem;

  color: hsl(0 0% 100% / .8);
  transform: translate(-50%, 0);
}

@media screen and (hover: hover) {
  #viewer button:not(:disabled):hover {
    background-color: hsl(0 0% 100% / .8);
  }

  #viewer .zoom-controls button:not(:disabled):hover {
    background-color: hsl(0 0% 100%);
    color: #25232E;
  }
}