canvas.deepar {
  border: 0px none;
  background-color: black;
  display: block;
  margin: auto;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
  max-width: 100%;
  max-height: 100%;
}

body {
  margin: 0px;
  padding: 0px;
  font-family: sans-serif;
}

#permission-denied-screen,
#permission-denied-background {
  background-color: rgb(17 24 39 / 1);
  background-image: url("./images/gradient.svg"),
    url("./images/bg-grid-dark.svg");
  background-repeat: no-repeat, repeat;
  display: flex;
  align-items: center;
  justify-content: center;
}
#loading-screen {
  background-color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
}

.fixed-fullscreen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
}

/* Loading spinner */

.lds-ring {
  display: inline-block;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80px;
  height: 80px;
}
.lds-ring div {
  box-sizing: border-box;
  display: block;
  position: absolute;
  width: 64px;
  height: 64px;
  margin: 8px;
  border: 8px solid #fff;
  border-radius: 50%;
  animation: lds-ring 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;
  border-color: #fff transparent transparent transparent;
}
.lds-ring div:nth-child(1) {
  animation-delay: -0.45s;
}
.lds-ring div:nth-child(2) {
  animation-delay: -0.3s;
}
.lds-ring div:nth-child(3) {
  animation-delay: -0.15s;
}

@keyframes lds-ring {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/* Loading screen */

@keyframes bounce {
  0%,
  100% {
    transform: translateY(-25%);
    animation-timing-function: cubic-bezier(0.8, 0, 1, 1);
  }
  50% {
    transform: none;
    animation-timing-function: cubic-bezier(0, 0, 0.2, 1);
  }
}

#loading-progress-bar {
  width: 0%;
  background: rgb(0 98 209 / 1);
  height: 100%;
  transition: width 5s ease-out;
}

/* Permission denied screen */

.permission-denied-text-container {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translateX(-50%) translateY(-50%);
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  text-align: center;
}

.permission-denied-text {
  width: 400px;
  max-width: 95%;
  font-size: 16px;
  line-height: 1.2;
  color: #fff;
}

.permission-denied-button {
  margin-top: 20px;
  padding: 10px 20px;
  border-radius: 4px;
  background-color: #fff;
  color: #000;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.2s ease;
  border: none;
  display: inline-block;
  text-decoration: none;
  width: fit-content;

  &:hover {
    background-color: #eaeaea;
  }
}

.qrcode {
  display: none;
  position: fixed;
  right: 0;
  top: 0;
  width: 200px;
  z-index: 4;
}

@media (max-width: 991px) {
  .qrcode {
    width: 150px;
  }
}
@media (max-width: 650px) {
  .qrcode {
    display: none !important;
  }
}

.snapshot {
  display: none;
  position: fixed;
  bottom: 10%;
  left: 50%;
  transform: translateX(-50%);
  width: 90px;
  border-radius: 50%;
}

.snapshot {
  width: 108px;
  padding: 5px;
  border-radius: 50%;
  position: fixed;
  transform: translateX(-50%);
  left: 50%;
  bottom: 69px;
}
.snapshot.layer {
  pointer-events: none;
  width: 110px;
  bottom: 68px;
}

#instructions {
  position: fixed;
  top: 47%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 3;
  width: 300px;
  visibility: hidden;
}
#instructions.mobile {
  width: 50%;
}

#initial-loading-logo {
  max-width: 350px;
  width: 75%;
}

@media (max-width: 650px) {
  #initial-loading-logo {
    width: 53%;
  }
}

.share {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 3;
  /* transition: 0.5s; */
  opacity: 0;
  visibility: hidden;
  background: #ffffff;
}

