/*
 Theme Name:   GeneratePress Child
 Theme URI:    https://generatepress.com
 Description:  Default GeneratePress child theme
 Author:       Tom Usborne
 Author URI:   https://tomusborne.com
 Template:     generatepress
 Version:      0.1
*/

/* ==========================================================
   TIPOGRAFÍA GLOBAL
   Proyecto: Asociación Empresarios Alimentarios Maestrazgo
========================================================== */

/* Google Fonts */
/* https://fonts.google.com/specimen/Figtree */

:root{

    /* Fuente */
    --font-body: 'Figtree', sans-serif;
    --font-heading: 'Figtree', sans-serif;

    /* Colores */
    --color-text: #505050;
    --color-heading: #222222;
    --color-heading-alt: #0a0808;

    /* Cuerpo */
    --body-size:16px;
    --body-weight:400;
    --body-line-height:24px;

    /* H1 */
    --h1-size:26px;
    --h1-weight:600;
    --h1-line-height:34px;

    /* H2 */
    --h2-size:21px;
    --h2-weight:600;
    --h2-line-height:27px;

    /* H3 */
    --h3-size:16px;
    --h3-weight:600;
    --h3-line-height:20px;

}

/* ==========================================================
   BODY
========================================================== */

body{
    font-family:var(--font-body);
    font-size:var(--body-size);
    font-weight:var(--body-weight);
    line-height:var(--body-line-height);
    color:var(--color-text);
    text-rendering:optimizeLegibility;
    -webkit-font-smoothing:antialiased;
    -moz-osx-font-smoothing:grayscale;
}

/* ==========================================================
   PÁRRAFOS
========================================================== */

p,
li,
td,
th,
label,
input,
textarea,
select{
    font-family:var(--font-body);
    font-size:var(--body-size);
    font-weight:var(--body-weight);
    line-height:var(--body-line-height);
    color:var(--color-text);
}

/* ==========================================================
   TÍTULOS
========================================================== */

h1,
.elementor-widget-heading h1{
    font-family:var(--font-heading);
    font-size:var(--h1-size);
    font-weight:var(--h1-weight);
    line-height:var(--h1-line-height);
    color:var(--color-heading);
}

h2,
.elementor-widget-heading h2{
    font-family:var(--font-heading);
    font-size:var(--h2-size);
    font-weight:var(--h2-weight);
    line-height:var(--h2-line-height);
    color:var(--color-heading-alt);
}

h3,
.elementor-widget-heading h3{
    font-family:var(--font-heading);
    font-size:var(--h3-size);
    font-weight:var(--h3-weight);
    line-height:var(--h3-line-height);
    color:var(--color-heading-alt);
}

/* ==========================================================
   ENLACES
========================================================== */

a{
    color:inherit;
    text-decoration:none;
    transition:.25s ease;
}

a:hover{
    opacity:.8;
}

/* ==========================================================
   RESPONSIVE
========================================================== */

@media (max-width:1024px){

    :root{

        --body-size:16px;
        --body-line-height:24px;

        --h1-size:26px;
        --h1-line-height:34px;

        --h2-size:21px;
        --h2-line-height:27px;

        --h3-size:16px;
        --h3-line-height:20px;

    }

}

@media (max-width:767px){

    :root{

        --body-size:16px;
        --body-line-height:24px;

        --h1-size:26px;
        --h1-line-height:34px;

        --h2-size:21px;
        --h2-line-height:27px;

        --h3-size:16px;
        --h3-line-height:20px;

    }

}

