.flex-container { display: flex; width: 1080px; flex-direction: row; margin: 0; padding: 0; justify-content: space-around; } .card { padding: 10px; }