/* CSS Reset */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}


* {
  -webkit-tap-highlight-color: transparent;
  user-select: none;
  outline: none;
}

html,
body {
  height: 100%;
  margin: 0;
  padding: 0;
  font-size: 100%;
  line-height: 1.5;
}

*:active,
*:focus {
  outline: none !important;
  box-shadow: none !important;
}

body {
  font-family: Arial, sans-serif;
}

img,
picture,
video,
canvas,
svg {
  display: block;
  max-width: 100%;
}

button,
input,
select,
textarea {
  font-family: inherit;
}

a {
  text-decoration: none;
  color: inherit;
}

ul,
ol {
  list-style: none;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

button {
  background: none;
  border: none;
  cursor: pointer;
}

#mobileWrapper {
  height: 100dvh;
  width: 100vw;
  overflow: hidden;
}


.camera-controls {
  position: fixed;
  bottom: 0;
  display: flex;
  justify-content: space-around;
  width: 100%;
  background-color: rgba(0, 0, 0, 0.5);
}


.result {
  position: fixed;
  top: 2%;
  left: 0;
  bottom: 0;
  right: 0;
}

.captured-wrapper {
  position: relative;
  height: 75%;
}

.captured-wrapper img {
  margin: auto;
  height: 100%;
  position: relative;
  border: 4px solid #172034;
}


.info {
  gap: 20px;
  position: relative;
  height: 20%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.info-up {
  position: relative;
  height: 50%;
}

.info-bottom {
  height: 50%;
  display: flex;
  justify-content: center;
  align-items: end;
}



.save-pic {
  width: 40%;
}

.retake-button {
  width: 35%;
  height: 100%;
}

.retake-button img {
  margin-left: auto;
  max-height: 100%;
}

.share-button {
  width: 35%;
  height: 100%;
}

.share-button img {
  margin-right: auto;
  max-height: 100%;
}


.shopping-guide {
  position: absolute;
  bottom: 0;
  object-fit: contain;
}

.camera-control {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
}

.camera-button {
  width: 50%;
}

.switch-camera-button {
  width: 50%;
}

.flex1 {
  flex: 1;
}

.flex-center {
  display: flex;
  justify-content: center;
  align-items: center;
}

.captured-wrapper-background {
  background-color: #1647AD;
}


#flashlight {
  position: fixed;
  display: none;
  top: 0;
  width: 100vw;
  height: 100dvh;
  background-color: rgba(255, 255, 255, 0.9);
}

#loader {
  border: 5px solid #f3f3f3;
  border-top: 5px solid #555;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  -webkit-animation: spin 1s linear infinite;
  animation: spin 1s linear infinite;
}

.loader-wrapper {
  height: 100%;
  width: 100%;
  position: fixed;
  z-index: 10;
  top: 0;
  left: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background-color: rgba(0, 0, 0, 0.2);
}

.switch-camera-floating-button {
  width: 16%;
  position: fixed;
  top: 4%;
  right: 8%;
}


.hidden {
  display: none;
}

@media screen and (max-width: 900px) {
  body {
    height: 100dvh;
    width: 100vw;
    overflow: hidden;
  }
}


@keyframes spin {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}