* {
  box-sizing: border-box;
}

body, h1, h2, hr, input {
  margin: 0;
}

button {
  font-family: inherit;
  padding: 0;
  background-color: #fff;
  color: #fff;
  border: none;
  border-radius: 10px;
  cursor: pointer;
}

@font-face {
  font-family: "Gotham";
  src: url("assets/fonts/GothamBook.ttf");
  font-weight: 400;
}
@font-face {
  font-family: "Gotham";
  src: url("assets/fonts/GothamMedium.ttf");
  font-weight: 500;
}
@font-face {
  font-family: "Gotham";
  src: url("assets/fonts/GothamBold.ttf"), url("assets/fonts/GothamBook.ttf");
  font-weight: 700;
}
.title {
  text-align: center;
  font-size: 20px;
  font-weight: 700;
}

.page {
  font-family: Gotham;
  font-size: 12px;
  font-weight: 400;
  line-height: 14px;
  background-color: #F5F5F5;
}
.page__body--without-scroll {
  overflow: hidden;
}

.header {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  background-color: #fff;
}
.header__logo {
  margin-top: 15px;
  margin-bottom: 10px;
}

.main {
  background: url("assets/images/background.svg") no-repeat center 180px/100% #fff;
}
.main__container {
  margin: 0 17px;
}
.main__submit {
  display: block;
  margin: 17px auto 0;
  width: 200px;
  height: 40px;
  font-size: 23px;
  font-weight: 500;
  border-radius: 50px;
  background-color: #F40000;
}
.main__submit:disabled {
  color: rgba(255, 255, 255, 0.3);
}
.main__visually-hidden {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 1px;
  height: 1px;
  padding: 0;
  border: none;
  outline: none;
  background-color: white;
}
.main__chains {
  margin-bottom: 15px;
}
.main__chains-title {
  margin-bottom: 10px;
}
.main__chains-inputs {
  margin: 0 auto;
  max-width: 340px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
}
.main__chains-box {
  width: 340px;
  height: 40px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  padding-left: 22px;
  padding-right: 13px;
  border: 2px solid #F5F5F5;
  border-radius: 10px;
}
.main__chains-box:not(:last-child) {
  margin-bottom: 12px;
}
.main__chains-label {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  font-size: 18px;
}
.main__chains-radio {
  width: 30px;
  height: 30px;
  border: 3px solid #F5F5F5;
}
.main__chains-radio[type=radio] {
  margin-right: 13px;
  width: 30px;
  height: 30px;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  border: 3px solid #f5f5f5;
  border-radius: 50%;
}
.main__chains-radio[type=radio]:checked {
  border: 9px solid #F40000;
}
.main__chains-name {
  position: relative;
  top: 14px;
}
@media screen and (-webkit-min-device-pixel-ratio: 0) and (min-resolution: 0.001dpcm) {
  .main__chains-name {
    top: 9px;
  }
}
.main__photos {
  padding-top: 30px;
  margin-bottom: 50px;
}
.main__photos-title {
  margin-bottom: 12px;
}
.main__photos-container {
  position: relative;
  width: 200px;
  height: 100px;
  margin: 0 auto;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  background-color: #fff;
}
.main__photos-describe {
  position: absolute;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  font-size: 20px;
  font-weight: 500;
}
.main__photos-canvas {
  image-rendering: optimizeQuality;
  image-rendering: -moz-crisp-edges;
  image-rendering: -webkit-optimize-contrast;
  image-rendering: optimize-contrast;
  -ms-interpolation-mode: nearest-neighbor;
}
.main__photos-button {
  position: absolute;
  bottom: 0;
  left: 50%;
  -webkit-transform: translate(-50%, 50%);
  transform: translate(-50%, 50%);
  width: 70px;
  height: 70px;
  background-color: #F40000;
}
.main__photos-snap {
  display: none;
  position: fixed;
  z-index: 1;
  left: 50%;
  top: 90%;
  -webkit-transform: translateX(-50%);
  transform: translateX(-50%);
  width: 55px;
  height: 55px;
  border-radius: 50%;
  background: url("assets/images/snap-default.svg") 100%/100%;
  z-index: 3;
}
.main__photos-snap:active {
  background: url("assets/images/snap-pressed.svg") 100%/100% #fff;
}
.main__photos-newphoto {
  display: none;
  margin: 17px auto 0;
  width: 100%;
  max-width: 320px;
  height: 60px;
  font-size: 23px;
}
.main__photos-newphoto:focus {
  background-color: #F5F5F5;
}
.main__store {
  margin-bottom: 15px;
}
.main__store-title {
  margin-bottom: 4px;
}
.main__store-input {
  display: block;
  margin: 0 auto;
  width: 100%;
  max-width: 320px;
  height: 40px;
  text-align: center;
  border: 2px solid #F5F5F5;
  border-radius: 10px;
  outline-color: #F40000;
  font-size: 20px;
  line-height: 40px;
  font-weight: 700;
}
.main__store-input::-webkit-input-placeholder {
  font-size: 12px;
}
.main__store-input::-moz-placeholder {
  font-size: 12px;
}
.main__store-input:-ms-input-placeholder {
  font-size: 12px;
}
.main__store-input::placeholder {
  font-size: 12px;
}

.qrPreviewVideo {
  width: 100%;
  position: fixed;
  top: 50%;
  left: 0;
  right: 0;
  bottom: 0;
  -webkit-transform: translateY(-50%);
  transform: translateY(-50%);
  padding-top: 100%;
  padding-bottom: 100%;
  background-color: #000;
  z-index: 2;
}

.popup {
  display: none;
  position: fixed;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  z-index: 1;
  width: 300px;
  height: 300px;
  box-shadow: 0px 4px 40px rgba(0, 0, 0, 0.4);
  border-radius: 40px;
}
.popup__message {
  display: block;
  position: relative;
  text-align: center;
  left: 50%;
  top: 110px;
  -webkit-transform: translateX(-50%);
  transform: translateX(-50%);
  font-size: 20px;
  font-weight: 700;
  line-height: 24px;
  color: #000;
  text-transform: uppercase;
}
.popup__button {
  width: 200px;
  height: 40px;
  position: absolute;
  left: 50%;
  bottom: 40px;
  -webkit-transform: translateX(-50%);
  transform: translateX(-50%);
  font-weight: 700;
  background-color: #000;
  text-transform: uppercase;
}
.popup--success {
  display: block;
  background: url("assets/images/check-circle-success.svg") #69E954 no-repeat center 20px;
}
.popup--success .popup__message {
  position: relative;
  max-width: 155px;
}
.popup--error {
  display: block;
  background: url("assets/images/check-circle-error.svg") #000 no-repeat center 20px;
}
.popup--error .popup__message {
  position: relative;
  max-width: 231px;
  color: #fff;
}
.popup--error .popup__button {
  color: #000;
  background-color: #fff;
}
.popup--permission-error {
  display: block;
  background: url("assets/images/check-circle-camera.svg") #F4DC00 no-repeat center 20px;
}
.popup--permission-error .popup__message {
  position: relative;
  max-width: 261px;
}

/*# sourceMappingURL=styles.css.map */
