:root {
  /* #727cf5 */
  --body-text-color: #282f3a;
  --theme-color: rgba(26, 115, 232, 1);
  --scanner-border-color: rgba(26, 115, 232, 0.7);
  --scanner-bg-color: rgba(26, 115, 232, 0.1);
  --border-color: #E6E7E9;
  --theme-bg-color: #EFEEF3;
  --light-text-color: #656565;
  --setting-bg-color: #00B894;
  --red-color: #EF0107;
  --box-shadow: rgba(0, 0, 0, 0.16) 0px 1px 4px;
}

* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  font-family: Overpass, sans-serif;
  scroll-behavior: smooth;
}

/* base css */

html {
  -webkit-tap-highlight-color: transparent;
}

body {
  height: 100%;
  overflow-x: hidden;
}

h1 {
  margin: 10px 0 0 0;
  font-weight: 800;
  color: var(--body-text-color);
  text-align: center;
}

h2 {
  font-size: 24px;
  text-align: center;
  margin: 20px 0;
  color: var(--body-text-color);
}

h3 {
  font-size: 20px;
  font-weight: bold;
  margin-bottom: 8px;
  color: var(--body-text-color);
}

h4 {
  font-size: 18px;
  font-weight: bold;
  color: var(--body-text-color);
}

p {
  line-height: 1.6;
}

a {
  color: var(--theme-color);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.text-center {
  margin: 12px 0;
  font-size: 18px;
  font-weight: 500;
  color: var(--body-text-color);
  text-align: center;
}

.ml-40,
.terms-ul {
  margin-left: 40px;
}

@media (max-width: 768px) {
  .text-center {
    width: 100%;
  }
}

/* header section css */

header {
  box-shadow: var(--box-shadow);
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 60px;
  width: calc(100% - 120px);
  margin: 0 auto;
}


nav a span {
  margin-left: 32px;
}

nav a img {
  height: 40px;
  vertical-align: middle;
}

nav div {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 40px;
}

.menu-links {
  display: flex;
  justify-content: center;
  align-items: center;
  column-gap: 40px;
  row-gap: 20px;
  list-style: none;
  font-size: 16px;
  font-weight: 600;
  text-align: center;
}

.menu-links a {
  color: var(--body-text-color);
  transition: color 200ms ease;
  text-decoration: none;
}

.menu-links a:hover {
  color: var(--theme-color);
}

.lang-options {
  height: 40px;
  list-style-type: none;
  z-index: 999;

}

.lang-options:hover {
  border-color: var(--theme-color);
}

.lang-options li {
  visibility: hidden;
  position: relative;
  background-color: #fff;
  box-shadow: var(--box-shadow);
}

.lang-options li:first-of-type {
  visibility: visible;
  border: 1px solid var(--border-color);
  border-radius: 2px;
  transition: background-color 200ms;
  box-shadow: none;

}

.lang-options li:last-of-type {
  border-radius: 0 0 2px 2px;
}

.lang-options li:first-of-type a {
  color: var(--light-text-color);
  font-weight: 600;
}

.lang-options:hover li {
  visibility: visible;
  transition: all 200ms ease;
  border-color: var(--theme-color);
}

.lang-options:hover li:first-of-type a {
  color: var(--theme-color);
}

.lang-options li a {
  text-align: center;
  font-size: 16px;
  line-height: 40px;
  display: block;
  padding: 0px 16px;
  text-decoration: none;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  color: var(--light-text-color);
  font-weight: 500;
}

.lang-options li:hover a {
  color: var(--theme-color);
}

.menu-box {
  display: none;
}

.menu-show {
  display: none;
}

.menu-show img {
  vertical-align: middle;
}

@media (min-width: 768px) and (max-width: 991px) {
  nav {
    width: calc(100% - 40px);
    position: relative;
  }

  .lang-options li a {
    padding: 0px 4px;
  }
  nav div {
    gap: 16px;
  }
  .menu-links {
    column-gap: 16px;
  }
}

@media (max-width: 768px) {
  nav {
    font-size: 24px;
    width: calc(100% - 20px);
  }

  nav div {
    gap: 16px;
  }

  .lang-options li a {
    padding: 0px 4px;
  }

  .menu-links {
    justify-content: start;
    min-width: 100%;
    left: -100%;
    top: 62px;
    background-color: #fff;
    position: fixed;
    z-index: 99;
    flex-direction: column;
    min-height: 100vh;
    padding-top: 20px;
    color: var(--body-text-color);
    transition: all 200ms ease;
    font-size: 18px;
  }

  .menu-links li {
    text-align: center;
    width: 100%;
    line-height: 40px;
  }

  .menu-show {
    display: block;
  }

  .active-menu {
    left: 0;
  }
}

/* scanner section css */

.main-wrapper {
  max-width: 1050px;
  margin: auto;
  padding: 10px;
}

.qr-description {
  color: #4e5d78;
  font-size: 18px;
  margin: 0;
}

.qr-scanner-area {
  max-width: 600px;
  margin: 0px auto 24px auto;
  padding-top: 16px;
}

.scan-btns {
  display: grid;
  grid-auto-flow: column;
  grid-template-columns: 1fr 1fr 1fr;
  background: var(--scanner-bg-color);
  height: 48px;
  border-radius: 50px;
  margin-bottom: 24px;
}

.scan-btns button {
  border: none;
  font-size: 18px;
  font-weight: 600;
  border-radius: 50px;
  background: transparent;
  color: var(--theme-color);
  cursor: pointer;
}

.scan-btns .activebtn {
  background: var(--theme-color);
  color: #fff;
}

.scanner-wrapper {
  background: var(--scanner-bg-color);
  height: 250px;
  max-height: 300px;
  border-radius: 4px;
  margin-bottom: 8px;
}

.camera-scanner {
  display: flex;
  position: relative;
  border: 3px dashed var(--scanner-border-color);
  width: 100%;
  height: 100%;
  border-radius: 4px;
}

.scanner-label {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  font-size: 18px;
  font-weight: 600;
  color: var(--body-text-color);
  width: 100%;
  padding: 32px;
  text-align: center;
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  left: 50%;
}

#camera-not-found {
  display: none;
}

