Child custody in California is determined based on the best interests of the child. The court will consider a number of factors,