I have been using bootstrap and encountering an issue with aligning rows containing 2 columns each. The alignment is not appearing as desired. What I want: https://i.sstatic.net/OoIiB.jpg
However, what I am getting is different: https://i.sstatic.net/FpI3B.jpg
I have spent over an hour trying to fix this but without success. Can someone please help me identify what's wrong here?
Below is the CSS related to this:
.container {
text-align: center;
width: 80%;
}
/* Other CSS classes and properties follow... */
If you wish to view the codepen for a better understanding, click on this link - codepen. I have updated the image in the link to showcase the specific error where each row consists of an image and text on opposite sides causing misalignment.