changed to div and flex in calendar