@font-face {
  font-family: "Montserrat";
  src: url("/fonts/Montserrat-Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
* {
  box-sizing: border-box;
}
html {
  box-sizing: border-box;
  height: 100%;
  overflow: hidden;
}
body {
  --hpad: 0px;
  background-image: url("/img/bg.png");
  background-color: #dcdceb;
  background-position: bottom;
  background-repeat: no-repeat;
  background-size: 100% 100%;
  box-sizing: border-box;
  height: 100%;
  width: 100%;
  position: relative;
  overflow: hidden;
  margin: 0;
}
.form-block {
  width: 100%;
  padding-block: 32px;
  max-width: 644px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 0 25px 0 rgba(0, 0, 0, 0.2);
}
h1 {
  color: #000;
  text-align: center;
  font-family: "Times New Roman";
  font-size: 25px;
  font-style: normal;
  font-weight: 700;
  line-height: 30px;
  margin-top: 0px;
  margin-bottom: 24px;
  padding-inline: 32px;
}
.phone {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #b3b3d9;
  padding: 9px 20px;
  margin-bottom: 30px;
  img {
    max-width: 85px;
  }
}
.form-wrapper {
  padding-inline: 32px;
}
#timer {
  color: #f04;
  text-align: center;
  font-family: "Times New Roman";
  font-size: 30px;
  font-style: normal;
  font-weight: 700;
  line-height: 22px;
  margin-top: 0px;
  margin-bottom: 18px;
}

@media (max-width: 1140px) {
  body {
    --hpad: 44px;
    padding-inline: 44px;
  }
  .form-block {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: calc(100% - (var(--hpad) * 2));
    box-sizing: border-box;
  }
}
@media (max-width: 950px) {
  body {
    background-image: url("/img/bg2.png");
  }
}
@media (max-width: 600px) {
  h1 {
    font-size: 25px;
    padding-inline: 16px;
  }
  body {
    --hpad: 12px;
    padding-inline: 12px;
    background-image: none;
  }
  .form-block {
    width: calc(100% - (var(--hpad) * 2));
    padding-block: 40px;
  }
  .form-wrapper {
    padding-inline: 16px;
  }
  .phone img {
    max-width: 38px;
  }
  .phone {
    margin-bottom: 32px;
  }
}
