:not(:defined) > * {
  display: none;
}

body {
  margin: 0;
  padding: 0;
  width: 100vw;
  height: 100vh;
  background-color: #98cf6b;
}

model-viewer {
  width:50%;
  height: 100%;
  background-color: #98cf6b;
}

.non-mv-example{
  width:50%;
  height: 100%;
  position: absolute;
  left: 50%;
  top: 0%;
  background-color: #4285f4;
}



.Hotspot {
  background: rgb(255, 255, 255);
  border-radius: 62px;
  border: 0;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.25);
  box-sizing: border-box;
  cursor: pointer;
  height: 64px;
  padding: 8px;
  position: relative;
  transition: opacity 0.3s;
  width: 64px;
 
}

.simpleHotspot {
  background: rgb(255, 255, 255);
  border-radius: 62px;
  border: 0;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.25);
  box-sizing: border-box;
  cursor: pointer;
  height: 64px;
  padding: 8px;
  
  transition: opacity 0.3s;
  width: 64px;
}

.Hotspot:not([data-visible]) {
  background: transparent;
  border: 4px solid #fff;
  box-shadow: none;
  height: 62px;
  pointer-events: none;
  width: 62px;
}

#blueHotspot{
  border: 6px solid rgb(33, 22, 185);
  position: absolute;
  z-index: 1;
  transform: translateX(calc(23vw + 20px));
  top:40%;
}

#redHotspot{
  border: 6px solid rgb(219, 93, 43);
  position: absolute;
  z-index: 2;
} 

#greenHotspot{
  border: 6px solid rgb(3, 180, 142);
  position: absolute;
  z-index: 3;
}

#yellowHotspot{
  border: 6px solid rgb(255, 211, 16);
  position: absolute;
  z-index: 4;
  transform: translateX(calc(23vw + 45px));
  top:40%;
}


#myHotspot-annotation{
  position: absolute;
  z-index: 400;
}


#notMWmyHotspot{
  border: 6px solid rgb(3, 180, 142);
  position: absolute;
  z-index: 200;
  left:45%;
  top:20%;
}

#notMWanotherHotspot{
  border: 6px solid rgb(219, 93, 43);
  position: absolute;
  z-index: 100;
  left:calc(45% + 20px);
  top:20%;
} 

#notMWmyHotspotTranslate{
  border: 6px solid rgb(3, 180, 142);
  position: absolute;
  z-index: 200;
  transform: translateX(calc(23vw));
  top:45%;
}

#notMWanotherHotspotTranslate{
  border: 6px solid rgb(219, 93, 43);
  position: absolute;
  z-index: 100;
  transform: translateX(calc(23vw + 20px));
  top:45%;
} 

#notMWmyHotspotTranslate-clickTest{
  border: 6px solid rgb(3, 180, 142);
  position: absolute;
  z-index: 200;
  transform: translateX(calc(23vw));
  top:70%;
}

#notMWanotherHotspotTranslate-clickTest{
  border: 6px solid rgb(219, 93, 43);
  position: absolute;
  z-index: 100;
  transform: translateX(calc(23vw + 20px));
  top:70%;
} 


#greenHotspot:hover >.HotspotAnnotation{

  opacity: 1;
}

#notMWmyHotspot:hover >.HotspotAnnotation{
  opacity: 1;
}

#notMWmyHotspotTranslate:hover >.HotspotAnnotation{
  opacity: 1;
}

#notMWmyHotspotTranslate-clickTest:hover >.HotspotAnnotation{
  opacity: 1;
}



.Hotspot > * {
  opacity: 1;
  transform: translateY(-50%);
}

.info{
  position: absolute;
  bottom: 7vh;
  max-width:400px;
  height: 130px;
  color: #fff;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 1.3em;
  text-align: left;
  left: calc(20vw - 180px);
}

.info-text{
  position: absolute;
  bottom:3vh;
  max-width:400px;
  height: 80px;
  color: #fff;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 1.3em;
  text-align: center;
  left: calc(20vw - 180px);
}


.changeZ{
  position: relative;
  text-align: left;
}

button:focus{
  border: 6px solid rgb(0, 0, 0);
}


.HotspotAnnotation{
  background: #fff;
  border-radius: 4px;
  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: 18px;
  font-weight: 700;
  left: calc(100% + 0.4em);
  max-width: 190px;
  overflow-wrap: break-word;
  padding: 0.5em 1em;
  position: absolute;
  top: 50%;
  width: max-content;
  opacity: 0;
  transition: all 0.4s ease-out;
  z-index:100;
  text-align: left;
}

.Hotspot:not([data-visible]) > * {
  opacity: 0;
  pointer-events: none;
  transform: translateY(calc(-50% + 4px));
  transition: transform 0.3s, opacity 0.3s;
}


.progress-bar {
  display: block;
  width: 33%;
  height: 10%;
  max-height: 2%;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate3d(-50%, -50%, 0);
  border-radius: 25px;
  box-shadow: 0px 3px 10px 3px rgba(0, 0, 0, 0.5), 0px 0px 5px 1px rgba(0, 0, 0, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.9);
  background-color: rgba(0, 0, 0, 0.5);
}

.progress-bar.hide {
  visibility: hidden;
  transition: visibility 0.3s;
}

.update-bar {
  background-color: rgba(255, 255, 255, 0.9);
  width: 0%;
  height: 100%;
  border-radius: 25px;
  float: left;
  transition: width 0.3s;
}

#ar-button {
  background-image: url(ar_icon.png);
  background-repeat: no-repeat;
  background-size: 20px 20px;
  background-position: 12px 50%;
  background-color: #fff;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
  bottom: 16px;
  padding: 0px 16px 0px 40px;
  font-family: Roboto Regular, Helvetica Neue, sans-serif;
  font-size: 14px;
  color:#4285f4;
  height: 36px;
  line-height: 36px;
  border-radius: 18px;
  border: 1px solid #DADCE0;
}

#ar-button:active {
  background-color: #E8EAED;
}

#ar-button:focus {
  outline: none;
}

#ar-button:focus-visible {
  outline: 1px solid #4285f4;
}

@keyframes circle {
  from { transform: translateX(-50%) rotate(0deg) translateX(50px) rotate(0deg); }
  to   { transform: translateX(-50%) rotate(360deg) translateX(50px) rotate(-360deg); }
}

@keyframes elongate {
  from { transform: translateX(100px); }
  to   { transform: translateX(-100px); }
}

model-viewer > #ar-prompt {
  position: absolute;
  left: 50%;
  bottom: 60px;
  animation: elongate 2s infinite ease-in-out alternate;
  display: none;
}

model-viewer[ar-status="session-started"] > #ar-prompt {
  display: block;
}

model-viewer > #ar-prompt > img {
  animation: circle 4s linear infinite;
}