body {
  margin: 0px;
  overflow: hidden;
}

.scene-overlay {
  margin: 0 auto;
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1;
}

.scene-overlay.hidden {
  display: none;
}

.scene-loader {
  background-color: rgba(0, 0, 0, 0.8);
}

.scene-loader-spinner {
  z-index: 10;
  -webkit-transform: spin 1s linear infinite;
  animation: spin 1s linear infinite;
  border: 3px solid #ddd;
  border-top: 3px solid #42a5f5;
  border-radius: 50%;
  height: 75px;
  width: 75px;
}

@-webkit-keyframes spin {
  to {
    border-top-color: #42a5f5;
    -webkit-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}

@keyframes spin {
  to {
    border-top-color: #42a5f5;
    -webkit-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}

.scene-overlay .title {
  color: white;
  text-align: center;
  font-size: 1.25em;
  font-family: verdana;
  height: 50px;
  width: 100%;
  position: absolute;
  top: 0;
  left: 0;
  background-color: rgb(161, 161, 161);
  display: flex;
  justify-content: center;
  align-items: center;
}

.marker-viewfinder-image {
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
}

.marker-viewfinder-image>div {
  padding: 5%;
  padding-top: 50%;
  flex-grow: 1;
  flex-shrink: 1;
  flex-basis: 0;
}

.marker-viewfinder-image>div>img {
  display: block;
  margin: 0 auto;
  height: 70%;
  box-sizing: border-box;
}

#container {
  text-align: center;
  margin: 0;
  z-index: 10;
}

#qr-canvas {
  margin: auto;
  width: calc(100% - 20px);
  max-width: 400px;
}

#btn-scan-qr {
  cursor: pointer;
}

#btn-scan-qr img {
  height: 10em;
  padding: 15px;
  margin: 15px;
  background: white;
}

#qr-result {
  font-size: 1.2em;
  margin: 20px auto;
  padding: 20px;
  max-width: 700px;
  background-color: white;
}

#right-button {
  position: fixed;
  top: calc(50%);
  right: calc(5%);
  width: 4em;
  height: 2em;
  z-index: 10;
  visibility: hidden;
}

#left-button {
  position: fixed;
  top: calc(50%);
  left: calc(5%);
  width: 4em;
  height: 2em;
  z-index: 10;
  visibility: hidden;
}

#play-button {
  position: fixed;
  bottom: calc(10% - 2em);
  left: calc(50% - 2em);
  width: 4em;
  height: 4em;
  z-index: 10;
  visibility: hidden;
  background-image: url('./media/play.png');
  background-size: cover;
}

#pause-button {
  position: fixed;
  bottom: calc(10% - 2em);
  left: calc(50% - 2em);
  width: 4em;
  height: 4em;
  z-index: 10;
  visibility: hidden;
  background-image: url('./media/pause.png');
  background-size: cover;
}
