body {
  background-color: #0686e57d;
  margin: 0;
  height: 100%;
}
.logo {
  height: 34px;
  position: absolute;
  left: 12px;
  top: 12px;
  z-index: 10;
}

.webviewInstructions {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  /* width: 100%;
  height: 300px; */
  background-color: #fdfdfd;
  color:#0686e5;
  z-index: 10;
  border-bottom-left-radius: 12px;
  box-shadow: 1px 4px 16px 0px rgb(0 0 0 / 54%);
  margin: 0 52px;
  border-bottom-right-radius: 12px;

  position: absolute;
  right: 0;
  left: auto;
  width: 240px;
  margin: 0;
  border-bottom-right-radius: 0px;
}
.webviewInstructions.hide {
  display: none;
}
.webviewInstructions h3 {
  text-align: center;
  font-size: 0.8em;
  padding: 0 12px;
}
.webviewInstructions div {
  display: flex;
  justify-content: center;
}
.webviewInstructions img {
  width: 240px;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  border-bottom-left-radius: 4px;
}
/* This keeps child nodes hidden while the element loads */
:not(:defined)>* {
  display: none;
}

model-viewer {
  background-color: transparent;
  overflow-x: hidden;
  width: 100vw;
  height: 100%;
}

#ar-button {
  /* background-color: #fff; */
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
  bottom: 30vh;
  z-index: 20;
  /* padding: 0px 16px 0px 40px;
  font-family: Roboto Regular, Helvetica Neue, sans-serif;
  font-size: 14px;
  color: #0686e5;
  height: 36px;
  line-height: 36px;
  border-radius: 8px;
  border: 1px solid #DADCE0;
  z-index: 10;
  box-shadow: 0px 20px 21px 0px #515050; */
}
/* 
#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: 175px;
  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;
}

model-viewer>#ar-failure {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: 175px;
  display: none;
}

model-viewer[ar-tracking="not-tracking"]>#ar-failure {
  display: block;
}

.container {
  max-width: 900px;
  margin: 0 auto;
}

.slider {
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
  overflow: hidden;
  position: absolute;
  bottom: 16px;
}

.slides {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  height: 20vw;
  min-height: 80px;
  max-height: 170px;
  justify-content: center;
  padding-bottom: 24px;
}
@media screen and (max-height: 630px) {
  .slides {
    height: 20vh;
  }
  body {
    height: 100lvh;
  }
}

.slide {
  scroll-snap-align: start;
  flex-shrink: 0;
  width: 30%;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  background-color: #fff;
  margin-right: 10px;
  border-radius: 10px;
  box-shadow: -2px 2px 4px 0px rgb(0 0 0 / 54%),
    0px 11px 16px 0px rgb(0 0 0 / 54%);
  border: none;
  display: flex;
  border-left: 2px solid #000000ed;
  opacity: 0.8;
  transition: opacity ease-in-out 0.2s;
}
.slide:last-of-type {
  margin-right: 0px;
}

.slide.selected {
  border-left: 2px solid #000;
  opacity: 1;
  box-shadow: 0px 6px 4px 0px rgb(0 0 0 / 54%),
    0px 11px 16px 0px rgb(0 0 0 / 54%);
}

.slide:focus {
  outline: none;
}

.slide:focus-visible {
  outline: 1px solid #0686e5;
}

#default-progress-bar>.bar {
  height: var(--progress-bar-height, 10px);
  background-color: #0686e5;
}

model-viewer {
  /* --progress-bar-color: #eee; */
  --progress-bar-color: #0686e5;
  --progress-bar-height: 5px;
}
model-viewer::part(default-progress-bar) {
  
}

.progress-bar {
  display: block;
  position: absolute;
  left: 50%;
  top: 30%;
  margin-left: -100px;
}

.indeterminate-progress-bar {
  background-color: #d1d5db;
  border-radius: 16px;
  height: 0.5rem;
  position: relative;
  overflow: hidden;
  width: 200px;
  box-shadow: -1px 2px 4px 1px #0f0f0f29;
  border: 1px solid #ffffff4f;
}

.indeterminate-progress-bar__progress {
  background-color: #3b82f6;
  border-radius: 9999px;
  position: absolute;
  bottom: 0;
  top: 0;
  width: 50%;
  animation-duration: 2s;
  animation-iteration-count: infinite;
  animation-name: indeterminate-progress-bar;
}

@keyframes indeterminate-progress-bar {
  from {
    left: -50%;
  }

  to {
    left: 100%;
  }
}

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


.pushable {
  position: relative;
  border: none;
  background: transparent;
  padding: 0;
  cursor: pointer;
  outline-offset: 4px;
  transition: filter 250ms;
}

.shadow {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 12px;
  background: hsl(0deg 0% 0% / 0.25);
  will-change: transform;
  transform: translateY(2px);
  transition:
    transform 600ms cubic-bezier(.3, .7, .4, 1);
}

.edge {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 12px;
  background: linear-gradient(to left,
      hsl(207.26deg 100% 16%) 0%,
      hsl(207.26deg 100% 32%) 8%,
      hsl(207.26deg 100% 32%) 92%,
      hsl(207.26deg 100% 16%) 100%);
}

.front {
  display: block;
  position: relative;
  padding: 12px 14px;
  border-radius: 12px;
  font-size: 1.25rem;
  color: white;
  background: hsl(207.26deg 100% 47%);
  will-change: transform;
  transform: translateY(-4px);
  transition: transform 600ms cubic-bezier(.3, .7, .4, 1);
  background-image: url(../assets/ic_view_in_ar_new_white_48dp.png);
  background-repeat: no-repeat;
  background-size: 20px 20px;
  background-position: 14px 50%;
  padding-left: 42px;
}

.pushable:hover {
  filter: brightness(110%);
}

.pushable:hover .front {
  transform: translateY(-6px);
  transition:
    transform 250ms cubic-bezier(.3, .7, .4, 1.5);
}

.pushable:active .front {
  transform: translateY(-2px);
  transition: transform 34ms;
}

.pushable:hover .shadow {
  transform: translateY(4px);
  transition:
    transform 250ms cubic-bezier(.3, .7, .4, 1.5);
}

.pushable:active .shadow {
  transform: translateY(1px);
  transition: transform 34ms;
}

.pushable:focus:not(:focus-visible) {
  outline: none;
}