/*
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://gwfh.mranftl.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://www.industrialempathy.com/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, .accordion-item {
    font-family: Poppins, "Poppins-fallback", Arial, sans-serif !important; 
    color: #0B0C57 !important;
}

html, body, main, footer {
    max-width: 100vw!important;
    min-width: 100vw!important;
}

html {
    overflow-x: hidden!important;
}

h1, h2 {
    font-family: Unbounded, "Unbounded-fallback", Arial, sans-serif !important;
    font-weight: 600;
}

p {
    margin-bottom: 1rem !important;
}

@font-face {
    font-family: "Poppins-fallback";
    src: local("Arial");
    ascent-override: 105%;
    descent-override: 35%;
    line-gap-override: 10%;
}

/* poppins-regular - latin */
@font-face {
    font-family: 'Poppins';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: local(''),
        url('fonts/poppins-v24-latin-regular.woff2') format('woff2'),
        url('fonts/poppins-v24-latin-regular.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-v24-latin-600.woff2') format('woff2'),
        url('fonts/poppins-v24-latin-600.woff') format('woff');
}

@font-face {
    font-family: "Unbounded-fallback";
    src: local("Arial");
    ascent-override: 70%;
    descent-override: 15%;
    line-gap-override: 10%;
}

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

/* MENU */
#site-navigation .separator {
    pointer-events: none!important;
    cursor: default!important;
    text-decoration: none!important;
    color: #ffffff !important;
}

@media (max-width: 991px) {
    #site-navigation .separator { display: none!important;}
}

/* H1 HOME  */
.home h1 {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* IMG RADUIS  */
.img-round {
    border-radius: 0rem 5rem!important;
}

/* ANCRE */
.target {
    height: 0px !important;
}

/* PADDING & MARGIN */
.home #vaccins + .section_blocs {
    padding-bottom: 8rem !important;
    padding-top: 4rem !important;
}

.home :nth-child(1 of .section_blocs) {
    padding-bottom: 8rem !important;
    padding-top: 4rem !important;
}

.home :nth-child(2 of .section_blocs) {
    margin-top: -14rem !important;
    padding-bottom: 6rem !important;
}