The Design of Earthquake-Resistant Buildings