.rescanqrbtn {
  z-index: 1;
  display: none;
  border: none;
  border-radius: 20px;
  background-color: var(--red-color);
  font-weight: 600;
  font-size: 16px;
  padding: 2px 14px;
  color: #fff;
  cursor: pointer;
  line-height: 40px;
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  left: 50%;
  width: max-content;
}

.rescanqrbtn img {
  width: 30px;
  height: 30px;
  vertical-align: middle;
  margin-right: 4px;
}

.rescanqrbtn:hover {
  background-color: rgba(214, 48, 49, 0.9);
}

#qr-code-previewer {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

.image-scanner {
  display: none;
  position: relative;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  border: 3px dashed var(--scanner-border-color);
  width: 100%;
  height: 100%;
  border-radius: 4px;
  cursor: pointer;
}

#uploaded-qr-previewer {
  max-width: 400px;
  max-height: 200px;
  border-radius: 6px;
  display: none;
  background-color: #fff;
  padding: 10px;
}

.image-not-found {
  display: none;
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 18px;
  text-align: center;
  background: #FFEAE9;
  border-radius: 4px;
  font-weight: 600;
  color: var(--red-color);
  padding: 8px;
  width: calc(100% - 16px);
}

.beep-wrapper {
  display: grid;
  grid-auto-flow: column;
  justify-content: end;
  align-items: center;
  gap: 8px;
  font-size: 18px;
  font-weight: 600;
  color: var(--body-text-color);
}

.switch {
  position: relative;
  display: inline-block;
  width: 54px;
  height: 28px;
}

.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  -webkit-transition: .4s;
  transition: .4s;
}

.slider:before {
  position: absolute;
  content: "";
  height: 20px;
  width: 20px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  -webkit-transition: .4s;
  transition: .4s;
}

input:checked+.slider {
  background-color: var(--setting-bg-color);
}

input:focus+.slider {
  box-shadow: 0 0 1px var(--setting-bg-color);
}

