html {
    font-size: 20px;
}

/*------------------------------ start fonts headlines ---------------------------*/

h1,
h2,
h3,
h4,
h5,
h6 {
    margin-top: 0;
}

h1,
.entry-content h1,
h1.block-editor-rich-text__editable.uagb-heading-text.rich-text {
    font-size: 1.15rem;
    font-family: var(--mainfont) !important;
    color: var(--ast-global-color-1) !important;
    line-height: 1.5;
    font-weight: 600;
}

h2,
.entry-content h2 {
    font-family: var(--headlinefont) !important;
    font-size: 3.5rem;
    line-height: 0.9;
    font-weight: 400 !important;
}

h2 strong,
.entry-content h2 strong {
    color: var(--ast-global-color-1) !important;
    font-weight: 400 !important;
}

h3,
.entry-content h3 {
    font-family: var(--headlinefont) !important;
    font-size: 2.75rem;
    line-height: 1.09;
    font-weight: 400 !important;
}

h3 strong,
.entry-content h3 strong {
    color: var(--ast-global-color-1) !important;
    font-weight: 400 !important;
}

h4,
.entry-content h4 {
    font-family: var(--mainfont) !important;
    font-size: 1.25rem;
    line-height: 1.25;
    font-weight: 600;
}

h5,
.entry-content h5 {
    font-family: var(--mainfont) !important;
    color: var(--ast-global-color-1) !important;
    font-size: 16px;
    line-height: 1.5;
    font-weight: 600;
    text-transform: uppercase;
}

h6,
.entry-content h6,
h6.block-editor-rich-text__editable.uagb-heading-text.rich-text h6 {
    font-family: var(--mainfont) !important;
    font-size: 0.8rem !important;
    line-height: 1.5;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/*------------------------- end fonts headlines -------------------------------*/

/* -------------------------- end fonts custom -------------------------- */

@media (min-width: 1920px) {
    /*----------------- ELEMENT -------------*/
    /*----------------- END ELEMENT ---------*/
}

@media (max-width: 1500px) {
    /*----------------- ELEMENT -------------*/
    /*----------------- END ELEMENT ---------*/
}

@media (max-width: 1200px) {
    html {
        font-size: 18px;
    }
}

@media (max-width: 1024px) {
    html {
        font-size: 17px;
    }
}

@media (max-width: 990px) {
    /*----------------- ELEMENT -------------*/
    /*----------------- END ELEMENT ---------*/
}

@media (max-width: 768px) {

    h2,
    .entry-content h2 {
        font-size: 3.1rem;
    }

    h3,
    .entry-content h3 {
        font-size: 2.3rem;
    }
}

@media (max-width: 576px) {

    h1,
    .entry-content h1,
    h1.block-editor-rich-text__editable.uagb-heading-text.rich-text {
        font-size: 1.059rem;
    }

    h2,
    .entry-content h2 {
        font-size: 2.059rem;
    }

    h3,
    .entry-content h3 {
        font-size: 1.95rem;
    }

    h4,
    .entry-content h4 {
        font-size: 1.059rem;
    }

    h6,
    .entry-content h6,
    h6.block-editor-rich-text__editable.uagb-heading-text.rich-text {
        font-size: 0.824rem;
    }
}

@media (max-width: 420px) {
    /*----------------- ELEMENT -------------*/
    /*----------------- END ELEMENT ---------*/
}

@media (min-width: 320px) {
    /*----------------- ELEMENT -------------*/
    /*----------------- END ELEMENT ---------*/
}