@import '../../assets/@theme/styles/themes';

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

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

  .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;
  }
}

.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);
  */
}

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

.add-project-button {
  margin: 6rem 2rem 6rem 0;
  .new-project-icon {
    padding-right: 0.5rem;
  }
}

.error-text {
  font-size: 1.25rem;
  font-weight: bold;
}
