A block attached to an ideal spring undergoes simple harmonic motion about its equilibrium position $(x=0)$ with amplitude $A$ . What fraction of the total energy is in the form of kinetic energy when the block is at position $x=\frac{1}{2} A ?$
(A) $\frac{1}{3}$
(B) $\frac{1}{2}$
(C) $\frac{2}{3}$
(D) $\frac{3}{4}$