Child Style.css not overriding parent theme style located in assets/css/main.css

Try to use the following. In your add_action( ) call add the priority and tell if it solves the issue.

add_action( 'wp_enqueue_scripts', 'my_theme_enqueue_styles', 99 );