The @font-face rule allows custom fonts to be loaded on a webpage. When you have not installed fonts in your computer but want to use, just include…