There are no earthquake proof buildings, only earthquake resistant. Earthquakes are not linear events but logarithmic so for example, an earthquake that is 8 in the Richter scale is almost 1000 times more powerful than one that is a 7. The graph hopefully can help visualize the problem.