is a very flexible word in Japanese, that is used in several different grammar points. When paired with the ない form of a word, it translates to ‘not very (A)’, or ‘hardly (A)’. To pair あまり
(or the casual form, あんまり
) with another word, we just need to place it at the beginning of a phrase, or directly before the ない statement.
At this time, I think we would not have to stand in line for very long.
I have a dog, so I don't feel lonely very much.
Recently, nowhere has been very peaceful.
Meat from that butcher over there is hardly good.
Although あまり～ない is regularly translated as ‘not very’ the literal translation is closer to ‘not excessively (A)’. This is due to 余（あま）り (the kanji which this word comes from), meaning ‘excessive’, or ‘to be in excess’.
あまり has this meaning of ‘excessive’ in all of its grammar points, and the nuance will only change based on whether the sentence itself is positive (does not use ない), or negative (uses ない).