You need to target your divs through CSS.
First of all, make sure all your social media icons are set to:
inside the container that is holding them. If you want them aligned to the right, you would use:
However, that will change the order of your icons, so you might have to reorder them in the HTML if you want to keep your current order.
Then, try to play with the divs’ width property. If that doesn’t work, try with negative margins to bring them closer.
Some of your media icons might have inline css (i.e., set in the HTML) properties defined. You can try to override those using the !important attribute. Example: