.imgContent {
  position: relative;
  height: 0;
  overflow: hidden;

  img {
    position: absolute;
    max-width: initial;

    &.widthEqualHeight {
      left: 0;
      width: 100%;
      height: 100%;
    }

    &.widthBiggerThanHeight {
      left: 50%;
      height: 100%;
      transform: translateX(-50%);
    }

    &.widthSmallerThanHeight {
      top: 50%;
      width: 100%;
      transform: translateY(-50%);
    }
  }
}
