@font-face {
  font-family: MonumentGrotesk;
  font-weight: 300;
  src: url("./fonts/MonumentGrotesk-Bold.otf");
}
* {
  box-sizing: border-box;
}

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

.innerLayer {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  /* background: rgba(230, 10, 10, 0.5); */
}

html,
body {
  background-color: white;
  height: 100%;
  margin: 0px;
  padding: 0px;
  overflow: hidden;
  font-family: MonumentGrotesk;
}

#loading-screen,
#permission-denied-screen,
#permission-denied-background {
  background-color: white;
  display: flex;
  align-items: center;
  justify-content: center;
}
#loading-screen {
  background-color: #ffffff;
}
.dark #loading-screen {
  background-color: #000;
}

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

#loading-spinner {
  position: absolute;
  bottom: 52px;
  width: 100%;
  left: 0;
  height: 30px;
  display: flex;
  justify-content: center;
}

/* Carousel */

.carousel {
  position: absolute;
  bottom: 65px;
  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: 80px;
  height: 80px;
  border-radius: 50%;
  z-index: 2;
  background-image: url("./images/icn_circle_outline.png");
  background-size: contain;
  background-repeat: no-repeat;
}

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

.carousel-slider .slide.active {
  width: 60px;
  height: 60px;
}

.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.active {
  background-color: #010c43;
} */
.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Loading spinner */

.loader-logo {
  max-width: 300px;
  width: 80%;
}
.loader-logo.dark {
  display: none;
}
.dark .loader-logo.dark {
  display: inline;
}
.dark .loader-logo.light {
  display: none;
}

.dots-placeholder {
  margin-top: 15px;
  /* position: absolute;
  top: 46%;
  left: 50%;
  margin-top: -5px;
  margin-left: -5px; */
}

.dot-pulse {
  position: relative;
  left: -9999px;
  width: 10px;
  height: 10px;
  border-radius: 5px;
  background-color: black;
  color: black;
  box-shadow: 9999px 0 0 -5px black;
  animation: dotPulse 1.5s infinite linear;
  animation-delay: 0.25s;
}
.dark .dot-pulse,
#loading-spinner .dot-pulse {
  color: white;
  background-color: white;
  box-shadow: 9999px 0 0 -5px white;
  animation: dotPulseDark 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;
}
#loading-spinner .dot-pulse::before,
#loading-spinner .dot-pulse::after,
.dark .dot-pulse::before,
.dark .dot-pulse::after {
  background-color: white;
  color: white;
}

.dot-pulse::before {
  box-shadow: 9984px 0 0 -5px black;
  animation: dotPulseBefore 1.5s infinite linear;
  animation-delay: 0s;
}
#loading-spinner .dot-pulse::before,
.dark .dot-pulse::before {
  box-shadow: 9984px 0 0 -5px white;
  animation: dotPulseBeforeDark 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;
}
#loading-spinner .dot-pulse::after,
.dark .dot-pulse::after {
  box-shadow: 10014px 0 0 -5px white;
  animation: dotPulseAfterDark 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 dotPulseBeforeDark {
  0% {
    box-shadow: 9984px 0 0 -5px white;
  }
  30% {
    box-shadow: 9984px 0 0 2px white;
  }
  60%,
  100% {
    box-shadow: 9984px 0 0 -5px white;
  }
}

@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 dotPulseDark {
  0% {
    box-shadow: 9999px 0 0 -5px white;
  }
  30% {
    box-shadow: 9999px 0 0 2px white;
  }
  60%,
  100% {
    box-shadow: 9999px 0 0 -5px white;
  }
}

@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;
  }
}
@keyframes dotPulseAfterDark {
  0% {
    box-shadow: 10014px 0 0 -5px white;
  }
  30% {
    box-shadow: 10014px 0 0 2px white;
  }
  60%,
  100% {
    box-shadow: 10014px 0 0 -5px white;
  }
}

/* Loading 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;
}

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

.shoplink {
  display: flex;
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  background: #000;
  align-items: center;
  justify-content: center;
}

.shop.shop-icon  {
  /* height: 40px;
  width: calc(310 / 60 * 40px);
  background-color: aqua; */
}

.shop-icon img {
  height: 20px;
  width: calc(310 / 60 * 20px);
  margin-top: 25px;
  margin-bottom: 20px;
}

/* landscape */

.landscape {
  display: none;
  position: fixed;
  left: 0;
  top: 0;
  height: 100%;
  width: 100%;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  padding: 5vh;
  background: white;
  z-index: 25;
}

.landscape_logo {
  width: 15%;
}
.landscape_icon {
  width: 25%;
}
.landscape_clue {
  text-transform: uppercase;
  font-family: Regular;
  font-size: 16px;
  text-align: center;
}

@media screen and (orientation: portrait) {
  .wrap {
    display: block;
  }
  .landscape {
    display: none;
  }
}
@media screen and (orientation: landscape) {
  .wrap {
    display: none;
  }
  .landscape {
    display: flex;
  }
}

.back-button,
.save-button {
  position: absolute;
  left: 10px;
  top: 25px;
  width: 70px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
}
.back-button img,
.save-button img {
  width: 100%;
}
.save-button {
  left: auto;
  right: 15px;
}

.canvasHelper {
  position: absolute;
  left: 0;
  top: 0;
  pointer-events: none;
  opacity: 1;
}

.preview-wrap {
  display: none;
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: #232323;
  z-index: 3;
}
.preview-wrap .preview {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
}

.footer {
  display: none;
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
}