.share__img {
  width: 100%;
  height: auto;
  object-fit: contain;
}
.share__icons {
  position: absolute;
  width: 100%;
  bottom: 82px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.share__icons img {
  width: 7vw;
  max-width: 60px;
  cursor: pointer;
  margin: 0 7px;
}
.share__back {
  position: absolute;
  top: 30px;
  left: 5px;
  width: 12vw;
  height: auto;
  max-width: 100px;
}
.share__btn {
  position: absolute;
  top: 30px;
  right: 5px;
  width: 12vw;
  height: auto;
  max-width: 100px;
}

.shop {
  display: none;
  width: 100%;
  padding: 15px 0;
  position: fixed;
  left: 0;
  bottom: 0;
  background: #000;
  color: white;
  text-decoration: none;
  text-align: center;
  text-transform: uppercase;
  font-size: 18px;
  letter-spacing: 1px;
}

.dot-pulse {
  position: relative;
  left: -9999px;
  width: 10px;
  height: 10px;
  border-radius: 5px;
  background-color: black;
  color: #9880ff;
  box-shadow: 9999px 0 0 -5px black;
  animation: dotPulse 1.5s infinite linear;
  animation-delay: 0.25s;
}

.dot-pulse::before,
.dot-pulse::after {
  content: "";
  display: inline-block;
  position: absolute;
  top: 0;
  width: 10px;
  height: 10px;
  border-radius: 5px;
  background-color: black;
  color: black;
}

.dot-pulse::before {
  box-shadow: 9984px 0 0 -5px black;
  animation: dotPulseBefore 1.5s infinite linear;
  animation-delay: 0s;
}

.dot-pulse::after {
  box-shadow: 10014px 0 0 -5px black;
  animation: dotPulseAfter 1.5s infinite linear;
  animation-delay: 0.5s;
}

@keyframes dotPulseBefore {
  0% {
    box-shadow: 9984px 0 0 -5px black;
  }
  30% {
    box-shadow: 9984px 0 0 2px black;
  }
  60%,
  100% {
    box-shadow: 9984px 0 0 -5px black;
  }
}

@keyframes dotPulse {
  0% {
    box-shadow: 9999px 0 0 -5px black;
  }
  30% {
    box-shadow: 9999px 0 0 2px black;
  }
  60%,
  100% {
    box-shadow: 9999px 0 0 -5px black;
  }
}

@keyframes dotPulseAfter {
  0% {
    box-shadow: 10014px 0 0 -5px black;
  }
  30% {
    box-shadow: 10014px 0 0 2px black;
  }
  60%,
  100% {
    box-shadow: 10014px 0 0 -5px black;
  }
}

#logo {
  position: absolute;
  left: 50%;
  top: 30px;
  transform: translateX(-50%);
  width: 40%;
  max-width: 350px;
}

/* Carousel */

.carousel {
  position: absolute;
  bottom: 50px;
  overflow: hidden;
  cursor: grab;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 120px;
  width: 100%;
}

.carousel.active {
  cursor: grabbing;
}

.carousel-slider {
  position: absolute;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  width: 100%;
  top: 0;
  left: 0;
  width: fit-content;
  height: inherit;
  transition: left 0.3s ease;
  will-change: transform;
}

.carousel.active .inner {
  transition: none;
}

.carousel-center {
  width: 81px;
  height: 81px;
  border-radius: 50%;
  z-index: 100;
  background-image: url("./images/icn_circle_outline.png");
  background-size: contain;
  background-repeat: no-repeat;
}

.carousel-slider .slide {
  width: 70px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  margin-left: 10px;
  margin-right: 10px;
}

.carousel-slider .slide.active {
  margin-left: 5px;
  margin-right: 5px;
  width: 80px;
  height: 80px;
}

.slide {
  overflow: hidden;
  -webkit-touch-callout: none; /* Safari Touch */
  -webkit-user-select: none; /* Webkit */
  -moz-user-select: none; /* Firefox */
  -ms-user-select: none; /* Edge*/
  user-select: none; /* Future-proof*/
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.model-placeholder {
  position: fixed;
  bottom: 55px;
  left: 50%;
  margin-top: -5px;
  margin-left: -5px;
  transition: 0.3s;
}

.model-placeholder .dot-pulse {
  box-shadow: 9999px 0 0 -5px #ffffff;
  animation: dotPulseWhite 1.5s infinite linear;
  animation-delay: 0.25s;
}

.model-placeholder .dot-pulse::before,
.model-placeholder .dot-pulse::after {
  background-color: #ffffff;
  color: #ffffff;
}

.model-placeholder .dot-pulse::before {
  box-shadow: 9984px 0 0 -5px #ffffff;
  animation: dotPulseWhiteBefore 1.5s infinite linear;
  animation-delay: 0s;
}

.model-placeholder .dot-pulse::after {
  box-shadow: 10014px 0 0 -5px #ffffff;
  animation: dotPulseWhiteAfter 1.5s infinite linear;
  animation-delay: 0.5s;
}

@keyframes dotPulseWhiteBefore {
  0% {
    box-shadow: 9984px 0 0 -5px #ffffff;
  }
  30% {
    box-shadow: 9984px 0 0 2px #ffffff;
  }
  60%,
  100% {
    box-shadow: 9984px 0 0 -5px #ffffff;
  }
}

@keyframes dotPulseWhite {
  0% {
    box-shadow: 9999px 0 0 -5px #ffffff;
  }
  30% {
    box-shadow: 9999px 0 0 2px #ffffff;
  }
  60%,
  100% {
    box-shadow: 9999px 0 0 -5px #ffffff;
  }
}

@keyframes dotPulseWhiteAfter {
  0% {
    box-shadow: 10014px 0 0 -5px #ffffff;
  }
  30% {
    box-shadow: 10014px 0 0 2px #ffffff;
  }
  60%,
  100% {
    box-shadow: 10014px 0 0 -5px #ffffff;
  }
}
