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

html {
  height: 100%;
}

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

#modelviewer {
  height: 0;
  width: 0;
}

#ar-button {
  width: 40%;
  max-width: 250px;
  display: block;
  position: absolute;
  left: 50%;
  bottom: 20%;
  transform: translateX(-50%);
  z-index: 300;
  background-color: transparent;
  outline: none;
  border: none;
}

.buttonimg {
  width: 100%;
  display: block;
}

.wrapper {
  width: 100%;
  height: 100vh;

  position: relative;
}

.mainimage {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 200;
}

.overlayimage {
  display: block;
  width: 100%;
  height: 100%;
}

.logo {
  position: absolute;
  width: 180px;
  left: 50%;
  top: 40%;
  transform: translate(-50%, -50%);
  z-index: 300;
}

.logoimg {
  display: block;
  width: 100%;
}

#ar-failure {
  display: none;
  width: 100%;
  height: 100%;

  justify-content: center;
  align-items: center;
}

#ar-failure img {
  display: block;
  width: 50%;
}

#content {
  width: 100%;
  height: 100vh;
}
