You can remove `position: absolute` by using flex.