.Container {
  margin: 0 auto;
  max-width: rem(1540px);
  display: grid;
  grid-template-columns: auto;
  grid-template-rows: auto auto;
  justify-content: center;
  gap: 10px;
  padding: 0 10px;

  @include iftablet{
    grid-template-columns: auto 200px;
    grid-template-rows: auto;
    justify-content: unset;
    gap: 20px;
    padding: 0 20px;
  }

  @include iflaptop{
    grid-template-columns: auto 300px;
    gap: 40px;
    padding: 0 28px;
  }
  @include ifdesktop{
    grid-template-columns: auto 360px;
    gap: 160px;
    padding: 0 40px;
  }
}

.Consultation {
  background: $color-green;
  margin-bottom: rem(40px);

  .Block {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: rem(16px);
    padding: rem(20px) 0;

    @include iftablet{
      gap: rem(20px);
    }
    @include iflaptop{
      gap: rem(40px);
    }
    @include ifdesktop{
      gap: rem(60px);
    }

    .Header {
      font-family: $font-roboto;
      font-weight: 300;
      font-size: rem(20px);
      line-height: 100%;
      color: $color-white;
      text-transform: uppercase;

      @include iftablet{
        font-size: rem(24px);
      }

      @include iflaptop{
        font-size: rem(28px);
      }

      @include ifdesktop{
        font-size: rem(38px);
      }
    }

    .Form {
      display: grid;
      grid-template-columns: auto;
      grid-template-rows: repeat(3, 1fr);
      gap: rem(20px);
      width: 100%;
      max-width: rem(460px);

      @include iftablet{
        grid-template-columns: repeat(3, 1fr);
        grid-template-rows: auto;
        width: 100%;
        max-width: 100%;
      }
    }
  }

  .Sidebar {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: rem(16px);
    background: $color-white;
    margin: rem(20px) 0;
    padding: rem(20px);
    border-radius: rem(20px);
    max-width: 460px;

    @include iftablet{
      margin: rem(10px) 0;
      padding: rem(10px);
    }

    @include iflaptop{
      margin: rem(20px) 0;
      padding: rem(20px);
    }


    .Title {
      font-family: $font-roboto;
      font-weight: 500;
      font-size: rem(16px);
      line-height: 100%;
      color: $color-text;
    }

    .Description {
      font-family: $font-roboto;
      font-weight: 400;
      font-size: rem(14px);
      line-height: 100%;
      color: $color-text-light;
    }
  }
}

