.container {
  padding: 48px 48px 32px 48px;
  display: flex;
  gap: 13px;
}

.section-block {
  display: flex;
  flex-direction: column;
  gap: 20px;
  justify-content: space-between;

  &.large {
    @media screen and (max-width: 1920px) {
      max-width: 884px;
    }

    @media screen and (max-width: 1440px) {
      max-width: 662px;
    }

    @media screen and (max-width: 1280px) {
      max-width: 600px;
    }

    @media screen and (max-width: 1000px) {
      max-width: 100%;
    }
  }

  &.small {
    @media screen and (max-width: 1920px) {
      max-width: 430px;
    }

    @media screen and (max-width: 1440px) {
      max-width: 321px;
    }

    @media screen and (max-width: 1280px) {
      max-width: 292px;
    }

    @media screen and (max-width: 1000px) {
      max-width: 100%;
    }
  }
}

.main-info-block {
  display: flex;
  flex-direction: column;
  position: relative;
  border: 1px solid #a7b5d2;
  padding: 24px 40px 40px 40px;
  border-radius: 30px;
  box-sizing: border-box;
}

.double-form-container {
  position: relative;
  display: flex;
  border-radius: 20px;

  &.orange {
    background-color: #faeee6;
  }

  &.blue {
    background-color: #e8effc;
  }
}

.db-left-part {
  @media screen and (max-width: 1920px) {
    max-width: 442px;
  }

  @media screen and (max-width: 1440px) {
    max-width: 331px;
  }
}

.db-right-part {
  box-sizing: border-box;
  border-radius: 20px;
  padding: 60px 40px 32px 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;

  &.blue {
    background-color: #d4e0f8;
  }

  &.orange {
    background-color: #fddec9;
  }

  @media screen and (max-width: 1920px) {
    max-width: 442px;
  }

  @media screen and (max-width: 1440px) {
    max-width: 331px;
  }
}

.img-logo {
  position: absolute;
  bottom: 20px;
  display: flex;

  &.content-center {
    left: 50%;
    transform: translateX(-50%);

    @media screen and (max-width: 1000px) {
      left: 30px;
      transform: none;
    }

    @media screen and (max-width: 640px) {
      left: 0;
      transform: none;
    }
  }

  &.bloom {
    width: 82%;

    @media screen and (max-width: 1440px) {
      max-width: 240px;
      width: 74%;
    }
  }

  & img {
    @media screen and (max-width: 1920px) {
      min-height: 60px;
    }

    @media screen and (max-width: 1440px) {
      min-height: 40px;
    }

    @media screen and (max-width: 1280px) {
      min-height: 32px;
      width: 95%;
    }
  }

  @media screen and (max-width: 1000px) {
    bottom: 0;
    top: 0;
    max-height: 32px;
  }
}

.img-logo-bloom {
  width: 100%;

  @media screen and (max-width: 1280px) {
    max-width: 210px;
  }
}

