@layer boilerplate {

	/* html/body */

	html,
	body
	{
		text-align: center;
	}
	
	body
	{
		line-height: 1.5;
		font-family: "Google Sans Flex",-apple-system, BlinkMacSystemFont, Arial, sans-serif;
		font-size: clamp(1rem, 16px + 0.25vw, 1.25rem);
		display: flex;
		justify-content: center;
		align-items: flex-start;
		color: #000;
		background: #fff;
	}
	
	/* forms/fields */

	label,input
	{
		font-size: 1.25rem;
		color: #000;
		margin: 0;
		line-height: 1.5;
	}

	/* lists */

	ul
	{
		padding-left: 1.25rem;
		line-height: 1.5;
	}

	li::marker
	{
		color: #0f0;
	}

	a,
	p,
	h1,
	h2,
	h3,
	h4,
	h5,
	h6,
	form,
	label,
	input,
	button
	{
		font-family: "Google Sans Flex",-apple-system, BlinkMacSystemFont, Arial, sans-serif;
	}

	/* text */

	p
	{
		/* no clamp here; target demo is older so I'll keep the font size large for desktop and mobile layouts*/
		font-size: 1.375rem;
		line-height: 1.5;
		text-wrap: pretty;
		margin: 0 auto 1.5rem;
	}

	p:last-of-type	/* p:nth-last-child(1 of p) could also be used, but last-of-type is used because it's a tag, not a class */
	{
		margin: 0 auto;
	}
	
	/* Headers */

	h1,
	h2,
	h3,
	h4,
	h5,
	h6
	{
		font-weight: bold;
		margin: 0 auto;
		padding: 0;
		line-height: 1.125;
	}

	h1
	{
		font-size: clamp(2rem, 1.6rem + 2vw, 4rem);
		color: #8F1414;
	}
	
	h2
	{
		font-size: 1.75rem;
		color: #3E0909;
	}
	
	h3
	{
		font-size: clamp(1.5rem, 1.275rem + 1.13vw, 2.625rem);
		color: #8F1414;
	}
	
	h4
	{
		font-size: clamp(1.125rem, 0.95rem + 0.88vw, 2rem);
		color: #8F1414;
	}
	
	h5
	{
		font-size: clamp(0.938rem, 0.825rem + 0.56vw, 1.5rem);
		color: #8F1414;
	}
	
	h6
	{
		font-size: clamp(0.75rem, 0.725rem + 0.13vw, 0.875rem);
		color: #555;
		line-height: 1.5;
	}
	
	/* Root stacking context, if desired */

	#root, #__next
	{
		isolation: isolate;
	}

	:where(:target)
	{
		scroll-margin-block: 5rem;
	}

	:where(:focus-visible)
	{
		outline: 2px solid #0f0;
		outline-offset: 0;
	}

	/* Wider Layouts (Tablet and Desktop) */

	@media (min-width: 56rem)
	{
		
		html,
		body
		{
			text-align: left;
		}
		
	}

}