How do the principles of structural dynamics influence the design of earthquake-resistant buildings, considering factors such as material selection, structural configuration, and damping mechanisms?