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

@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Evonik';
  font-style: normal;
  font-weight: 400;
  src: url('font/EvonikProkyon-Bold.otf') format('opentype'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

html {
  height: 100%;
}

body {
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100%;
  background-color: #fff;
}

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


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

.model-hider {
  position: absolute; 
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: white;
}

.hide {
  display: none;
}

.arfake, #ar-button {
  z-index: 2;
  background-color: #fff;
  position: absolute;
  left: 50%;
  top: 75%;
  width: 75%;
  transform: translate(-50%, -50%);
  white-space: nowrap;
  padding: 0;
  font-family: Evonik, Helvetica Neue, sans-serif;
  font-size: 22px;
  color:#000;
  height: 66px;
  line-height: 36px;
  border: 2px solid black;
  border-radius: 10px;
  box-shadow: 2px 1px 3px 0 rgba(0,0,0,0.1);
}

@media (orientation: landscape) {
  .arfake, #ar-button {
    width: 60%;
    top: 70%;
  }
}

.evologo {
  z-index: 2;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  max-width: 100%;
  width: 100%;
  max-width: 1200px;
  height: auto;
}


@media (orientation: landscape) {
  .evologo {
    top: 35%;
    width: 75%;
  }
}

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