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

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

  @include iflaptop {
    padding: rem(28px);
  }

  @include ifdesktop {
    padding: rem(40px);
  }
}


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

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

    .Image {
      width: auto;
      height: rem(200px);

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

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

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

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

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

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

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