まるで + [noun] + のようだ/みたいだ
まるで + [sentence (plain)] + かのようだ/ようだ/みたいだ
Note: まるで always pairs with ようだ, みたいだ, or かのようだ at the end of the clause.
まるで is an adverb meaning "as if," "as though," or "just like." It is used to draw a vivid comparison between something and something else, often emphasizing that the resemblance is striking or surprising. It typically appears at the beginning of a clause or before the comparison, and is almost always paired with a sentence-ending expression such as ようだ, みたいだ, or かのようだ.
This pattern compares something directly to a noun, saying it is "just like" that thing.
This pattern is used when comparing to an action or situation, meaning "as if" or "as though" something were the case – even though it isn't actually true.