@import '../../../assets/@theme/styles/themes';
@import '../../../assets/@theme/styles/variables';
@import '../../../assets/@theme/styles/_text-overflow.scss';

.project-card {
  max-width: 24rem;
  width: 24rem;
  min-width: 24rem;
  max-height: 100%;
  height: 100%;
  min-height: 100%;

  .project-header {
    max-height: 8rem;
    height: 8rem;
    min-height: 6rem;

    .header-title {
      @include multiLineEllipsis($font-size: 1.5rem, $font-weight: bold, $line-height: 2rem, $lines-to-show: 4, $max-width: 14rem);
    }

    .state-tag {
      width: 1rem;
      // Align status
      margin-left: 1rem;
      margin-right: 1rem;
    }
  }

  .project-subheader {
    font-size: 1.25rem;
    font-weight: bold;
  }

  .project-paragraph {
    font-size: 1.15rem;
    font-style: italic;
  }

  .project-progress {
    max-width: 65%;
    width: 65%;
    min-width: 65%;
  }

  .project-button {
    height: 1.425rem;
  }

  &.accent {
    // Changes accent width only
    // border-width: 0.5rem 0 0 0rem;
    border-width: 0.5rem 0 0 0.25rem;
  }
}

.project-card:hover {
  background-color: nb-theme(color-basic-transparent-focus);
  // Increases element size on hover
  // Decreases usability which is why it is commented out
  margin-top: +0.625rem;
  transform: scale(1.025);
  border-width: 0.5rem 0 0 0.45rem;
}

.project-link:hover {
  cursor: pointer !important;
}
