For anyone stumbling here in the future, I was stuck for an hour trying to justify two elements in a div differently, just to then realize that justify-content: space-between; does what I needed. So maybe it's worth a try