input:checked+.slider:before {
  -webkit-transform: translateX(26px);
  -ms-transform: translateX(26px);
  transform: translateX(26px);
}

.slider.round {
  border-radius: 34px;
}

.slider.round:before {
  border-radius: 50%;
}

.result-area-div {
  margin-top: 8px;
  padding-bottom: 16px;
}

.result-hinttext {
  font-size: 18px;
  line-height: 48px;
  text-align: center;
  background: var(--scanner-bg-color);
  border-radius: 4px;
  font-weight: 600;
  color: var(--body-text-color);
}

.resultarea {
  display: grid;
  grid-template-rows: repeat(auto, 1fr);
  gap: 16px;
  background: var(--scanner-bg-color);
  padding: 24px 16px;
  border-radius: 5px;
  margin-top: 24px;
}

.qr-textarea {
  min-height: 48px;
  padding: 12px;
  background: #fff;
  font-size: 16px;
  font-weight: 500;
  color: var(--body-text-color);
  border-radius: 4px;
  word-break: break-all;
}

.qr-textarea img {
  margin-right: 8px;
  vertical-align: middle;
}

.qr-actionbtns {
  display: grid;
  grid-auto-flow: column;
  gap: 16px;
}

.qr-actionbtns>*:only-child {
  grid-column: 1 / -1;
}

.qr-actionbtn {
  background: var(--theme-color);
  font-size: 18px;
  font-weight: 600;
  border: none;
  border-radius: 4px;
  color: #fff;
  height: 48px;
  cursor: pointer;
}

.qr-actionbtn img {
  margin-right: 4px;
  vertical-align: middle;
}

.zoomSliderContainer {
  position: absolute;
  margin: auto;
  padding: 30px 20px;
  width: 280px;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.sliderLabel {
  color: #fff;
  font-size: 10px;
  vertical-align: bottom;
}

.zoomSlider {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 2px;
  background: 0 0/0 100% no-repeat #636e72;
  border-radius: 5px;
  background-image: linear-gradient(#fff, #fff);
  margin: 0 20px;
}

.zoomSlider::-webkit-slider-thumb {
  -webkit-appearance: none;
  height: 14px;
  width: 14px;
  border-radius: 50%;
  background: #fff;
  cursor: ew-resize;
  box-shadow: 0 0 2px 0 #555;
  transition: background 0.3s ease-in-out;
}

.zoomSlider::-moz-range-thumb {
  -webkit-appearance: none;
  appearance: none;
  height: 14px;
  width: 14px;
  border-radius: 50%;
  background: #fff;
  cursor: ew-resize;
  box-shadow: 0 0 2px 0 #555;
  transition: background 0.3s ease-in-out;
}

.zoomSlider::-ms-thumb {
  -webkit-appearance: none;
  appearance: none;
  height: 20px;
  width: 20px;
  border-radius: 50%;
  background: #fff;
  cursor: ew-resize;
  box-shadow: 0 0 2px 0 #555;
  transition: background 0.3s ease-in-out;
}

.zoomSlider::-webkit-slider-thumb:hover {
  background: #fff;
}

.zoomSlider::-moz-range-thumb:hover {
  background: #fff;
}

.zoomSlider::-ms-thumb:hover {
  background: #fff;
}

.zoomSlider::-webkit-slider-runnable-track {
  -webkit-appearance: none;
  box-shadow: none;
  border: none;
  background: 0 0;
}

.zoomSlider::-moz-range-track {
  -webkit-appearance: none;
  appearance: none;
  box-shadow: none;
  border: none;
  background: 0 0;
}

.zoomSlider::-ms-track {
  -webkit-appearance: none;
  appearance: none;
  box-shadow: none;
  border: none;
  background: 0 0;
}

@media (min-width: 768px) and (max-width: 991px) {
  .scanner-wrapper {
    height: 300px;
  }
}

@media (max-width: 768px) {
  .qr-scanner-area {
    grid-template-columns: repeat(1, 1fr);
    column-gap: 0;
    row-gap: 4px;
  }

  .scan-btns {
    margin-bottom: 16px;
  }

  .scanner-wrapper {
    height: 300px;
  }

  #uploaded-qr-previewer {
    max-width: 350px;
    max-height: 250px;
  }

  .result-area-div {
    margin-top: 12px;
    order: 2;
  }

  .resultarea {
    margin-top: 16px;
  }

  .ad-area {
    overflow: hidden;
    max-width: 100%;
  }
}

/* how to use section css */

.how-to-uses {
  display: flex;
  flex-direction: column;
  gap: 32px;
  color: var(--body-text-color);
}

.how-to-use {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 32px;
}

.how-to-use .left {
  flex: 1;
}

.how-to-use .left img {
  width: 100%;
}

.how-to-use .right {
  padding: 40px 0px 0px;
  flex: 1;
}

.how-to-use .right p {
  font-size: 18px;
  margin-top: 12px;
}

.how-to-point {
  font-size: 20px;
  font-weight: bold;
  display: flex;
  align-items: center;
  gap: 16px;
}

.how-to-point span {
  padding-top: 4px;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 40px;
  width: 40px;
  border-radius: 50%;
  background-color: var(--theme-color);
  color: #fff;
}

.how-to-use ol {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-left: 40px;
  margin-top: 12px;
}

.how-to-use li {
  font-size: 18px;
  line-height: 1.5;
  font-weight: 500;
}

@media (max-width: 768px) {
  .how-to-use:nth-child(2) {
    flex-direction: column-reverse;
  }

  .how-to-use {
    flex-direction: column;
    gap: 16px;
  }

  .how-to-use .left {
    width: 100%;
  }

  .how-to-use .right {
    padding: 0px;
  }
}

/* seo section css */

.seo-content {
  margin-bottom: 20px;
}

.seo-content h4 {
  margin-bottom: 8px;
}

.seo-content p {
  font-size: 18px;
  margin-bottom: 10px;
  color: var(--body-text-color);
}

.seo-content p:last-child {
  font-weight: 600;
}

.seo-content ul li {
  margin-bottom: 10px;
  line-height: 25px;
  font-size: 18px;
  margin-left: 40px;
  color: var(--body-text-color);
}

/* qna section */

.faq {
  cursor: pointer;
}

.question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px;
  margin-top: 10px;
  background-color: #ecf0f1;
}

.answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 1.4s;
  background-color: #fff;
}

.answer p {
  font-size: 18px;
  font-weight: 500;
  padding: 10px;
  color: var(--body-text-color);
}

.faq.active .answer {
  max-height: 300px;
  animation: 1s ease-in-out answer-fade;
  border: 1px solid #ecf0f1;
}

.faq.active svg {
  transform: rotate(180deg);
}

.faq.active .question svg path {
  stroke: #1967d2;
}

.question svg {
  transition: transform 0.5s ease-in;
}

@keyframes answer-fade {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.answer ul li {
  margin-bottom: 10px;
  line-height: 25px;
  font-size: 16px;
}

/* footer section css*/

footer {
  margin-top: 40px;
  padding: 40px 100px;
  text-align: center;
  border-top: 2px solid #e5e5e5;
}

.qrlogo {
  margin-bottom: 40px;
}

.qr-links-div {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.qrlinks-heading {
  color: #2d3436;
  font-size: 22px;
  font-weight: 500;
  margin-bottom: 10px;
}

.qrlinks {
  width: 32%;
}

.qrlinks:last-of-type {
  width: 100%;
}

.qrlinks a {
  font-weight: 500;
  display: block;
  padding: 4px;
  font-size: 18px;
}

.qrbottomtext {
  margin: 16px 0 8px 0;
  font-weight: 500;
}

.contact-wrapper {
  width: 100vw;
  height: calc(100vh - 80px);
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  max-width: 1050px;
  margin: auto;
}

.email-text {
  color: #285aeb;
}

@media (max-width: 768px) {

  footer {
    padding: 40px 10px;
  }

  .qrlogo {
    margin-bottom: 0;
  }

  .qrlinks {
    width: 100%;
  }

  .qrlinks-heading {
    margin: 20px 0 10px;
  }

  .contact-wrapper {
    padding: 20px;
  }
}