html, body {position: relative; margin: 0; width: 100%; height: 100%; overflow: hidden}

#ar-container {
  height: 100%;
  width: 100%;
  top: 0px;
  position: relative;
  overflow: hidden;
}

model-viewer {
  width: 100%;
  height: 100%;
}

#arbutton {
  position: absolute;
  bottom: 16px;
  right: 16px;
  background-color: #B2E0E1;
  border-radius: 5px;
  border: none;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.25);
  font-size: 15px;
  font-family: HelveticaNeue-Light, Helvetica;
  color: rgba(0, 0, 0, 0.8);
  font-weight: 700;
  overflow-wrap: break-word;
  padding:10px 10px 10px 10px;
  display: flex;
  align-items: center;
  z-index: 99;
}

#arbuttonDesktop {
  position: absolute;
  bottom: 16px;
  right: 16px;
  background-color: #B2E0E1;
  border-radius: 5px;
  border: none;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.25);
  font-size: 15px;
  font-family: HelveticaNeue-Light, Helvetica;
  color: rgba(0, 0, 0, 0.8);
  font-weight: 700;
  overflow-wrap: break-word;
  padding:10px 10px 10px 10px;
  display: none;
  align-items: center;
  z-index: 98
}

#seeInSpaceIcon, #seeInSpaceIconDesktop {
  width: auto;
  height: 25px;
  border: none;
}

#controls {
  font-family: HelveticaNeue-Light, Helvetica;
  position: absolute;
  top: 16px;
  left: 16px;
  font-size: 14px;
  max-width: 75%;
  transform: unset;
  pointer-events: auto;
  z-index: 100;
}

/* #src {
  max-width: 70%;
  overflow: hidden;
  text-overflow: clip;
  white-space: nowrap;
}
 */
#instructions {
  font-family: HelveticaNeue-Light, Helvetica;
  color: rgba(0, 0, 0, 0.8);
  background-color: #ffffff;
  position: absolute;
  top: 35px;
  right: 16px;
  font-size: 16px;
  font-weight: bold;
  padding: 8px;
  width: 32px;
  height: 32px;
  border-radius: 50px;
  border: none;
  box-sizing: border-box;
  box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.25);
  display: flex;
  justify-content: center;
  align-items: center;
  pointer-events: auto;
  z-index: 99;
}

.dot{
  display: none;
}

.dim{
  background: #fff;
  border-radius: 4px;
  border: none;
  box-sizing: border-box;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.25);
  color: rgba(0, 0, 0, 0.8);
  display: block;
  font-family: Futura, Helvetica Neue, sans-serif;
  font-size: 1em;
  font-weight: 700;
  max-width: 128px;
  overflow-wrap: break-word;
  padding: 0.5em 1em;
  position: absolute;
  width: max-content;
  height: max-content;
  transform: translate3d(-50%, -50%, 0);
  pointer-events: none;
  --min-hotspot-opacity: 0;
}

@media only screen and (max-width: 800px) {
  .dim{
    font-size: 3vw;
  }
}

.dimensionLineContainer{
  pointer-events: none;
  display: block;
}

.dimensionLine{
  stroke: #3A494A;
  stroke-width: 2;
  stroke-dasharray: 2;
}

.hide{
  display: none;
  }
  /* This keeps child nodes hidden while the element loads */
  :not(:defined) > * {
  display: none;
}

#poweredbyshopxr {
  font-size: 9px;
  color: #7F7F7F;
  display: flex;
  align-items: center;
  float: right;
  margin-bottom: 0px;
}

#shopxrLogo {
  height: 15px;
  width: auto;
  opacity: 100%;
  border: none;
}

#popupinstructions, #popupQRCode {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 101;
  display: none;
  justify-content: center;
  align-items: center;
}

#popup-content, #popupQRCode-content {
  font-family: HelveticaNeue-Light, Helvetica;
  color: rgba(0, 0, 0, 0.8);
  font-size: 12px;
  background-color: #ffffff;
  width: 300px;
  max-height: 70%;
  overflow: auto;
  padding: 20px;
  margin: 15% auto;
  border-radius: 5px;
}
  
#popup-close, #popupQRCode-close {
  color: #aaaaaa;
  float: right;
  font-size: 23px;
  cursor: pointer;
}

#popup-content h2, #popupQRCode-content h2 {
  font-family: HelveticaNeue-Light, Helvetica;
  color: rgba(0, 0, 0, 0.8);
  font-size: 20px;
  text-align: center;
  padding-top: 5px;
  padding-bottom: 8px;
}

#popup-content h3 {
  font-family: HelveticaNeue-Light, Helvetica;
  color: rgba(0, 0, 0, 0.8);
  font-size: 15px;
  text-align: center;
}

#popup-content p, #popupQRCode-content p {
  font-family: HelveticaNeue-Light, Helvetica;
  color: rgba(0, 0, 0, 0.8);
  font-size: 15px;
  text-align: left;
  padding: 0 15px 0 15px;
}

#popup-content img {
  padding: 0 10% 0 10%;
  max-width: 80%;
  max-height: 80%;
}

#popup-close-text, #popupQRCode-close-text {
  font-family: HelveticaNeue-Light, Helvetica;
  color: rgba(0, 0, 0, 0.8);
  font-size: 15px;
  text-align: center;
  text-decoration: underline;
}

/* Style the scrollbar track */
::-webkit-scrollbar
{
  width: 8px; /* Adjust the width as needed */
  border-radius: 10px; /* Adjust the border radius as needed */
}
  
  /* Style the scrollbar thumb */
::-webkit-scrollbar-thumb
{
  background-color: #888888; /* Color of the thumb */
  border-radius: 10px; /* Radius of the thumb */
}

/* Style the scrollbar thumb on hover */
::-webkit-scrollbar-thumb:hover
{
  background-color: #555555; /* Color on hover */
}

#qrcode {
  padding: 0 8% 0 8%;
  max-width: 80%;
  max-height: 80%;
}