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

html {
  height: 100%;
}

body {
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100%;
}

.button { animation: fadein .5s; animation: pulse 1.5s infinite; } }
.cross { font-weight: bold; }
#b1 { position: absolute; left: 73%; top: 12%; }
#b2 { position: absolute; left: 42%; top: 32%; }
#b3 { position: absolute; left: 67%; top: 50%; }
#input1:checked ~ #content1,
#input2:checked ~ #content2,
#input3:checked ~ #content3 { display: block !important; animation: fadein .5s; }
input:checked ~ label .button { display: none !important; animation: fadeout .5s; }
@keyframes fadein {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes fadeout {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes pulse {
  from { box-shadow: 0 0 0 0px rgba(0, 250, 141); }
  to { box-shadow: 0 0 0 15px rgba(0, 0, 0, 0); }
}


model-viewer {
  width: 100%;
  height: 90%;
  background-color: #ffffff;
}
  

.Hotspot {
  animation: fadein 0.5s;
  animation: pulse 2s infinite;
  background: #00fa8d;
  border-radius: 32px;
  border: 0;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.50);
  box-sizing: border-box;
  cursor: pointer;
  height: 15px;
  padding: 8px;
  position: relative;
  opacity: 1;
  width: 15px;
  
}

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



.HotspotAnnotation{
  background-color: #ffffff;
  background-image: linear-gradient(160deg, #ffffff 0%, #ecf0ee 100%);
  border-radius: 10px;
  box-shadow: 0 2px 4px rgba(70, 70, 70, 0.5);
  color: rgba(0, 0, 0, 1);
  display: block;
  font-family: sans-serif;
  font-size: 15px;
  font-weight: 400;
  left: calc(100% + 1em);
  max-width: 200px;
  overflow-wrap: break-word;
  padding: 1.0em 1.0em;
  position: relative;
  top: -30%;
  width: max-content;
  visibility: hidden;
}

.HotspotAnnotation2{
  background: rgb(255,255,255);
  background: linear-gradient(180deg, rgba(255,255,255,1) 24%, rgba(220,228,230,1) 100%);
  border-radius: 10px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 1);
  color: rgba(70, 70, 70, 1);
  display: block;
  font-family: sans-serif;
  font-size: 15px;
  font-weight: 400;
  left: calc(100% + 1em);
  max-width: 200px;
  overflow-wrap: break-word;
  padding: 1.0em 1.0em;
  position: relative;
  top: -30%;
  width: max-content;
  visibility: visible;
}


/*.Hotspot:not([data-visible]) > * {
  animation: fadein 1s;
  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);
  visibility: visible;
}

.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;
}



/* ---------------------------------------------- */




