@girly girl,
But Kant does not give a moral imperative. He says that any rational being
has it. Rationality demands to act on maximes that doesn't interfere with itself from a universal point of view.
For example: If suicide would be allowed for everyone, that would interfere with the existance of mankind. That means that the maxim, suicide would be allowed, is self-contradictory.