Add this to "main-info-style"
display: flex; flex-wrap: wrap; flex-direction: column; justify-content: flex-start;
And you may have to get rid of the position relative stuff