@import url("https://fonts.googleapis.com/css2?family=Alegreya:ital,wght@0,400;0,600;1,400;1,600&family=Source+Sans+3:ital,wght@0,300;0,400;0,500;0,600;0,700;1,300;1,400;1,500;1,600;1,700&display=swap");
/* Serif Headings Only font-family: 'Alegreya', serif;
 Body and Default Headings font-family: 'Source Sans 3', sans-serif;
 */
 body {
	 -webkit-animation-delay: 0.1s;
	 -webkit-animation-name: fontfix;
	 -webkit-animation-duration: 0.1s;
	 -webkit-animation-iteration-count: 1;
	 -webkit-animation-timing-function: linear;
}
 @-webkit-keyframes fontfix {
	 from {
		 opacity: 1;
	}
	 to {
		 opacity: 1;
	}
}
 html {
	 line-height: 1.15;
	 -webkit-text-size-adjust: 100%;
	 font-size: 16px !important;
}
 body {
	 margin: 0;
	 overflow-x: hidden;
	 font: 1rem 'Source Sans 3', sans-serif !important;
}
 .serif {
	 font-family: 'Alegreya', serif;
	 font-weight: inherit;
}
 .text-gradient {
	 background-color: inherit;
	 background-image: var(--gradient);
	 background-size: 100%;
	 -webkit-background-clip: text;
	 -moz-background-clip: text;
	 -webkit-text-fill-color: transparent;
	 -moz-text-fill-color: transparent;
}
/* BODY TEXT */
/* make the paragraphs easier to read */
 main p {
	 line-height: 1.5 !important;
}
/* responsively resize everything within the main content section */
 main {
	 font-size: 1rem !important;
	 font-size: clamp(1rem, 0.95rem + 0.25vw, 1.25rem) !important;
}
/* HEADINGS */
/* defaults */
 main *:is(h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6) {
	 line-height: 1.1 !important;
	 margin-top: 1rem;
	 margin-bottom: 1.38rem ;
	 font-weight: bold;
}
/*Only add top margin if heading follows a paragraph*/
 main p~*:is(h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6) {
	 margin-top: 3rem !important;
}
/*resize small text*/
 main small, main .small {
	 font-size: 0.937em !important;
}
/* For interior pages */
/* desktop values -- 1.2 / minor third */
main h1,
.h1 {
    font-size: 3.815rem !important;
    /*Keeping this a larger size*/
}

main h2,
.h2 {
    font-size: 2.441rem !important;
}

main h3,
.h3 {
    font-size: 1.953rem !important;
}

main h4,
.h4 {
    font-size: 1.563rem !important;
}

main h5,
.h5 {
    font-size: 1.25rem !important;
}

/* mobile/tablet values -- 1.125 / major second*/
@media (max-width: 639px) {

    main h1,
    .h1 {
        font-size: 2.027rem !important;
    }

    main h2,
    .h2 {
        font-size: 1.802rem !important;
    }

    main h3,
    .h3 {
        font-size: 1.602rem !important;
    }

    main h4,
    .h4 {
        font-size: 1.424rem !important;
    }

    main h5,
    .h5 {
        font-size: 1.266rem !important;
    }

    main small,
    main .small {
        font-size: 0.8rem !important;
    }
}
/* Force links to inherit heading size */
main *:is(h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6) a {
    font-size: inherit !important;
}

/* .text-xl */
/* desktop values -- 1.414 / perfect fourth */
/*.text-xl *:is(h1, h2, h3, h4, h5, h6) {*/
/*    line-height: 1 !important;*/
/*}*/

.text-xl h1,
.text-xl .h1 {
    font-size: 5.625rem !important;
}

.text-xl h2,
.text-xl .h2 {
    font-size: 4.18rem !important;
}

.text-xl h3,
.text-xl .h3 {
    font-size: 3.188rem !important;
}

.text-xl h4,
.text-xl .h4 {
    font-size: 2.375rem !important;
}

.text-xl h5,
.text-xl .h5 {
    font-size: 1.75rem !important;
}

/* mobile/tablet values -- 1.2 / minor third */
@media (max-width: 639px) {

    .text-xl h1,
    .text-xl .h1 {
        font-size: 3.052rem !important;
    }

    .text-xl h2,
    .text-xl .h2 {
        font-size: 2.441rem !important;
    }

    .text-xl h3,
    .text-xl .h3 {
        font-size: 1.953rem !important;
    }

    .text-xl h4,
    .text-xl .h4 {
        font-size: 1.563rem !important;
    }

    .text-xl h5,
    .text-xl .h5 {
        font-size: 1.25rem !important;
    }
}

/* END TEXT STYLES */