Problems with aggregated CSS
The issue was connected to this: https://www.drupal.org/project/paragraphs/issues/2914259

I am not quite sure what exactly was the problem but when I went to the status report page I realized the error message

Entity/field definitions
Mismatched entity and/or field definitions
The following changes were detected in the entity type and field definitions.
Paragraph

- The Published field needs to be updated.


I implemented the update function

_update_function() {
  try {
    $entityUpdateManager = \Drupal::service('entity.definition_update_manager');
    $entityUpdateManager-&gt;applyUpdates();
  }
  catch (EntityStorageException $e) {
    print_r($e);
  }
}


run update and the problems with the aggregated css disappeared.