.content { height: 100%; position: relative; z-index: 1; padding: 4rem; display: flex; flex-direction: column; align-items: center; justify-content: flex-start; } .title { color: var(--primary); margin-bottom: 8rem; } .cardRow { width: 100%; align-self: center; display: flex; justify-content: space-evenly; align-items: center; } @media screen and (max-width: 1440px) { .cardRow { flex-direction: column; } }