

.pill-group {
  @include xmargin(".pill", 0.2rem);
  padding: 0.25rem;
}

.pill {
  background-color: rgb(248, 248, 248);
  color: black;
  font-size: 1rem;
  padding: 0.25rem 0.5rem;
  border-radius: 1rem;
  transition: background-color 0.5s;
  display: inline-block;
  position: relative;
  margin: 0.2rem;
  cursor: pointer;
  margin: auto;

  &.active{
    background-color: darken($primary-color,0);
    color: white;

    .pill-badge{
      background-color: darken($primary-color,5);
    }

    &:hover {
      background-color: darken($primary-color,7);
      color: white;
    }
  }

  &:hover {
    background-color: rgba($primary-color, 0.3);
    color: black;
  }

  .pill-icon{
    font-size: 0.9rem;
  }

  .pill-text{
    padding: 0 0.5rem;
  }

  .pill-badge{
    background-color: rgb(241, 241, 241);
    font-size: 0.8rem;
    border-radius: 1rem;
    padding: 0.1rem 0.5rem;
  }

}

