/*
Theme Name:     Digisante-child
Theme URI:
Description:    Digisante child theme.
Author:         Digisanté
Author URI:     https://www.digisante.fr
Template:       digisante
Version:        0.1.0
*/

/*
WEBFONTS EN LOCAL : UTILISER CET OUTIL https://google-webfonts-helper.herokuapp.com/fonts
1/ Récupérer les graisses nécessaires puis télécharger l'archive avec Woff et Woff2 uniquement pour le subset Latin1
2/ Rajouter du font-display:swap pour chaque déclaration @font-face et modifier le chemin vers /fonts/
3/ Récupérer la fonte de fallback optimale ici : https://deploy-preview-15--upbeat-shirley-608546.netlify.app/perfect-ish-font-fallback/?font=Montserrat
4/ Modifier la déclaration générale avec une font-stack complète et un !important.
5/ Mettre en place le préchargement de la fonte utilisée en Regular et Bold via WP Rocket (dans sa version Woff2)
*/

body, input, textrea, .gfield_label {
    font-family: Poppins, "Poppins-fallback", Arial, sans-serif !important;
}

@font-face {
    font-family: "Poppins-fallback";
    size-adjust: 112.48000000000008%;
    ascent-override: 110%;
    src: local("Arial");
}

/* poppins-regular - latin */
@font-face {
    font-family: 'Poppins';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: local(''),
         url('fonts/poppins-v20-latin-regular.woff2') format('woff2'),
         url('fonts/poppins-v20-latin-regular.woff') format('woff');
  }
  /* poppins-500 - latin */
  @font-face {
    font-family: 'Poppins';
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: local(''),
         url('fonts/poppins-v20-latin-500.woff2') format('woff2'),
         url('fonts/poppins-v20-latin-500.woff') format('woff');
  }
  /* poppins-600 - latin */
  @font-face {
    font-family: 'Poppins';
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: local(''),
         url('fonts/poppins-v20-latin-600.woff2') format('woff2'),
         url('fonts/poppins-v20-latin-600.woff') format('woff');
  }
  /* poppins-700 - latin */
  @font-face {
    font-family: 'Poppins';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: local(''),
         url('fonts/poppins-v20-latin-700.woff2') format('woff2'),
         url('fonts/poppins-v20-latin-700.woff') format('woff');
  }