Psychological aspects of Medieval civilization