Custom CSS not being added by plugin

OK, you have two problems here.

Firstly, you are enqueueing your style with wp_enqueue_script(), which is meant to be used by scripts. You should be using wp_enqueue_style

Secondly, you need to understand what functions are loaded when. Plugins are loaded first, child themes second and parent themes last. So you styles gets loaded first, and then the styles of the theme. This means, duplicate css selectors get overwritten by the theme styles.

To make sure that your plugin style gets loaded after the theme’s style, just add priority to your action. For reference, see add_action( $hook, $function_to_add, $priority, $accepted_args ). Be sure to use a very low priority (very high number)

Your code should be

/**
* Enqueue plugin style-file
*/
function prefix_add_my_stylesheet() {
        wp_enqueue_style('style1', plugins_url('style1.css', __FILE__) );
}
add_action( 'wp_enqueue_scripts', 'prefix_add_my_stylesheet', 999 );