<div fxLayout="row wrap"
fxLayoutGap="30px"
fxLayoutAlign="center start">
<mat-card class="card" *ngFor="let pic of collection;">
<mat-card-content>
// other code //
.card {
max-width: 210px;
margin-bottom: 10px;
}