Atoms are not directly made of quarks. Atoms are composed of a nucleus, which contains protons and neutrons, and a surrounding cloud of electrons. Protons and neutrons, in turn, are composed of quarks.
The nucleus of an atom consists of protons and neutrons, and each proton and neutron is composed of three quarks. Protons are composed of two up quarks and one down quark, while neutrons are composed of one up quark and two down quarks. The quarks are bound together by the strong nuclear force.
The electrons, on the other hand, are elementary particles and are not made up of quarks. They are negatively charged and surround the nucleus, forming a cloud-like region called the electron cloud.
So, while quarks play a crucial role in the composition of protons and neutrons within the atomic nucleus, the overall structure of an atom involves both quarks and electrons.