@font-face { font-family: "My Font"; src: url("assets/fonts/myfont-Regular.otf") format("opentype"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "My Font"; src: url("assets/fonts/myfont-Italic.otf") format("opentype"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "My Font"; src: url("assets/fonts/myfont-Medium.otf") format("opentype"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "My Font"; src: url("assets/fonts/myfont-MediumItalic.otf") format("opentype"); font-weight: 500; font-style: italic; font-display: swap; }
@font-face { font-family: "My Font"; src: url("assets/fonts/myfont-Bold.otf") format("opentype"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "My Font"; src: url("assets/fonts/myfont-BoldItalic.otf") format("opentype"); font-weight: 700; font-style: italic; font-display: swap; }
