.statcard {
  @extend .card;

  padding: 0.5rem;
  text-align: center;
  background-color: rgb(239, 248, 255);
  transition: filter 0.5s ease;

  &:hover {
    filter: brightness(110%);
    //filter: drop-shadow(2px 2px 2px rgb(190, 190, 190))
  }

  &.active{
    background-color: rgb(254, 255, 202);
    .icon{
      color: rgb(231, 192, 18);
    }
  }

  &.delayed{
    background-color: rgb(255, 227, 227);
    .icon{
      color: rgb(165, 31, 31);
    }
  }

  .title{
    font-size: 0.9rem;
    font-weight: 600;
    color: rgb(53, 53, 53);
    padding: 0.25rem 0;
  }
  .number{
    font-size: 2.4rem;
    font-weight: 600;
  }
  .number2{
    font-size: 1.4rem;
    color: rgb(158, 158, 158);
    font-weight: 600;
  }

  .subtext{
    font-size: 0.8rem;
    color: rgb(158, 158, 158);
  }

  .icon{
    font-size: 2rem;
    margin: auto;
  }
}