.Container {
  margin: 0 auto;
  max-width: rem(1540px);
  display: grid;
  gap: 10px;
  padding: 10px;

  @include iftablet {
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    padding: 20px;
  }

  @include iflaptop {
    padding: 28px;
  }

  @include ifdesktop {
    padding: 40px;
  }
}


.Block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-radius: 28px;
  box-shadow: 0 0 10px 0 rgba(97, 206, 112, 0.5);
  padding: 20px;
  height: 100%;

  .Expert {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;

    .Image {
      width: auto;
      height: 200px;

      @include iftablet{
        width: auto;
        height: 150px;
      }

      @include iflaptop{
        width: auto;
        height: 200px;
      }
    }

    .Name {
      font-family: $font-roboto;
      font-weight: 500;
      font-size: 16px;
      line-height: 110%;
      color: $color-text;
      text-align: center;

      @include iflaptop {
        font-size: 18px;
        line-height: 130%;
      }
    }

    .Position {
      font-family: $font-roboto;
      font-weight: 400;
      font-size: 14px;
      line-height: 100%;
      color: $color-text-light;
      text-align: center;

      @include iflaptop {
        font-size: 16px;
      }
    }
  }

  .Certificate {
    .Image {
      width: auto;
      height: 200px;
    }
  }
}