:root {
  color-scheme: light dark;
}

@media (prefers-color-scheme: light) {
  body {
    background-color: #fff;
  }
}

@media (prefers-color-scheme: dark) {
  body {
    background-color: #fff;
  }
}

@font-face {
  font-family: "Arial";
  src: local("Arial-Regular"), local("Arial Regular"), url("../fonts/ArialMT.woff2") format("woff2");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Arial";
  src: local("Arial-BoldMT"), local("Arial BoldMT"), url("../fonts/Arial-BoldMT.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

*,
*::before,
*::after {
  box-sizing: inherit;
}

* {
  max-height: 100000px;
  margin: 0;
  padding: 0;
  outline: none;
}

html {
  box-sizing: border-box;
}

body {
  -moz-text-size-adjust: none;
  -webkit-text-size-adjust: none;
  text-size-adjust: none;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
  position: relative;
  min-width: 320px;
  margin: 0;
  font-family: "Arial", Helvetica, sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1;
  color: #000;
  direction: ltr;
}

a {
  cursor: pointer;
}

a[href^="tel"] {
  color: inherit;
  text-decoration: inherit;
  pointer-events: none;
}

.hide-scrollbar::-webkit-scrollbar {
  /* webkit */
  width: 0;
}

.hide-scrollbar {
  /* firefox */
  scrollbar-width: none;
}

.wrap {
  position: relative;
  min-height: 100vh;
  min-height: var(--vh, 100vh);
  background-image: url(../img/bg/BG-Desktop.png);
  background-repeat: no-repeat;
  background-size: cover;
  background-position-x: center;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.wrap-inner {
  position: relative;
  margin: 0 auto;
  width: 100%;
  max-width: 100%;
}

.header {
  margin: 0 auto;
  width: 100%;
  max-width: 1120px;
  height: 40px;
  display: flex;
  align-items: center;
  background-color: #141321;
}

.header__menu-block {
  width: 100%;
  display: flex;
  align-items: center;
  height: 24px;
}

.menu__img-wrapper {
  display: inline-block;
  position: relative;
  width: 24px;
  height: 24px;
  margin-right: 4px;
  border-radius: 50%;
  background-color: #3c3c3c;
}

.menu__img-wrapper::after {
  content: "";
  background-image: url(../img/icon-menu.svg);
  background-repeat: no-repeat;
  width: 12px;
  height: 12px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.header__search-block {
  display: flex;
  justify-content: end;
  align-items: center;
  width: 100%;
}

.logo-img {
  display: inline-block;
  align-self: end;
}

.search-description {
  display: inline-block;
  color: #fff;
  text-align: justify;
  font-family: Arial;
  font-size: 11px;
  font-weight: 400;
  line-height: 1;
}

.search__img-wrapper {
  margin-left: 4px;
  display: inline-block;
  position: relative;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background-color: #3c3c3c;
}

.search__img-wrapper::after {
  content: "";
  background-image: url(../img/icon-search.svg);
  background-repeat: no-repeat;
  width: 12px;
  height: 12px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.content {
  padding-top: 140px;
  position: relative;
  width: 100%;
  max-width: 340px;
  margin: 0 auto;
}

.content--step2 {
  max-width: 520px;
}

.title {
  color: #fff;
  text-align: center;
  font-family: Arial;
  font-size: 26px;
  font-weight: 400;
  line-height: 1;
}

.title-purchase {
  text-transform: uppercase;
}

.title-purchase--unsuccess {
  margin-bottom: 52px;
}

.main-img {
  display: block;
  margin: 24px auto 0;
}

.cost,
.charged-instruction {
  margin-top: 40px;
  color: #fff;
  text-align: center;
  font-family: Arial;
  font-size: 16px;
  font-weight: 400;
  line-height: 1;
}

.charged-instruction {
  margin-top: 24px;
  font-size: 18px;
  line-height: 1.2;
}

.service-redirect {
  color: inherit;
  font-weight: 700;
}

.content__btn {
  display: block;
  margin: 10px auto 0;
  width: 100%;
  max-width: 270px;
  padding: 14px 10px;
  text-align: center;
  border-radius: 99px;
  background: linear-gradient(234deg, #a5aef6 34.56%, #46c8f1 83.64%, #4ce2ec 138.94%);

  color: #141321;
  text-align: center;
  font-family: Arial;
  font-size: 26px;
  font-weight: 700;
  line-height: 1;
  text-transform: uppercase;
  text-decoration: none;
}

.content__btn:hover {
  background: linear-gradient(256deg, #a5aef6 39.38%, #46c8f1 67.73%, #4ce2ec 99.67%);
}

.content__btn:active {
  border: 1px solid #161157;
  background: linear-gradient(290deg, #a5aef6 24.98%, #46c8f1 57.93%, #4ce2ec 95.06%);
}

.content__btn:disabled {
  background: #c4c4c4;
}

.footer {
  margin: 0 auto 80px;
  width: 100%;
  max-width: 414px;
  padding: 0 16px;
  color: #fff;
  text-align: justify;
  font-family: Arial;
  font-size: 11px;
  font-weight: 400;
  line-height: 1;
}

.footer__text-email {
  text-decoration: underline;
}

.footer__link {
  text-align: center;
  color: inherit;
}

/**********/

/***MESSAGE****/
.message {
  position: fixed;
  z-index: 20;
  left: 0;
  top: 0;
  width: 100%;

  height: 100%;
  display: none;
  /* display: flex; */
  justify-content: center;
  align-items: center;
  background: rgba(30, 30, 30, 0.3);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  /* Для Safari и Chrome */
}

.message__content {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  max-width: 400px;
  padding: 20px;
  font-family: "Arial", Helvetica, sans-serif;
  color: #000;
  background-color: #fff;
  border: none;
  border-radius: 15px;
  will-change: transform;
  animation-name: fadeInDown;
  animation-duration: 0.8s;
  animation-delay: 0.4s;
  animation-fill-mode: both;
}

.messageStepTitle {
  color: #1e1e1e;
  text-align: center;
  font-family: Ruda;
  font-size: 24px;
  font-style: normal;
  font-weight: 900;
  line-height: 100%;
  /* 24px */
}

.message__content--pin-unsuccess {
  padding: 40px 24px;
}

.message__title {
  color: #1e1e1e;
  text-align: center;
  font-family: Ruda;
  font-size: 24px;
  font-style: normal;
  font-weight: 900;
  line-height: 100%;
  /* 24px */
  padding-bottom: 20px;
}

.message__title--mode {
  margin-bottom: 15px;
}

.message__text {
  color: #1e1e1e;
  text-align: center;
  font-family: Ruda;
  font-size: 16px;
  font-style: normal;
  font-weight: 700;
  line-height: 100%;
  /* 16px */
  padding-bottom: 20px;
}

.message__text--mode {
  margin-bottom: 0;
  width: 220px;
}

.message__btn {
  width: 100%;
  margin: 0;
  color: inherit;
}

.message__close {
  position: absolute;
  top: 7px;
  right: 7px;
  width: 24px;
  height: 24px;
  font-size: 0;
  color: rgba(0, 0, 0, 0);
}

.message__close::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: 2px;
  height: 100%;
  background-color: #1e1e1e;
  transform: translateX(-50%) rotate(-45deg);
}

.message__close::after {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: 2px;
  height: 100%;
  background-color: #1e1e1e;
  transform: translateX(-50%) rotate(45deg);
}

.message__close:hover.message__close::before,
.message__close:hover.message__close::after {
  background-color: #056add;
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translate3d(0, -100%, 0);
  }

  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

@media screen and (min-width: 1600px) and (min-height: 1200px) {
  .content {
    padding-top: 260px;
  }
}

@media screen and (min-width: 1536px) and (max-width: 1537px) and (min-height: 754px) and (max-height: 755px) {
  .content {
    padding-top: 60px;
  }
}

@media screen and (min-width: 1440px) and (max-width: 1441px) and (min-height: 1024px) and (max-height: 1025px) {
  .content {
    padding-top: 180px;
  }
}

@media screen and (min-width: 1440px) and (max-width: 1441px) and (min-height: 900px) and (max-height: 901px) {
  .content {
    padding-top: 128px;
  }
}

@media screen and (min-width: 1440px) and (max-width: 1441px) and (min-height: 821px) and (max-height: 822px) {
  .content {
    padding-top: 92px;
  }
}

@media screen and (min-width: 1280px) and (max-width: 1281px) and (min-height: 768px) and (max-height: 769px) {
  .header {
    max-width: 800px;
  }

  .content {
    padding-top: 66px;
  }
}

@media screen and (min-width: 1366px) and (max-width: 1367px) and (min-height: 625px) and (max-height: 626px) {
  .content {
    padding-top: 18px;
  }
}

@media screen and (min-width: 1025px) and (max-width: 1280px) and (max-height: 650px) {
  .header {
    max-width: 800px;
  }

  .content {
    padding-top: 40px;
  }

  .main-img {
    width: 137px;
    height: 124px;
  }

  .footer {
    margin-bottom: 30px;
  }
}

@media screen and (max-width: 1024px) and (max-height: 1366px) {
  .wrap {
    background-image: url(../img/bg/BG-Tablet.png);
  }

  .header {
    max-width: 408px;
  }

  .content {
    padding-top: 64px;
  }

  .content--step2 {
    max-width: 340px;
  }
}

@media screen and (max-width: 1024px) and (min-height: 915px) and (max-height: 916px) {
  .wrap {
    background-image: url(../img/bg/BG-Tablet.png);
  }

  .content {
    padding-top: 52px;
  }
}

@media screen and (orientation: landscape) and (max-width: 1024px) and (max-height: 1366px) {
  .wrap {
    background-image: url(../img/bg/BG-Laptop.png);
  }

  .header {
    max-width: 800px;
  }

  .content {
    padding-top: 60px;
  }
}

@media screen and (orientation: landscape) and (max-width: 1024px) and (min-height: 659px) and (max-height: 660px) {
  .wrap {
    background-image: url(../img/bg/BG-Laptop.png);
  }

  .content {
    padding-top: 40px;
  }
}

@media screen and (orientation: landscape) and (max-width: 1024px) and (min-height: 600px) and (max-height: 601px) {
  .wrap {
    background-image: url(../img/bg/BG-Laptop.png);
  }

  .content {
    padding-top: 12px;
  }

  .footer {
    margin-bottom: 30px;
  }
}

@media screen and (max-width: 500px) {
  .wrap {
    background-image: url(../img/bg/BG-iPhone11.png);
  }

  .header {
    padding: 0 16px;
    max-width: 100%;
  }

  .content {
    padding-top: 50px;
  }

  .footer {
    max-width: 100%;
    margin-bottom: 30px;
  }
  .message__content {
    margin: 0 20px;
  }
}

@media screen and (max-width: 500px) and (height: 772px) {
  .content {
    padding-top: 72px;
  }
}

@media screen and (min-width: 408px) and (max-width: 415px) and (max-height: 640px) {
  .wrap {
    background-image: url(../img/bg/BG-iPhone11.png);
  }

  .header {
    padding: 0 16px;
    max-width: 100%;
  }

  .content {
    padding-top: 50px;
  }

  .footer {
    max-width: 100%;
    margin-bottom: 30px;
  }
}

@media screen and (max-width: 393px) and (height: 689px) {
  .content {
    padding-top: 36px;
  }
}

@media screen and (max-width: 393px) and (height: 646px) {
  .content {
    padding-top: 34px;
  }
}

@media screen and (max-width: 390px) and (height: 664px) {
  .content {
    padding-top: 30px;
  }
}

@media screen and (max-width: 375px) {
  .wrap {
    background-image: url(../img/bg/BG-iPhoneX.png);
  }
}

@media screen and (max-width: 375px) and (max-height: 560px) {
  .wrap {
    background-position: center -38px;
  }

  .content {
    padding-top: 10px;
  }

  .cost {
    margin-top: 20px;
  }

  .footer {
    margin-bottom: 10px;
  }

  .footer__link {
    margin-top: 6px;
  }
}

@media screen and (max-width: 350px) {
  .wrap {
    background-image: url(../img/bg/BG-iPhoneSE-ver.png);
    background-position: center 0;
  }

  .logo-img {
    width: 90px;
    height: 16px;
    align-self: center;
  }

  .content {
    padding-top: 16px;
    max-width: 288px;
  }

  .main-img {
    margin-top: 20px;
    width: 106px;
    height: 96px;
  }

  .title {
    font-size: 20px;
  }

  .title-purchase--unsuccess {
    margin-bottom: 40px;
  }

  .cost,
  .charged-instruction {
    font-size: 14px;
  }

  .content__btn {
    font-size: 20px;
  }
}

@media screen and (orientation: landscape) and (min-width: 480px) and (max-width: 950px) and (max-height: 500px) {
  .wrap {
    background-image: url(../img/bg/BG-iPhone8-hor.png);
  }

  .header {
    padding: 0 8px;
    max-width: 100%;
  }

  .logo-img {
    width: 90px;
    height: 16px;
    align-self: center;
  }

  .content {
    max-width: 288px;
    padding-top: 10px;
  }

  .content--step2 {
    max-width: 520px;
  }

  .line-break {
    display: none;
  }

  .title {
    font-size: 20px;
  }

  .title-purchase--unsuccess {
    margin-bottom: 10px;
  }

  .cost,
  .charged-instruction {
    font-size: 14px;
  }

  .charged-instruction {
    margin-top: 10px;
  }

  .charged-instruction--unsuccess {
    max-width: 490px;
    margin: 10px auto 0;
  }

  .content__btn {
    font-size: 20px;
  }

  .main-img {
    display: none;
  }

  .cost {
    margin-top: 15px;
  }

  .footer {
    margin-bottom: 10px;
    max-width: 100%;
  }
}

@media screen and (orientation: landscape) and (min-width: 480px) and (max-width: 600px) and (max-height: 320px) {
}
