/* CSS files add styling rules to your content */

/* GLOBAL STYLES */

* {
  box-sizing: border-box;
}

body {
  font-family: helvetica, arial, sans-serif;
  margin: 0;
}

img.floorplan {
  width: 100%;
}

.hidden {
  height: 0;
  margin: 0;
  visibility: hidden;
}




/* OUTSIDE STYLES */

html {
  min-height: 100%;
  background-color: blue;
}

body {
  min-height: 100%;
}

body.outside {
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 2em;
}

body.outside main {
  position: relative;
  width: calc(100vw - 4em);
  height: calc(75vw - 4em);
  overflow: hidden;
  outline: 3px solid #ff7e30;
}

body.outside .picture-nav {
  transition: transform 0.1s linear;
}

body.outside .picture-nav #backgroundimage {
  position: absolute;
  top: 0;
  left: 0;
  width: calc(100vw - 4em);
}

body.outside .picture-nav #overlay-container {
  position: absolute;
  top: 0;
  left: 0;
  width: calc(100vw - 4em);
}

body.outside .picture-nav #overlay-container svg {
  width: 100%;
  height: 100%;
}

body.outside .picture-nav span.floating-label {
  position: absolute;
  transform: translate(-50%, -50%);
  z-index: 10;
  color: white;
  pointer-events: none;
  font-size: 12px;
}




/* INSIDE STYLES */


body.inside {
  padding: 2em;
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
}

body.inside a.escape-link {
  position: absolute;
  top: 0;
  left: 0; 
  z-index: 0;
  width: 100%;
  height: 100%;
  background-color: #D3D5D0;
}

body.inside a.escape-link span.back-label {
  position: absolute;
  bottom: 0.5em;
  left: 0;
  width: 100%;
  text-align: center;
  color: white;
}

body.inside a.escape-link:hover {
  background-color: blue;
}

body.inside a.escape-link:hover span.back-label {
  color: white;
}

body.inside main {
  position: relative; 
  z-index: 1;
  background-color: white;
  border: 3px solid #ff7e30;
  max-width: calc(100vw - 4em);
  max-height: calc(100vh - 4em);
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

body.inside main img, body.inside main video {
  width: 100%;
  height: 100%;
  object-fit: contain;
}