@charset "UTF-8";
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  font-family: sans-serif;
  background: linear-gradient(90deg, rgb(0, 110, 217), rgb(30, 144, 255), rgb(0, 110, 217));
}

::-moz-selection {
  color: #fff;
  background-color: dodgerblue;
}

::selection {
  color: #fff;
  background-color: dodgerblue;
}

.form, .main, .wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.wrapper {
  background-color: #fff;
  box-shadow: 0px 0px 50px 35px rgba(34, 60, 80, 0.25);
  max-width: 420px;
  padding: 20px;
  margin: auto 10px;
  border-radius: 8px;
}

.header {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.header p {
  font-size: 18px;
  line-height: 24px;
  color: gray;
}

.title {
  display: flex;
}
.title h1 {
  font-size: 28px;
  font-weight: normal;
}

.img-wrapper {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}
.img-wrapper img {
  margin-left: 6px;
  opacity: 45%;
}
.img-wrapper:hover::before {
  position: absolute;
  top: 29px;
  left: -51px;
  width: 123px;
  content: "QR - Quick Response - Быстрый Отклик — это двухмерный штрихкод, распознаётся с помощью камеры на мобильном телефоне. При помощи QR-кода можно закодировать любую информацию, например: текст, номер телефона, ссылку на сайт или визитную карточку.";
  font-size: 12px;
  background: #ccc;
  padding: 8px;
  border-radius: 8px;
  z-index: 2;
}

.form__input {
  padding: 12px;
  font-size: 20px;
  border-radius: 8px;
}

.advanced-features__wrapper {
  display: none;
  flex-direction: column;
  gap: 20px;
}

.advanced-features__switch-wrapper {
  display: flex;
  align-items: center;
  gap: 8px;
}

.advanced-features__label-switch {
  font-size: 18px;
}

.advanced-features__switch {
  width: 15px;
  height: 15px;
}

.advanced-features {
  display: none;
  flex-direction: column;
  padding: 3px;
}
.advanced-features span {
  border: 1px solid #ccc;
}
.advanced-features span:first-child {
  margin-bottom: 30px;
}
.advanced-features span:last-child {
  margin-top: 20px;
}
.advanced-features :nth-last-child(2), .advanced-features :nth-last-child(3) {
  justify-content: center;
}

.advanced-features__format-wrapper label, .advanced-features__format-wrapper input, .advanced-features__format-wrapper select, .advanced-features__size-wrapper label, .advanced-features__size-wrapper input, .advanced-features__size-wrapper select, .advanced-features__ecc-wrapper label, .advanced-features__ecc-wrapper input, .advanced-features__ecc-wrapper select {
  max-width: 170px;
  width: 100%;
}

.advanced-features__ecc-hint-wrapper {
  display: flex;
}

.advanced-features__ecc-hint img {
  margin-left: 6px;
  opacity: 45%;
}
.advanced-features__ecc-hint:hover::before {
  content: "Чем больше ECC, тем больше данных можно восстановить, если QR-код поврежден. Более высокий ECC приводит к большему количеству сохраняемых данных. Cамый низкий ECC является лучшим выбором для общих целей — устаревшие считыватели QR-кодов являются более распространенной проблемой, чем разрушенные QR-коды. L (7%), M (15%), Q (25%), H (30%)";
  position: absolute;
  left: -3px;
  top: 23px;
  width: 165px;
  font-size: 12px;
  background: #ccc;
  padding: 8px;
  border-radius: 8px;
  z-index: 2;
}

.advanced-features__format-wrapper, .advanced-features__size-wrapper, .advanced-features__ecc-wrapper, .advanced-features__color-wrapper, .advanced-features__bgcolor-wrapper {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  align-items: baseline;
  margin-bottom: 8px;
  position: relative;
}
.advanced-features__format-wrapper p, .advanced-features__size-wrapper p, .advanced-features__ecc-wrapper p, .advanced-features__color-wrapper p, .advanced-features__bgcolor-wrapper p {
  margin-bottom: 10px;
}
.advanced-features__format-wrapper input, .advanced-features__format-wrapper select, .advanced-features__size-wrapper input, .advanced-features__size-wrapper select, .advanced-features__ecc-wrapper input, .advanced-features__ecc-wrapper select, .advanced-features__color-wrapper input, .advanced-features__color-wrapper select, .advanced-features__bgcolor-wrapper input, .advanced-features__bgcolor-wrapper select {
  margin-bottom: 16px;
  border-radius: 8px;
  padding: 4px;
}
.advanced-features__format-wrapper input::-webkit-outer-spin-button, .advanced-features__format-wrapper input::-webkit-inner-spin-button, .advanced-features__format-wrapper select::-webkit-outer-spin-button, .advanced-features__format-wrapper select::-webkit-inner-spin-button, .advanced-features__size-wrapper input::-webkit-outer-spin-button, .advanced-features__size-wrapper input::-webkit-inner-spin-button, .advanced-features__size-wrapper select::-webkit-outer-spin-button, .advanced-features__size-wrapper select::-webkit-inner-spin-button, .advanced-features__ecc-wrapper input::-webkit-outer-spin-button, .advanced-features__ecc-wrapper input::-webkit-inner-spin-button, .advanced-features__ecc-wrapper select::-webkit-outer-spin-button, .advanced-features__ecc-wrapper select::-webkit-inner-spin-button, .advanced-features__color-wrapper input::-webkit-outer-spin-button, .advanced-features__color-wrapper input::-webkit-inner-spin-button, .advanced-features__color-wrapper select::-webkit-outer-spin-button, .advanced-features__color-wrapper select::-webkit-inner-spin-button, .advanced-features__bgcolor-wrapper input::-webkit-outer-spin-button, .advanced-features__bgcolor-wrapper input::-webkit-inner-spin-button, .advanced-features__bgcolor-wrapper select::-webkit-outer-spin-button, .advanced-features__bgcolor-wrapper select::-webkit-inner-spin-button {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}

.advanced-features__color, .advanced-features__bgcolor {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
  justify-content: space-around;
}

.advanced-features__color-input, .advanced-features__bgcolor-input {
  width: 95px;
}

.button {
  padding: 24px;
  background-color: dodgerblue;
  color: #fff;
  border-radius: 8px;
  font-size: 20px;
  border: none;
  cursor: pointer;
}
.button:active {
  opacity: 0.85;
}

.qr-code {
  justify-content: center;
  opacity: 0;
  border: 2px solid rgba(128, 128, 128, 0.75);
  border-radius: 8px;
  display: none;
}
.qr-code img {
  display: none;
  max-width: 100%;
}

.wrapper .qr-code {
  opacity: 1;
  padding: 30px 0;
}

.buttons {
  flex-direction: column;
  gap: 20px;
  display: none;
}

.share-wrapper {
  position: fixed;
  top: 0;
  left: 0;
  min-height: 100%;
  min-width: 100dvw;
  background-color: rgba(0, 0, 0, 0.5);
  display: none;
}

.share {
  padding: 36px;
  border: none;
  border-radius: 8px;
  flex-wrap: wrap;
  justify-content: center;
  gap: 45px;
  max-width: 380px;
  top: calc(50% - 123px);
  left: calc(50% - 190px);
  display: none;
}

.share__close {
  box-sizing: content-box;
  position: absolute;
  cursor: pointer;
  padding: 10px;
  top: 0px;
  right: 0px;
}

@media (max-width: 439px) {
  .form__input, .form {
    width: 100%;
  }
}
@media (max-width: 400px) {
  .share {
    max-width: 300px;
    left: calc(50% - 150px);
    top: calc(50% - 177px);
  }
}
@media (max-width: 381px) {
  .wrapper .header .title .img-wrapper:hover::before {
    left: auto;
    right: -20px;
  }
}/*# sourceMappingURL=style.css.map */