@font-face {
  font-family: CustomFont;
  src: url("./font/UniversLTStd-BoldEx.otf");
}

body {
  margin: 0px;
  padding: 0px;
}

.scale {
  transform: scale(0.5);
  transform-origin: top left;
}

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

.fixed-fullscreen {
  position: fixed;
  top: 0px;
  left: 0px;
  width: 100%;
  height: 100%;
  background-color: #000;
  text-align: center;
}

@-webkit-keyframes sk-scaleout {
  0% {
    -webkit-transform: scale(0);
  }
  100% {
    -webkit-transform: scale(1);
    opacity: 0;
  }
}

@keyframes sk-scaleout {
  0% {
    -webkit-transform: scale(0);
    transform: scale(0);
  }
  100% {
    -webkit-transform: scale(1);
    transform: scale(1);
    opacity: 0;
  }
}

.loader {
  display: inline-block;
  position: relative;
  top: 42%;
  z-index: 1000;
  width: 90px;
  height: 90px;
  margin: auto;
  background-color: #fff;

  border-radius: 100%;
  -webkit-animation: sk-scaleout 1.5s infinite ease-in-out;
  animation: sk-scaleout 1.5s infinite ease-in-out;
}

.responsive-img {
  max-width: 100%;
  height: auto;
}

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

.logo-container {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 100px;
  height: auto;
  background-color: transparent;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
}
.logo-container img {
  width: 95%;
  height: auto;
}

.perm-container {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-direction: column;
  position: absolute;
  bottom: 25px;
  width: 100%;
}
.perm-container img#perm-camera-img {
  width: 115px;
  margin-bottom: 15px;
}
.perm-container img#perm-text-img {
  width: 400px;
  max-width: 95%;
}

.toolbar {
  position: absolute;
  width: 100%;
  bottom: 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  box-sizing: border-box;
  padding-bottom: 20px;
}
.sub-toolbar-1 {
  display: flex;
  align-items: center;
  justify-content: center;
}
.color-btn {
  border-radius: 50px;
  width: 40px;
  height: 40px;
  margin: 5px;
  margin-top: 0px;
  box-sizing: border-box;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.color-btn.active {
  border: 4px solid #fff;
}
.color-btn.one {
  background-color: #554340;
}
.color-btn.two {
  background-color: #854026;
}
.carousel {
  position: relative;
  /* background-color: #fff; */
  /* border-radius: 50px; */
  /* margin-top: 15px; */
  /* height: 60px; */
  /* width: 290px; */
}
.carousel {
  position: relative;
  /* background-color: #fff; */
  /* border-radius: 50px; */
  display: flex;
  align-items: center;
  justify-content: center;
  /* margin-top: 15px; */
  /* height: 60px; */
  /* width: 290px; */
  height: 120px;
  width: 100%;
}

.carousel-inner {
  /* position: absolute; */
  /* top: -15px; */
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  /* width: 500px; */
  will-change: transform;
}

.center-button {
  width: 84px;
  height: 84px;
  border: 8px solid #fff;
  border-radius: 50%;
  z-index: 100;
  box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.5);
}

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

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

.toolbar-photo {
  overflow: hidden;
  border: 4px solid white;
}
.toolbar-photo.active {
  /* background-color: #fae2e2; */
}
.toolbar-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

#glasses-names {
  width: 400px;
  max-width: 100%;
  padding-top: 25px;
  padding-bottom: 20px;
}
.glasses-title {
  font-family: CustomFont;
  font-size: 13px;
  margin: 0;
  line-height: 1.2;
  letter-spacing: 1.2px;
  color: #fff;
}

#retake {
  position: fixed;
  width: 55px;
  height: 55px;
  top: 95px;
  right: 25px;
  display: none;
}

#download-photo {
  position: fixed;
  width: 100px;
  height: 100px;
  bottom: 42px;
  left: 50%;
  transform: translateX(-50%);
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 1);
  transition: all 0.3s ease-out;
  display: flex;
  flex-direction: column;
  color: black;
  text-decoration: none;
  font-family: CustomFont;
}

#ios-hint {
  text-size: 12px;
  display: none;
}

#cta {
  position: absolute;
  bottom: 180px;
  left: 50%;
  transform: translateX(-50%);
}

.cta {
  padding: 12px 20px;
  font-family: CustomFont;
  font-weight: 400;
  border: 1px solid black;
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.8);
  transition: all 0.3s ease-out;
  cursor: pointer;
  text-transform: uppercase;
  color: black;
  text-decoration: none;
}

.cta:hover {
  background: rgba(255, 255, 255, 1);
}

#download-photo:hover {
  scale: 1.05;
}

#download-photo:focus {
  outline: none;
}

#retake-photo {
  position: fixed;
  bottom: 45px;
  right: 50%;
  margin-right: 70px;
  width: 60px;
  height: 60px;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.8);
  transition: all 0.3s ease-out;
}

#retake-photo:hover {
  background: rgba(255, 255, 255, 1);
  scale: 1.1;
}

.icon {
  width: 36px;
  height: 36px;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}

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

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

.permission-denied-text button {
  font-family: CustomFont;
  background: white;
  border: 1px solid black;
  padding: 10px 20px;
  font-size: 16px;
  cursor: pointer;
  text-transform: uppercase;
  color: black;
  text-decoration: none;
}

#camera_denied_button {
  width: 220px;
  max-width: 70%;
  margin-bottom: 10px;
}

#loading-message {
  font-family: sans-serif;
  position: fixed;
  top: 50%;
  margin-top: 15px;
  color: #fff;
  left: 50%;
  transform: translateX(-50%);
}

@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);
  }
}
.animate-bounce {
  animation: bounce 1s infinite;
}

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

// laoading 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);
  }
}

.carousel-center {
  width: 84px;
  height: 84px;
  border: 8px solid #fff;
  border-radius: 50%;
  z-index: 100;
  box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.5);
}
