Import local font with Vaadin 13

Hello everyone ! I’m new to Vaadin and I’ve been looking through the forum and couldn’t find an answer to this question… I tried importing my font like that :

@font-face {
      font-family: "Gotham";
      src: url("styles/gotham-font/Gotham-Medium.otf");
  	html {
  		--material-font-family : Gotham;

but it doesn’t seem to work so could someone tell me what i did wrong here because I’ve no idea I am a total newbie ! Thanks in advance

The documentation of how to use local custom fonts is still in phase, but we have gathered the main points in this ticket: