Each of the $5$ sides and the $5$ diagonals of a regular pentagon are randomly and independently colored red or blue with equal probability. What is the probability that there will be a triangle whose vertices are among the vertices of the pentagon such that all of its sides have the same color? Provide your answer as a fraction in simplest form, \(\frac{k}{m}\), and find the value of \(k + m\).

Let's think step by step and output the final answer within \boxed{}.
user