@import "mixins/mixins";
@import "common/var";

@include b(empty) {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  text-align: center;
  box-sizing: border-box;
  padding: $--empty-padding;

  @include e(image) {
    width: $--empty-image-width;

    img {
      user-select: none;
      width: 100%;
      height: 100%;
      vertical-align: top;
      object-fit: contain;
    }

    svg {
      fill: $--svg-monochrome-grey;
      width: 100%;
      height: 100%;
      vertical-align: top;
    }
  }

  
  @include m(small) {
    @include e(description) {
      margin-top: $--empty-description-margin-top;
  
      p {
        margin: 0;
        font-size: 16px;
        color: $--color-text-placeholder;
      }
    }
  }
  
  @include m(medium) {
    @include e(title) {
      p {
        margin-top: $--empty-description-margin-top;
        margin-bottom: 0;
        font-size: 18px;
        font-weight: 700;
        color: $--color-black;
      }
    }
    @include e(description) {
      margin-top: $--empty-description-margin-top;

      p {
        margin: 0;
        font-size: 16px;
        color: $--color-grey-1;
      }
    }
  }
  @include m(large) {
    @include e(title) {
      p {
        margin-top: $--empty-description-margin-top;
        margin-bottom: 0;
        font-size: 28px;
        font-weight: 700;
        color: $--color-black;
      }
    }
    @include e(description) {
      margin-top: $--empty-description-margin-top;

      p {
        margin: 0;
        font-size: 18px;
        color: $--color-grey-1;
      }
    }
  }

  @include e(bottom) {
    margin-top: $--empty-bottom-margin-top;
  }
}
