You have 3 fuses. Headlight; 7A, tail light; 5A , Main; 15A.
The head and tail light fuses are sourced power from the main fuse.
Without a good main fuse installed, there will be no power distribution.
Look at the end caps of the fuses. Scribed there are numbers indicating fuse rating.
Check out the thread in this forum "WTF fusebox melted", to reduce problems in this area.
Cheers,