My lights dim randomly at night while driving?

I've been noticing my lights are dimming both headlights and HUD lights. The dimming is mildly noticeable but not to the point their off but annoying.

Any answers out there why?

Honda Civic 2001 DX coupe
(stock)

Have you tried checking the wiring and fuses?

Get a mechanic to check the battery and alternator output. Check the battery terminals. Check block ground. Replace the headliight relay. Check the headlight switch assembly.

Hi well as it was never ever designed to have HID lights that might be why they go dim.
so the only possible issue could be your battery is passed its best and needs to be replaced or the alternator or both.

Probably the alternator is going bad.