You do well in the probe creation department I think, but you are sitting on too much resources. You neglected your scout and didn't send more after that, which would've told you that he's expanding and bunkering up. If you knew this you could've expanded (seeing as how you had plenty of resources to do so) or you could've built more warp gates and an earlier robotics facilty to go for a warp prism drop and warp-in. I didn't watch the whole replay because if you change these fundamental things like scouts and spending your resources on anything (I prefer double chambers/forges and opting for fast upgrades) then you'll get better results.
You just had worse macro than him the whole game. You didn't make enough probes to start, and despite him spending so much money on bunkers, he got his expansion up and running before yours was even started, even though you easily had enough minerals for it. Just focus on getting enough workers, expansions, and gateways (3 gateways for each base you have is a good benchmark), and be sure to control group them all together so you can easily access them. You would be surprised how easy the game gets when you can just get a larger army than your opponent.