
/* =====================================================
   PARIMAH THEME
   TYPOGRAPHY CSS
===================================================== */


/* -----------------------------------------------------
   01. FONT FACE
----------------------------------------------------- */

@font-face {
    font-family: 'Estedad';
    src: url('../../fonts/estedad/Estedad-Regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Estedad';
    src: url('../../fonts/estedad/Estedad-Medium.woff2') format('woff2');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Estedad';
    src: url('../../fonts/estedad/Estedad-Bold.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Estedad';
    src: url('../../fonts/estedad/Estedad-Black.woff2') format('woff2');
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}


/* -----------------------------------------------------
   02. GLOBAL TYPOGRAPHY
----------------------------------------------------- */

body {
    font-family: var(--font-primary);
    font-size: var(--font-size-base);
    font-weight: var(--font-weight-regular);
    line-height: var(--line-height-normal);
    color: var(--color-text);
}


/* -----------------------------------------------------
   03. HEADING TYPOGRAPHY
----------------------------------------------------- */

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-primary);
    color: var(--color-primary);
    line-height: var(--line-height-tight);
}

h1 {
    font-size: var(--font-size-4xl);
    font-weight: var(--font-weight-black);
}

h2 {
    font-size: var(--font-size-3xl);
    font-weight: var(--font-weight-bold);
}

h3 {
    font-size: var(--font-size-2xl);
    font-weight: var(--font-weight-bold);
}

h4 {
    font-size: var(--font-size-xl);
    font-weight: var(--font-weight-bold);
}

h5 {
    font-size: var(--font-size-lg);
    font-weight: var(--font-weight-medium);
}

h6 {
    font-size: var(--font-size-base);
    font-weight: var(--font-weight-medium);
}


/* -----------------------------------------------------
   04. FORM TYPOGRAPHY
----------------------------------------------------- */

button,
input,
textarea,
select {
    font-family: var(--font-primary);
    font-size: inherit;
}


/* -----------------------------------------------------
   05. RESPONSIVE TYPOGRAPHY
----------------------------------------------------- */

@media (max-width: 767px) {

    h1 {
        font-size: 1.75rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    h3 {
        font-size: 1.25rem;
    }

}
