:root {
  --white: #e8f6f7;
  --lightblue: #0bffff;
  --blue: #00a2b7;
  --darkblue: #172935;
  --red: #ea2c47;
  --black: #000;
}

@font-face {
  font-family: 'CambayDevanagari-Regular';
  src: url('../fonts/CambayDevanagari-Regular.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'CambayDevanagari-Bold';
  src: url('../fonts/CambayDevanagari-Bold.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

* {
  margin: 0;
  padding: 0;
  border: none;
  text-decoration: none;
  outline: none;
  list-style: none;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  line-height: 1;
  -webkit-touch-callout: none;
  -webkit-text-size-adjust: none;
  -webkit-user-select: none;
  word-break: break-word;
  overflow-wrap: break-word;
  -webkit-touch-callout: none;
  -webkit-text-size-adjust: none;
  -ms-user-select: none;
  -moz-user-select: none;
  -webkit-user-select: none;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
  tap-highlight-color: transparent;
}
html,
body {
  height: 100%;

}
body {
  background-color: var(--darkblue);
}

.display_none {
  display: none !important;
}
.clear {
  clear: both;
}

#pDebug {
  display: none;
}

.wrapper {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background-color: var(--darkblue);
  color: var(--white);
  transition: opacity 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: space-around;
  justify-content: space-evenly;
  flex-direction: column;
  font-family: 'CambayDevanagari-Bold';
}



.animate {
  opacity: 0;
  will-change: opacity, transform;
  animation-name: anim-translate-fadein;
  animation-duration: 0.3s;
  animation-timing-function: ease-out;
  animation-delay: 0.0s;
  animation-direction: alternate;
  animation-iteration-count: 1;
  animation-fill-mode: forwards;
  animation-play-state: running;
}
@keyframes anim-translate-fadein {
  0% {
    opacity: 0;
    transform: translateX(200%);
  }
  100% {
    opacity: 1;
    transform: translateX(0%);
  }
}


.scan .logo {
  width: 200px;
  height: 100px;
  background-image: url(../images/logo-infinity-scan-horizontal.svg?ver=1);
  background-repeat: no-repeat;
  background-position: 50% 50%;
  background-size: contain;
  opacity: 1;
}
.scan-container {
  width: 100%;
  padding: 5vw 15vw 3vw 15vw;
  animation-delay: 0.1s;
}
.scan-wrapper {
  position: relative;
  width: 100%;
  height: 0;
  padding-bottom: 100%;
  background-image: url(../images/scan_QrCode.svg?ver=1);
  background-repeat: no-repeat;
  background-position: 0 0;
  background-size: 100% 100%;
}
.scan-main {
  position: absolute;
  top: 3%;
  left: 3%;
  width: 94%;
  height: 94%;
  background: #000;
}
.scan-main video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.scan-text {
  display: none;
  width: 100%;
  color: #FFF;
  text-align: center;
  font-size: 6vw;
  margin: 5vw auto 5vw auto;
  line-height: 1.2;
  animation-delay: 0.2s;
  text-transform: uppercase;
}
.scan-no-camera {
  opacity: 0;
  position: absolute;
  z-index: 1;
  left: 0;
  top: 0;
  display: flex;
  width: 100%;
  height: 100%;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 0 5%;
  font-size: 4vw;
}
.scan-change-camera {
  display: none;
  background: #000;
  font-size: 5vw;
  margin-bottom: 5vw;
  padding: 2vw 4vw;
  border-radius: 300px;
  margin-top: 1vw;
  transition: color ease 0.2s, background-color ease 0.2s;
  will-change: color, background-color;
  animation-delay: 0.3s;
  cursor: pointer;
  text-transform: uppercase;
}
.scan-change-camera:active {
  background: #FFF;
  color: #000;
}
.scan-change-camera.disabled {
  pointer-events: none;
}
