.brick-layout {
width: 400px;
padding: 5px;
box-sizing: content-box;
display: flex;
flex-wrap: wrap;
}
.brick {
min-height: 80px;
flex-basis: 100px;
margin: 5px;
}
.color-aqua:nth-child(2) {
flex-grow: 1;
}
.color-yellow:not(:nth-child(5)) {
flex-grow: 1;
}
.color-fuchsia:last-child {
flex-grow: 1;
}