/**
Theme Name:   Generate-NPress
Theme URI:    https://www.neuron-partners.fr/
Author:       Christelle Pakulic, Neuron Partners
Author URI:   https://www.neuron-partners.fr/
Template:     generatepress
Text Domain:  generate-npress 
Description:  Il s'agit d'un thème enfant non officiel pour GeneratePress, qui est également installé sur ce site. Son objectif est de répondre aux besoins de votre site et de vos visiteurs en s'appuyant sur le moins de plugins possible. Toutes ses fonctionnalités sont développées sur mesure dans le but d’optimiser le référencement et de réduire l’impact sur les performances web.
 */

/* typographie */
body, p,ul,ol,li {
    font-family: Quicksand;
    font-weight: 500;
    line-height: 1.6;
    font-size: 1.125rem;
}

h2,h3,h4,h5,h6, .display-1, .display-2, .display-3, .display-4 {
    font-family: Lora;
    font-weight: 700;
    line-height: 1.5;
    margin-bottom: 1.5rem;
}

h1,h2,h3,h4,h5,h6, .bold {
    font-weight: 700 !important;
}
a{
    cursor: pointer !important;
}
.site-content p a:not(.button){
    text-decoration: underline;
}


p.large{
    font-size: 1.25rem;/* 20px */
    line-height: 1.75;
}

/* style général à appliquer */
.uppercase{
    text-transform: uppercase !important;
}
.medium{
    font-weight: 500 !important;
}
.semi-bold{
    font-weight: 600 !important;
}
.bold{
    font-weight: 700 !important;
}
.extra-bold{
    font-weight: 800 !important;
}
.align-left{
    text-align: left !important;
}
.align-center{
    text-align: center !important;
}


@media  (max-width:1024px) {
    .display-1 {
        font-size: 2.4rem;
        line-height: 1.2;

    }

    h2, .display-2 {
        font-size: 2rem; /* 34px */
        line-height: 1.3;

    }

    h3, .display-3 {
        font-size: 1.75rem; /* 28px */
        line-height: 1.3;
    }

    h4, .display-4 {
        font-size: 1.5rem; /* 24px */
        line-height: 1.4;
    }

    h5, .display-5 {
        font-size: 1.25rem; /* 20px */
    }

    h6, .display-6, .gb-accordion .gb-accordion__toggle .gb-button-text {
        font-size: 1.125rem;
    }
}


@media (min-width: 1025px) {
    .display-1{
        font-size: 2.6rem; /* 44px */
        line-height: 1.2;
    }
    h2, .display-2{
        font-size: 2.375rem;/* 38px */
        line-height: 1.3;
    }
    h3, .display-3{
        font-size: 2.125rem;/* 34px */
        line-height: 1.3;
    }
    h4, .display-4{
        font-size: 1.75rem;/* 28px */
        line-height: 1.4;
    }
    h5, .display-5{
        font-size: 1.5rem;/* 24px */
    }
    h6, .display-6{
        font-size: 1.25rem;/* 20px */
    }
}



/* titre des pages et articles */

h1, .title{
    font-family: "DancingScript";
    margin: 0;
    font-weight: 700;
}

@media (max-width:768px){
    h1, .title{
        font-size: 3rem !important;
        line-height: 1.2 !important;
    }
}

@media (min-width:769px) and (max-width:1024px) {
    h1, .title{
        font-size: 3.5rem !important;
        line-height: 1.25 !important;
    }
}

@media (min-width:1024px) and (max-width:1200px) {
    h1, .title{
        font-size: 4rem !important;
        line-height: 1.3 !important;
    }
}

@media (min-width:1201px){
    h1, .title{
        font-size: 4.5rem;
        line-height: 1.35;
    }
}