Buckling of elastic structures