.main-block-wrapper {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.card {
  position: relative;
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
  border-radius: 20px;
  padding: 40px 40px 32px 40px;
  height: 100%;

  &.blue {
    background-color: #f6f9ff;
  }

  &.pink {
    background-color: #f8f5fd;
  }

  &.green {
    background-color: #e9f5f6;
  }

  &.basius {
    background-color: #fdf8f5;
  }

  &.content-center {
    justify-content: center;
  }

  &.height-full {
    height: 100%;
  }

  &.hide {
    display: none;
  }
}

.title-decription-container {
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.title-decription {
  display: flex;
  align-items: flex-start;
  gap: 18px;

  &.title {
    font-weight: 700;
    font-size: 16px;
    line-height: 19.2px;
    min-width: 172px;
  }

  &.description {
    font-weight: 400;
    font-size: 16px;
    line-height: 19.2px;

    &.inner {
      gap: 2px;
      flex-direction: row;
      display: inline;
    }
  }
}

.wifi-offer {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin: 56px 0;

  &.hide {
    display: none;
  }
}

.wifi-info {
  display: flex;
}

.wifi-name {
  width: 80px;
  min-width: 80px;
  font-size: 16px;
  font-weight: 400;
  line-height: 19.2px;

  @media screen and (max-width: 1920px) {
    font-size: 18px;
    line-height: 21.6px;
  }

  @media screen and (max-width: 1440px) {
    font-size: 16px;
    line-height: 19.2px;
  }

  @media screen and (max-width: 1280px) {
    font-size: 14px;
    line-height: 16.8px;
  }

  &.bold {
    font-weight: 500;
  }
}

.wifi-value {
  font-size: 16px;
  font-weight: 400;
  line-height: 19.2px;

  @media screen and (max-width: 1920px) {
    font-size: 18px;
    line-height: 21.6px;
  }

  @media screen and (max-width: 1440px) {
    font-size: 16px;
    line-height: 19.2px;
  }

  @media screen and (max-width: 1280px) {
    font-size: 14px;
    line-height: 16.8px;
  }

  &.bold {
    font-weight: 500;
  }
}

.wifi-container-password {
  display: flex;
  align-items: center;
  gap: 5px;
}

.copy-info-container {
  display: flex;
  flex-direction: column;
  margin: 8px 0;
}

.copy-row-container {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 32px;

  & div {
    width: 100%;
  }
}

.label-info {
  margin-bottom: 8px;

  @media screen and (max-width: 1920px) {
    font-size: 18px;
    line-height: 21.6px;
  }
}

.text-and-copy {
  display: flex;
  justify-content: space-between;
  margin-bottom: 4px;
  font-size: 16px;
  font-weight: 700;
  line-height: 19.2px;

  @media screen and (max-width: 1920px) {
    font-size: 14px;
    line-height: 16.8px;
  }
}

.underline {
  height: 1px;
  background-color: #a7b5d2;
}

.underline-basius {
  height: 1px;
  background-color: #bcbcbc;
}

.number-left-top {
  position: absolute;
  top: 0;
  left: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  border-radius: 80px;
  background-color: #ffffff;
  font-size: 24px;
  font-weight: 900;
  line-height: 28.8px;

  &.variant-1 {
    color: #a7b5d2;
  }

  &.variant-2 {
    color: #cdbfe3;
  }

  &.variant-3 {
    color: #93b8bc;
  }

  &.variant-4 {
    color: #ff5c30;
  }
}

.header-paragraph-container {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.top-text-header {
  font-weight: 700;
  font-size: 24px;
  line-height: 28.8px;
  color: #474747;
  margin: 0;

  &.big {
    @media screen and (max-width: 1920px) {
      font-size: 36px;
      line-height: 43.2px;
    }

    @media screen and (max-width: 1440px) {
      font-size: 32px;
      line-height: 38.4px;
    }

    @media screen and (max-width: 1280px) {
      font-size: 24px;
      line-height: 28.8px;
    }
  }

  @media screen and (max-width: 1920px) {
    font-size: 27px;
    line-height: 26px;
  }

  @media screen and (max-width: 1440px) {
    font-size: 22px;
    line-height: 26px;
  }

  @media screen and (max-width: 1280px) {
    font-size: 20px;
    line-height: 26px;
  }
}

.paragraph-text {
  font-weight: 400;
  font-size: 16px;
  line-height: 19.2px;
  margin: 0;

  @media screen and (max-width: 1920px) {
    font-size: 18px;
    line-height: 21.6px;
  }

  @media screen and (max-width: 1440px) {
    font-size: 16px;
    line-height: 19.2px;
  }

  @media screen and (max-width: 1280px) {
    font-size: 14px;
    line-height: 16.8px;
  }
}

.button-default {
  display: block;
  padding: 12px 32px;
  border-radius: 8px;
  width: fit-content;
}

.button-onboard {
  width: 100%;
  text-align: center;
  color: #ffffff;
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
}

.button-container {
  display: flex;
  gap: 24px;
  margin-top: 32px;

  &.basius-variant {
    margin-top: 30px;
  }
}

.header-img-container {
  display: flex;
  align-items: baseline;
  gap: 4px;

  &.column {
    flex-direction: column;
    align-items: flex-start;
  }
}

.button-variant-1 {
  background-color: #697896;
  color: #ffffff;
  font-size: 16px;
  font-weight: 500;
  text-decoration: none;

  &:visited {
    color: #ffffff;
    text-decoration: none;
  }
}

.button-variant-2 {
  border: 1px solid #697896;
  color: #697896;
  font-size: 16px;
  text-decoration: none;

  &:visited {
    color: #697896;
    text-decoration: none;
  }
}

.button-variant-3 {
  background-color: #000000;
  color: #ffffff;
  font-size: 16px;
  font-weight: 500;
  text-decoration: none;

  &:visited {
    color: #ffffff;
    text-decoration: none;
  }
}

.button-variant-4 {
  border: 1px solid #000000;
  color: #000000;
  font-size: 16px;
  text-decoration: none;

  &:visited {
    color: #000000;
    text-decoration: none;
  }
}

.link-to-service {
  font-size: 16px;
  font-weight: 700;
  color: #474747;

  &:visited {
    color: #474747;
  }

  @media screen and (min-width: 1920px) {
    font-size: 18px;
  }

  @media screen and (max-width: 1470px) {
    font-size: 16px;
  }

  @media screen and (max-width: 1280px) {
    font-size: 14px;
  }
}

.link-to-service-thin {
  font-size: 16px;
  color: #474747;

  &:visited {
    color: #474747;
  }

  @media screen and (min-width: 1920px) {
    font-size: 18px;
  }

  @media screen and (max-width: 1470px) {
    font-size: 16px;
  }

  @media screen and (max-width: 1280px) {
    font-size: 14px;
  }
}

.img-in-text {
  max-width: 40px;
  max-height: 40px;

  &.big {
    max-width: 70px;
    max-height: 70px;
  }

  &.small {
    max-width: 20px;
    max-height: 20px;
  }

  &.copy {
    cursor: pointer;
  }
}

.onboard-container {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  max-height: 100vh;
  overflow: hidden;
}

.first-circle {
  padding: 107px;
  background-color: #a7b5d20d;
  border: 1px solid #a7b5d24d;
}
.second-circle {
  padding: 239px;
  background-color: #a7b5d20d;
  border: 1px solid #a7b5d24d;
}

.third-circle {
  padding: 180px;
  border: 1px solid #a7b5d24d;
}

.circle {
  border-radius: 100%;
}

.main-form-container {
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
  padding: 40px;
  background-color: white;
  border: solid #a7b5d2;
  border-radius: 30px;
  min-width: 386px;
  min-height: 374px;
  box-shadow: 0px 1px 6px 0px #bcc9e3;
  transition: all linear 0.15s;
}

.error {
  background-color: #ffefef;
  color: #eb4e4e;
  text-align: center;
  padding: 12px 32px;
  margin-bottom: 12px;
  border-radius: 8px;
  display: block;
}

.error-title {
  color: #eb4e4e;
}

#error-message {
  font-size: 15px;
  white-space: nowrap;
}

input#userPin.error-title {
  border-bottom-color: #eb4e4e;
}

.disabled-error {
  display: none;
}

.img-onboard {
  & img {
    height: 40px;
  }
}

.img-onboard-bloom {
  & img {
    max-height: 15px;
    max-width: 300px;
  }
}

.input-container {
  & input {
    border: none;
    min-height: 24px;
    margin-top: 8px;
    border-bottom: 1px solid #a7b5d2;
    width: 99%;
  }
}

.head-title-container {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin: 32px 0 24px 0;
}

body {
  margin: 0;
  padding: 0;
  font-family: "Lab Grotesque";
  color: #474747;
}

p {
  margin: 0;
  padding: 0;
}

@font-face {
  font-family: Lab Grotesque;
  font-weight: 400;
  src: url(https://s.kontur.ru/common-v2/fonts/LabGrotesque/LabGrotesque-Regular.woff2)
      format("woff2"),
    url(https://s.kontur.ru/common-v2/fonts/LabGrotesque/LabGrotesque-Regular.woff)
      format("woff");
}

@font-face {
  font-family: Lab Grotesque;
  font-weight: 600;
  src: url(https://s.kontur.ru/common-v2/fonts/LabGrotesque/LabGrotesque-Medium.woff2)
      format("woff2"),
    url(https://s.kontur.ru/common-v2/fonts/LabGrotesque/LabGrotesque-Medium.woff)
      format("woff");
}

@media screen and (max-width: 1920px) {
  .container {
    padding: 40px 64px 48px 64px;
    gap: 20px;
  }

  .main-info-block {
    max-width: 430px;
    min-height: 992px;
  }
}

@media screen and (max-width: 1440px) {
  .main-info-block {
    max-width: 322px;
  }
}

@media screen and (max-width: 1280px) {
  .main-info-block {
    max-width: 292px;
  }
}

@media screen and (max-width: 1000px) {
  .main-info-block {
    width: 100%;
    border: none;
    max-width: none;
    min-height: auto;
  }

  .container {
    flex-direction: column;
    padding: 32px;
    gap: 20px;
  }

  .double-form-container {
    flex-direction: column;
  }

  .db-left-part {
    width: 50%;
    /* min-width: 250px; */
  }

  .db-right-part {
    min-height: auto;
    position: static;
    width: auto;
    min-width: 100%;
  }

  .header-img-container {
    display: flex;
    align-items: center;
    gap: 8px;

    &.column {
      flex-direction: row-reverse;
      align-items: baseline;
      justify-content: flex-end;
    }
  }
}

@media screen and (max-width: 640px) {
  .container {
    padding: 0;
  }

  .main-info-block {
    border: none;
    padding: 56px 16px 22px 16px;
    min-height: auto;
  }

  .top-text-header {
    font-size: 18px;
    line-height: 21.6px;

    &.big {
      font-size: 20px;
      line-height: 24px;
    }
  }

  .img-in-text {
    max-width: 20px;
    max-height: 20px;

    &.big {
      max-width: 36px;
      max-height: 36px;
    }

    &.small {
      max-width: 10px;
      max-height: 10px;
    }
  }

  .paragraph-text {
    font-weight: 400;
    font-size: 12px;
    line-height: 14.4px;
  }

  .link-to-service-thin {
    font-size: 12px;
  }

  .link-to-service {
    font-size: 12px;
    font-weight: 400;
  }

  .header-paragraph-container {
    gap: 8px;
    margin-bottom: 10px;
  }

  .number-left-top {
    position: absolute;
    top: -18px;
    right: 0;
    left: auto;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 36px;
    height: 36px;
    border-radius: 80px;
    background-color: #ffffff;
    font-size: 16px;
    font-weight: 900;
    line-height: 19.2px;
  }

  .copy-info-container {
    display: flex;
    flex-direction: row;
    gap: 30px;
    margin: 6px 0;
    max-width: 252px;

    & div {
      width: auto;
    }
  }

  .text-and-copy {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    font-weight: 700;
    line-height: 14.4px;
    margin-bottom: 0;
    align-items: center;
    gap: 12px;
  }

  .label-info {
    min-width: 52px;
    margin-bottom: 0;
    font-size: 12px;
    line-height: 14.4px;
  }

  .underline {
    display: none;
  }

  .button-default {
    display: block;
    padding: 12px 23px;
    border-radius: 8px;
    width: 162px;
    text-align: center;
    font-size: 12px;
    line-height: 14.4px;
  }

  .copy-row-container {
    margin-bottom: 12px;
    margin-top: 8px;
    flex-direction: column;
    gap: 0px;
  }

  .button-variant-1 {
    & a {
      font-size: 12px;
    }
  }

  .button-variant-2 {
    & a {
      font-size: 12px;
    }
  }

  .button-variant-3 {
    & a {
      font-size: 12px;
    }
  }

  .button-variant-4 {
    & a {
      font-size: 12px;
    }
  }

  .wifi-offer {
    gap: 12px;
    margin-top: 32px;
  }

  .wifi-info {
    justify-content: normal;
    gap: 30px;

    & span {
      min-width: 50px;
      font-size: 12px;
      line-height: 14.4px;
    }
  }

  .img-logo {
    bottom: 0;
    top: 20px;
    min-width: 150px;
    max-height: 24px;

    &.content-center {
      justify-content: center;
    }

    &.bloom {
      max-height: 8px;
    }

    & img {
      max-width: 255px;
    }
  }

  .title-decription-container {
    margin-top: 12px;
    gap: 12px;
  }

  .title-decription {
    display: flex;
    flex-direction: column;
    gap: 6px;

    &.title {
      font-weight: 700;
      font-size: 12px;
      line-height: 14.2px;
    }

    &.description {
      font-weight: 400;
      font-size: 12px;
      line-height: 14.2px;
    }
  }

  .card {
    padding: 24px 16px;
    border-radius: 27px;
    min-width: 100%;
  }

  .button-container {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 24px;

    &.basius-variant {
      margin-top: 24px;
    }
  }

  .main-block-wrapper {
    margin: 10px 0;
  }

  .db-right-part {
    padding: 16px 24px;
    border-radius: 27px;
    display: flex;
    flex-direction: column;
    gap: 8px;

    &.blue {
      background-color: inherit;
    }
  }

  .section-block {
    gap: 20px;
  }

  .section-block:last-child {
    margin-bottom: 16px;
  }

  .img-onboard {
    & img {
      max-height: 30px;
    }
  }

  .img-onboard-bloom {
    & img {
      max-height: 15px;
      max-width: 200px;
    }
  }

  .main-form-container {
    padding: 32px;
    min-width: 288px;
    min-height: 303px;
  }

  .paragraph-text-pin {
    font-size: 12px;
    line-height: 14.4px;
  }

  .head-title-container {
    gap: 12px;
    margin: 24px 0 16px 0;
  }

  .input-container {
    & input {
      min-height: 14px;
    }
  }

  .error {
    padding: 12px 16px;
  }

  #error-message {
    font-size: 12px;
    white-space: nowrap;
  }

  .first-circle {
    padding: 28px;
  }
  .second-circle {
    padding: 163px;
  }
}

.block {
  box-sizing: border-box;
  border-radius: 20px;
  padding: 60px 40px 32px 20px;
  display: flex;
  flex-direction: column;
  width: 50%;

  &.blue {
    background-color: #d4e0f8;
  }

  &.orange {
    background-color: #fddec9;
  }

  & .paragraph-text {
    height: 27%;
  }

  @media screen and (max-width: 1000px) {
    width: 100%;
  }

  @media screen and (min-width: 1920px) {
    padding: 60px 40px 32px 20px;
  }

  @media screen and (max-width: 1600px) {
    padding: 60px 33px 32px 20px;
  }

  @media screen and (max-width: 1470px) {
    padding: 60px 26px 32px 20px;
  }

  @media screen and (max-width: 1280px) {
    padding: 60px 20px 32px 16px;
  }

  @media screen and (max-width: 640px) {
    padding: 20px 20px 32px 16px;
  }
}

.block-large-header {
  height: 100px;

  @media screen and (max-width: 1000px) {
    height: 50px;
  }

  @media screen and (max-width: 400px) {
    height: 70px;
  }
}

.block-large-header-text {
  @media screen and (min-width: 1920px) {
    font-size: 18px;
  }

  @media screen and (max-width: 1470px) {
    font-size: 16px;
  }

  @media screen and (max-width: 1280px) {
    font-size: 14px;
  }
}

.mt16 {
  margin-top: 16px;

  @media screen and (max-width: 1280px) {
    margin-top: 8px;
  }
}

.block-large-input {
  height: 150px;
  display: flex;
  flex-direction: column;

  @media screen and (max-width: 640px) {
    height: 50px;
  }
}

.block-large-button {
  margin-top: 10px;
}

.container-info {
  display: grid;
  gap: 16px;
}

.logo {
  height: 100%;
  width: 100%;
}

.logo-container {
  margin-top: auto;

  &.bloom {
    @media screen and (max-width: 1000px) {
      max-width: 240px;
    }
  }

  @media screen and (max-width: 1000px) {
    margin-top: 0;
    position: absolute;
    bottom: 0;
    top: 0;
    max-height: 32px;
  }
}

.copy-notification {
  position: fixed;
  top: 20px;
  right: 20px;
  background-color: #ffffff;
  color: #474747;
  padding: 8px 12px;
  border-radius: 8px;
  border: 1px solid #a7b5d2;
  font-size: 14px;
  box-shadow: 0px 1px 6px 0px #bcc9e3;
  opacity: 0;
  transform: translateY(-20px);
  transition: all 0.3s ease;
  z-index: 100;
  display: flex;
  align-items: center;
  white-space: nowrap;
  width: 84px;

  &.show {
    opacity: 1;
    transform: translateY(0);
  }

  @media screen and (max-width: 1920px) {
    font-size: 14px;
  }

  @media screen and (max-width: 1440px) {
    font-size: 13px;
  }

  @media screen and (max-width: 1280px) {
    font-size: 12px;
  }

  @media screen and (max-width: 640px) {
    top: 10px;
    right: 10px;
    padding: 8px 12px;
    font-size: 12px;
  }
}
