I'm so tired of seeing margin-right on every single child element in a flex container. Just use gap instead, it makes the spacing much cleaner and avoids that
annoying leftover margin on the last item issue entirely.
.container {display: flex;gap: 1.5rem;}