@import url('https://fonts.googleapis.com/css2?family=Poiret+One&family=Raleway:wght@300;400;600&display=swap');

.type-poiretone-raleway {

    --body-typeface: 'Raleway', 'Century Gothic', sans-serif;
    --header-typeface: 'Poiret One', 'Futura', sans-serif;

    font-family: var(--body-typeface);
    font-size: 100%;
    line-height: 1.68;
    font-weight: 300;
    letter-spacing: 0.015em;

    & p, & blockquote, & td, & li, & label {
        font-family: var(--body-typeface);
        font-size: 1.15rem;
        line-height: 1.7;
        font-weight: 300;
        letter-spacing: 0.015em;
    }

    & h1, & h2, & h3, & h4, & h5, & h6 {
        font-family: var(--header-typeface);
        font-weight: 400;
        line-height: 1.22;
        letter-spacing: 0.05em;
    }

    & h1 {font-size: 3.2rem;margin: 0.19rem 0 0.3rem;}
    & h2 {font-size: 2.4rem;margin: 0.27rem 0 0.3rem;}
    & h3 {font-size: 2rem;margin: 0.4rem 0 0.3rem;}
    & h4 {font-size: 1.7rem;margin: 0.45rem 0 0.3rem;line-height: 1.25;}
    & h5 {font-size: 1.35rem;margin: 0.52rem 0 0.3rem;line-height: 1.3;}
    & h6 {font-size: 1.1rem;margin: 0.73rem 0 0.3rem;font-weight: 400;line-height: 1.35;}
    & p, & blockquote {margin:1rem 0;}

    & h1.o4-display {
        font-family: var(--header-typeface);
        font-size: 4.5rem;
        letter-spacing: 0.08em;
        line-height: 1.08;
        text-transform: uppercase;
        font-weight: 400;
        margin: 0.4rem 0;
    }

    & p.o4-display, & li.o4-display {
        font-family: var(--body-typeface);
        font-size: 1.05rem;
        line-height: 1.55;
        text-transform: uppercase;
        letter-spacing: 0.22em;
        font-weight: 400;
    }

    & .o4-button .button-label { padding: 11px 0px 9px; }
    & .o4-button.small .button-label { padding: 6px 0px 4px; }
    & .display-font1 {font-family: var(--header-typeface) !important; letter-spacing:0.5px}
    & .display-font2 {font-family: var(--body-typeface) !important;}

    @container page (max-width: 640px) {
        & h1.o4-display {font-size: 2.5rem;}
        & p.o4-display, & li.o4-display {font-size: 0.9rem;}
        & h1 {font-size: 2.3rem;}
        & h2 {font-size: 1.9rem;}
        & h3 {font-size: 1.6rem;}
        & h4 {font-size: 1.35rem;}
        & h5 {font-size: 1.15rem;}
        & h6 {font-size: 1rem;}
    }
}
