.school-match {
  color: white;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 120px;
  text-align: center;

  &.high,
  .high {
    background-color: var(--green);
  }

  &.medium,
  .medium {
    background-color: var(--yellow);
    p.match {
      color: var(--gray-800);
    }
  }

  &.low,
  .low {
    background-color: var(--red);
  }

  p {
    font-size: 0.6875em;
    font-weight: 500;
    line-height: 1;
    text-transform: uppercase;

    span {
      display: block;
      font-size: 3rem;
      font-style: italic;
      font-weight: 900;

      i {
        font-size: 1.5rem;
        font-weight: 200;
        vertical-align: 15px;
      }
    }
  }

  p.match {
    margin-top: 1em;          
  }

  p.pearly {
    background-color: #373535;
    color: white;
    margin-top: 1em;    
    padding: 0.5em 0;
    width: 100%;
  }
}