/* // BUILD COLOR AND FONT SIZE PALETTE WITH : 
theme.json
//https://mariecomet.fr/css-php-generator-gutenberg-color-palettes/ */


body{
    /* Fonts */
    --small-font: var(--wp--preset--font-size--small);
    --regular-font: var(--wp--preset--font-size--regular);
    --medium-font: var(--wp--preset--font-size--medium);
    --large-font: var(--wp--preset--font-size--large);
    --x-large-font: var(--wp--preset--font-size--x-large);
    --xl-large-font: var(--wp--preset--font-size--xl-large);
}
.small-font{
    font-size: var(--small-font);
    line-height: 110%;
}
.regular-font,
h4 {
    font-size: var(--regular-font);
    line-height: 110%;
}
.medium-font,
h3 {
    font-size: var(--medium-font);
    line-height: 110%;
}
.large-font{
    font-size: var(--large-font);
    line-height: 110%;
}
.x-large-font,
h2 {
    font-size: var(--x-large-font);
    line-height: 110%;
}
.xl-large-font,
h1{
    font-size: var(--xl-large-font);
    line-height: 110%;
    font-weight: 600;
}
.has-small-font-size, 
.has-regular-font-size,
.has-medium-font-size,
.has-large-font-size,
.has-x-large-font-size,
.has-xl-large-font-size{
    line-height: normal;
}
.has-xl-large-font-size{
font-weight: 600;
}

h1,
h2,
h3,
h4,
h5,
h6{
    color: inherit;
    font-weight: 600;
    position: relative;
    font-family: "Bricolage Grotesque", sans-serif;
    color: var(--secondary);
}

p{
    margin-bottom: 1.5em;
    line-height: 140%;
}
.has-background h2{
    color: inherit;
}



/* HELPER */
.uppercase {
    text-transform: uppercase;
}
.nav ul {
    list-style: none;
    margin-bottom: 0;
}
.list-unstyled {
    list-style: none;
    margin: 0;
    padding: 0;
}
.fw-100 {font-weight: 100 !important;}
.fw-200 {font-weight: 200 !important;}
.fw-300 {font-weight: 400 !important;}
.fw-400 {font-weight: 400 !important;}
.fw-500 {font-weight: 500 !important;}
.fw-600 {font-weight: 600 !important;}
.fw-600 {font-weight: 600 !important;}
.fw-700 {font-weight: 600 !important;}
.fw-800 {font-weight: 600 !important;}
.fw-900 {font-weight: 600 !important;}

main#site-content .text-gradient, .site-main article .entry-content *[style*="underline"] {
    text-decoration: none !important;
    font-size: var(--regular-font);
    bottom: 0;
    position: relative;
    font-family: var(--font), sans-serif;
    letter-spacing: 2px;
    transform: translate(0px, -30%);
    display: inline-flex;
    align-items: center;
    line-height: 150%;
}
/* .has-xl-large-font-size *[style*="underline"]{
    display: inline-flex;
    transform: translate(0px, -50%);
} */
.has-xl-large-font-size .has-inline-color{
    background: var(--wp--preset--gradient--hide-gradient);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-decoration: none !important;
}


@media (max-width: 1600px) {

}
@media (max-width: 1200px) {
    body{
        /* Fonts */
        --wp--preset--font-size--small: 0.8rem;
        --wp--preset--font-size--regular: 1rem;
        --wp--preset--font-size--medium: 1.2rem;
        --wp--preset--font-size--large: 1.6rem;
        --wp--preset--font-size--x-large: 2.1rem;
        --wp--preset--font-size--xl-large: clamp(3rem, 5vh, 5rem);
    }
}
@media (max-width: 992px) {

}
@media (max-width: 768px) {
    body{
        /* Fonts */
        --wp--preset--font-size--small: 0.8rem;
        --wp--preset--font-size--regular: 1rem;
        --wp--preset--font-size--medium: 1.2rem;
        --wp--preset--font-size--large: 1.5rem;
        --wp--preset--font-size--x-large: 2rem;
        --wp--preset--font-size--xl-large: clamp(3rem, 5vh, 5rem);
    }
}
@media (max-width: 576px) {
    body{
        /* Fonts */
        --wp--preset--font-size--small: 0.80rem;
        --wp--preset--font-size--regular: 1rem;
        --wp--preset--font-size--medium: 1.1rem;
        --wp--preset--font-size--large: 1.3rem;
        --wp--preset--font-size--x-large: 1.4rem;
        --wp--preset--font-size--xl-large: clamp(1.6rem, 7vh, 2rem);
    }
    .is-style-icone-title:before {
        height: 24px;
        width: 24px;
    }
    main#site-content .text-gradient,
    .site-main article .entry-content *[style*="underline"]
    {
        background: none;
        background-clip: none;
        -webkit-background-clip: none;
        -webkit-text-fill-color: unset;
        text-decoration: none!important;
        color: var(--primary);
        transform: translate(0px, 0%);
        letter-spacing: 0px;
    }
}
@media (min-width: 1440px) {
    body:not(.single){
        --wp--preset--font-size--xl-large: clamp(40px, 8vh, 200px);
    }
}