.mindar-ui-overlay {
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0);
  z-index: 2
}

.mindar-ui-overlay.hidden {
  display: none
}

.mindar-ui-loading .loader {
  border: 16px solid #222;
  border-top: 16px solid #fff;
  opacity: .8;
  border-radius: 50%;
  width: 120px;
  height: 120px;
  animation: spin 2s linear infinite
}

@keyframes spin {
  0% {
    transform: rotate(0deg)
  }

  100% {
    transform: rotate(360deg)
  }
}

.mindar-ui-compatibility .content {
  background: #000;
  color: #fff;
  opacity: .8;
  text-align: center;
  margin: 20px;
  padding: 20px;
  min-height: 50vh
}

@media(min-aspect-ratio: 1/1) {
  .mindar-ui-scanning .scanning {
    width: 50vh;
    height: 50vh
  }
}

@media(max-aspect-ratio: 1/1) {
  .mindar-ui-scanning .scanning {
    width: 80vw;
    height: 80vw
  }
}

.mindar-ui-scanning .scanning .inner {
  position: relative;
  width: 100%;
  height: 100%;
  opacity: .8;
  background: linear-gradient(to right, white 10px, transparent 10px) 0 0, linear-gradient(to right, white 10px, transparent 10px) 0 100%, linear-gradient(to left, white 10px, transparent 10px) 100% 0, linear-gradient(to left, white 10px, transparent 10px) 100% 100%, linear-gradient(to bottom, white 10px, transparent 10px) 0 0, linear-gradient(to bottom, white 10px, transparent 10px) 100% 0, linear-gradient(to top, white 10px, transparent 10px) 0 100%, linear-gradient(to top, white 10px, transparent 10px) 100% 100%;
  background-repeat: no-repeat;
  background-size: 40px 40px
}

.mindar-ui-scanning .scanning .inner .scanline {
  position: absolute;
  width: 100%;
  height: 10px;
  background: #fff;
  animation: move 2s linear infinite
}

@keyframes move {

  0%,
  100% {
    top: 0%
  }

  50% {
    top: calc(100% - 10px)
  }
}