mat-card {
  padding: 0;
  margin: 0.3rem 0;
  max-width: 97%;

  mat-card-content {
    display: flex;

    .thumbnail {
      flex: 0 0 30%;
      position: relative;

      img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
      }

      div {
        height: 100%;
        width: 50%;
        left: 50%;
        top: 0;
        position: absolute;
        color: white;
        background: rgba(0,0,0,0.7);
        display: flex;
        justify-content: center;
        align-items: center;
        flex-direction: column;
      }
    }

    .track-info {
      flex: 0 0 70%;
      max-width: 70%;
      padding: 0.4rem;
      display: flex;
      flex-direction: column;
      h3 {
        margin: 0;
      }
      .buttons {
        margin-top: auto;
        padding-right: 1rem;
        display: flex;
        flex-wrap: wrap;
        justify-content: flex-end;
        > * {
          flex: 0 0 auto;
          margin: 0.2rem 0.2rem;
        }
      }
    }
  }
}
