pause styling
css transition values order
key var renamed
working pause func
code formatting