As a 名詞（めいし） (noun), あまり means ‘excess’, and refers to an amount of something that is in surplus. This noun is quite often used after many different types of words, to indicate that something happened/exists to an excessive degree (which then resulted in something negative occurring). By itself, 余（あま）り is not negative. However, this grammar point can be thought of as a set phrase that is generally used in negative situations.
To use あまり, you will need to attach it to the end of the following structures. A verb, an い-Adjective
(that has been turned into a noun through the use of さ or み) followed by の, a な-Adjective
followed by な, or a noun followed by の. Then, after あまり, a (B) phrase will highlight what the negative result was.
He was so concentrated on finishing his work that he missed the last train.
It was so hot that Tom fainted.
She broke up with her boyfriend and is so sad that she is spacing out a lot.
He likes music so much that he quit his job and started a band.
Yasue had her first concert, and she was so nervous that she couldn't sing well.
The tense of the overall sentence will be dependent on the first clause. Therefore, it is common to see the verb before あまり
being used in several different tenses.
Senpai drank so much at the party that he couldn't get home by himself.
I was so worried about my friend, who has broken up with his girlfriend recently, that I went to his place to listen to him vent.
The CEO of our company is so feared by all of the workers that no one will criticize his decisions.