Was my period just short?

I got my period the same time I was supposed to it came medium flow in the evening then heavy the next day but the third day was light and for last 2 days there’s was a bit of brown blood now it’s completely gone. I also used pads when I normally always use tampons.

Also when is a period officially over ? Is it when you stop bleeding red blood or when you stop bleeding brown blood ?