﻿/* Font Face */
/* Le varianti Condensed hanno gli stessi pesi delle normali: senza font-stretch l'ultima dichiarata
   vince e il peso 400 della nuova grafica uscirebbe condensato. */
@font-face {
    font-family: "TahomaForAt";
    src: local("Tahoma");
    unicode-range: U+0040; /* Applica questo font SOLO al carattere '@' */
}

/* Su Windows il DIN Pro (OpenType CFF, senza hinting) a 12-14px esce sfocato e con le cifre
   disallineate (il 3 sembra più piccolo). Bahnschrift è il DIN di Microsoft, installato su Windows
   10/11 e disegnato per lo schermo: lì lo si usa al suo posto. Dove non c'è (Mac, iOS, Android) resta
   il DIN Pro, che su quei sistemi si vede bene. */
body, input, textarea {
    font-family: "TahomaForAt", "Bahnschrift", "DIN Pro", sans-serif !important;
}

@font-face {
    font-family: 'DIN Pro';
    src: url('../fonts/DIN Pro 400.otf') format('opentype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'DIN Pro';
    src: url('../fonts/DIN Pro Black 900.otf') format('opentype');
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'DIN Pro';
    src: url('../fonts/DIN Pro Black Italic 900.otf') format('opentype');
    font-weight: 900;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'DIN Pro';
    src: url('../fonts/DIN Pro Bold 700.otf') format('opentype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'DIN Pro';
    src: url('../fonts/DIN Pro Bold Italic 700.otf') format('opentype');
    font-weight: 700;
    font-style: italic;
    font-display: swap;
}

/* Condensed Fonts */
@font-face {
    font-family: 'DIN Pro';
    src: url('../fonts/DIN Pro Condensed Black 900.otf') format('opentype');
    font-stretch: condensed;
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'DIN Pro';
    src: url('../fonts/DIN Pro Condensed Bold 700.otf') format('opentype');
    font-stretch: condensed;
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'DIN Pro';
    src: url('../fonts/DIN Pro Condensed Bold Italic 700.otf') format('opentype');
    font-stretch: condensed;
    font-weight: 700;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'DIN Pro';
    src: url('../fonts/DIN Pro Condensed Italic 400.otf') format('opentype');
    font-stretch: condensed;
    font-weight: 400;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'DIN Pro';
    src: url('../fonts/DIN Pro Condensed Light 300.otf') format('opentype');
    font-stretch: condensed;
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'DIN Pro';
    src: url('../fonts/DIN Pro Condensed Light Italic 300.otf') format('opentype');
    font-stretch: condensed;
    font-weight: 300;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'DIN Pro';
    src: url('../fonts/DIN Pro Condensed Medium 500.otf') format('opentype');
    font-stretch: condensed;
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'DIN Pro';
    src: url('../fonts/DIN Pro Condensed Medium Italic 500.otf') format('opentype');
    font-stretch: condensed;
    font-weight: 500;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'DIN Pro';
    src: url('../fonts/DIN Pro Condensed Regular 400.otf') format('opentype');
    font-stretch: condensed;
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'DIN Pro';
    src: url('../fonts/DIN Pro Italic 400.otf') format('opentype');
    font-weight: 400;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'DIN Pro';
    src: url('../fonts/DIN Pro Light 300.otf') format('opentype');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'DIN Pro';
    src: url('../fonts/DIN Pro Light Italic 300.otf') format('opentype');
    font-weight: 300;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'DIN Pro';
    src: url('../fonts/DIN Pro Medium 500.otf') format('opentype'); 
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'DIN Pro';
    src: url('../fonts/DIN Pro Medium Italic 500.otf') format('opentype');
    font-weight: 500;
    font-style: italic;
    font-display: swap;
}

