/**
 * Minified by jsDelivr using clean-css v5.3.2.
 * Original file: /npm/modern-normalize@2.0.0/modern-normalize.css
 *
 * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files
 */
/*! modern-normalize v2.0.0 | MIT License | https://github.com/sindresorhus/modern-normalize */
*,::after,::before{box-sizing:border-box}html{font-family:system-ui,'Segoe UI',Roboto,Helvetica,Arial,sans-serif,'Apple Color Emoji','Segoe UI Emoji';line-height:1.15;-webkit-text-size-adjust:100%;-moz-tab-size:4;tab-size:4}body{margin:0}hr{height:0;color:inherit}abbr[title]{text-decoration:underline dotted}b,strong{font-weight:bolder}code,kbd,pre,samp{font-family:ui-monospace,SFMono-Regular,Consolas,'Liberation Mono',Menlo,monospace;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;line-height:1.15;margin:0}button,select{text-transform:none}[type=button],[type=reset],[type=submit],button{-webkit-appearance:button}::-moz-focus-inner{border-style:none;padding:0}:-moz-focusring{outline:1px dotted ButtonText}:-moz-ui-invalid{box-shadow:none}legend{padding:0}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}
/*# sourceMappingURL=/sm/5b7c27b6a0fd11e81f813b36dc26f6049a71a06907ce03d53d65a3bfe866b576.map *//* Cards is a container for multiple cards. */
.cards {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(16rem, 1fr));
	grid-gap: 1.5rem;
}

/** Card 
*	- The card is a container for a figure and a paragraph.
*	- The figure contains an image and a figcaption.
*	- The paragraph contains the card text.
*	- The card has an optional badge and button(s).
* 	- example:
*	<div class="card">
*		<figure>
*			<img src="assets/img/piggy-plus.svg" alt="Piggy Plus">
*			<figcaption>Piggy Plus</figcaption>
*		</figure>
*		<p class="card__text">Piggy Plus is awesome</p>
*		<div class="card__badge card__badge--piggy-plus">Piggy Plus</div>
*		<a href="#" class="card__button">Learn More</a>
*	</div>
*/
.card {
	background-color: var(--color-light-gray);
	color: var(--color-pink-dark);
	padding: 1rem;
	border-radius: 0.5rem;
	box-shadow: 0 0 0.5rem rgba(0, 0, 0, 0.25);
	position: relative;

	.button {
		margin-left: auto;
	}

	> figure {
		width: 100%;
		margin: 0;
		display: flex;
		padding-bottom: 1rem;
		border-bottom: 1px solid var(--color-pink-dark);

		> img, > svg {
			width: 4rem;
			height: 4rem;
			flex: 0 0 4rem;
		}
		
		> figcaption {
			display: flex;
			align-items: center;
			gap: 1rem;
			margin-left: 1rem;
			flex: 1;
			align-self: center;
			font-size: 1.75rem;

			> svg {
				height: 2.5rem;
			}
		}
	}

}

.card--contact-us {
	margin: 0 auto;
	max-width: 80vw;
	border: 0.2rem solid var(--color-blue);
}

/* Card Badge located in the upper right corner of the card. */
.card__badge {
	position: absolute;
	top: 5px;
	right: -15px;
	color: var(--color-pink-dark);
	font-size: 1.2rem;
	transform: rotate(25deg);
	padding: 0.1rem;
	border-radius: 50%;
	width: 140px;
	height: 50px;
	line-height: 50px;
	text-align: center;
	box-shadow: 
		-5px -1px 0 var(--color-pink),  
		1px -1px 0 var(--color-pink),
		-1px 2px 0 var(--color-pink), 
		5px 1px 0 var(--color-pink);
}

.card__text {
	margin-top: 1rem;
}/* Maven Pro is the default text font for all Conrad Research products. */
@font-face {
    font-family: 'Maven Pro';
    src: url('/fonts/MavenPro-VariableFont_wght.ttf') format('truetype');
    font-display: swap;
}

/* piggy+ logo and action buttons font. */
@font-face {
	font-family: 'Comfortaa';
	src: url('/fonts/Comfortaa-VariableFont_wght.ttf') format('truetype');
	font-display: swap;
}.betaList {

	> p {
		margin: 0 auto;
		max-width: 80vw;
		text-align: center;
	}

	.success {
		border-radius: 0.25rem;
		padding: 0.5rem;
		background-color: var(--color-success);
		width: 80vw;
		display: block;
		text-align: center;
		margin: 0 auto;
	}

	form {
		display: flex;
		flex-direction: column;
		flex-wrap: wrap;
		align-items: center;
		justify-content: center;
		margin: 2rem auto 0;
		max-width: 80vw;
		gap: 1rem;

		input[type="email"] {
			width: 20rem;
			height: 3rem;
			padding: 0.5rem;
			margin: 0.5rem 0;
			border: 1px solid var(--color-light-grey);
			border-radius: 0.25rem;
		}

		button {
			min-width: 10rem;
			height: 3rem;
		}
	}
	
}

.tagline {
	margin: 0 auto;
	max-width: 80vw;
	color: transparent;
	text-decoration-color: transparent;
	line-height: 1.625;
	padding: 0.5rem;
	font-size: calc(1rem + 2.5vw); /* Responsive font size. */
	background-clip: text;
	-webkit-background-clip: text;
	background-image: radial-gradient(ellipse at bottom right, var(--color-pink-dark), var(--color-pink));
}

.versus {
	display: flex;
	flex-direction: row;
	justify-content: center;
	align-items: center;
	flex-wrap: wrap;
	margin: 1.5rem auto 2rem;
	column-gap: 2rem;
	row-gap: 3rem;

	.grid-container {
		display: grid;
		grid-template-columns: 1.5fr 1.5fr 1fr;
		grid-template-rows: repeat(7, auto);
		min-width: 30vw;
		max-width: 80vw;
		
		.row {
			display: grid;
			grid-column: span 3;
			grid-template-columns: subgrid;

			> div {
				display: flex;
				align-items: center;
				border: 1px solid var(--color-light-grey);
				padding: 0.5rem;
			}
		}

		.row--header {
			font-weight: bold;
			width: inherit;
		}

		.row--img {
			grid-column: 1 / -1;
			border: none;
			width: inherit;
			padding-bottom: 1rem;
		}

		.row--title {
			width: inherit;
			display: flex;
			align-items: center;
			justify-content: center;
			grid-column: 1 / -1;
			font-weight: bold;
			text-align: center;
			background-color: var(--color-sunset);
			text-wrap: wrap;
		}

		/* Overlay */
		.manually-track {
			grid-column: 1 / -1;
			border: none;
			background-color: var(--color-light-grey);
			border-radius: 0.5rem;
			width: 60%;
			margin: -10rem auto 0 auto;
			padding: 0.5rem;
			height: fit-content;		
		}

	}
}/*
	BEM Naming Convention (Block Element Modifier) is used for CSS class names.
	https://getbem.com/naming/

	OKLCH Color Format is used for color values.

	CSS nesting is used to group related styles together and to make the BEM naming convention more obvious.
*/
:root {

	/** The color palette uses tetradic, analogous, and square colors to the pink of the logo #EF9FBC. */ 
	--color-seasalt: #FAF7F5; 		/* https://coolors.co/FAF7F5 Mostly used for backgrounds. */
	--color-pink: #EF9FBC; 		/* https://coolors.co/EF9FBC Logo color. Used to derive other colors from / relative to. */
	--color-pink-dark: #18040C; 	/* https://coolors.co/18040C Darker shade of logo color. */
	--color-light-grey: #CAC4C6; 	/* https://coolors.co/CAC4C6 Lighter tone of logo color. */
	--color-sunset: #EFD29F;	 	/* https://coolors.co/EFD29F Tetradic to logo color. */
	--color-blue: #9FBCEF; 		/* https://coolors.co/9FBCEF Tetradic to logo color. */
	--color-success: #9FEFD2; 		/* https://coolors.co/9FEFD2 Tetradic to logo color. */
	--color-warning: #E4EF9F; 		/* https://coolors.co/EFB79F Square to logo color. */
	--color-error: #EC9FEF; 		/* https://coolors.co/EC9FEF Analogous to logo color. */

	--active-link-thickness: 0.3rem;
}

body {
	color: var(--color-pink-dark);
	background-color: var(--color-seasalt);
	font-family: 'Maven Pro', sans-serif;
	line-height: 1.5;
	margin: 0 auto;
	padding: 2rem;
	font-size: 1.25rem;
	width: 100vw;
}

.font--piggy-plus {
	font-family: 'Comfortaa', sans-serif;
}

time {
	color: var(--color-pink-dark);
}

.italic {
	font-style: italic;
}

h1 {
	font-size: 2rem;
}

h2 {
	font-size: 1.75rem;
}

h3 {
	font-size: 1.5rem;
}

h4 {
	font-size: 1.25rem;
}

h5 {
	font-size: 1rem;
}

h6 {
	font-size: 0.75rem;
}

.heart svg {
	fill: var(--color-pink);
	height: 1.75rem;
	width: auto;
	vertical-align: middle;
	margin-left: -0.2rem;
	margin-right: -0.2rem;
}

.heart--large svg {
	height: 2rem;
}

header {
	width: 100%;

	> div {
		display: flex;
		flex-direction: row;
		justify-content: center;
		align-items: center;
		gap: 1rem;

		> a {
			font-size: 2rem;
			text-decoration: none;
		}

		> img {
			max-height: 4rem;
		}
	}

	nav {
		display: flex;
		justify-content: center;
		
		menu {
			display: flex;
			flex-direction: row;
			flex-wrap: wrap;
			row-gap: 0.5rem;
			column-gap: 1rem;
			padding-left: 0;
			font-size: min(max(18px, 4vw), 1.5rem); /* Responsive font size. */
		
			li {
				list-style-type: none;
			}
		}
	}
}

a {
	color: var(--color-pink-dark);
	text-decoration: none;

	/* Only apply the underline appearance to links without the class of 'button', 'article__topic', and that aren't in the div in the site header. */
	&:not(.button, .article__topic, header > div *) {
		text-decoration-line: underline;
		text-decoration-color: var(--color-pink);
		text-decoration-thickness: 0.1rem;
		text-underline-offset: 0.4rem;
	}

	/* Only apply this style to active menu links and on link hover for links without the class of 'button', 'article__topic', and that aren't in the div in the site header. */
	&:not(.button, .article__topic, header > div *):hover, &.active {
		text-decoration-color: var(--color-pink-dark);
		text-decoration-thickness: var(--active-link-thickness);
	}

	/* If a link has a heart icon, then simulate the "a" link hover decoration using a border so that we account for the heart spacing. */
	&.active:has(svg):has(.heart) {
		text-decoration: none;
		border-bottom: var(--active-link-thickness) solid var(--color-pink-dark);
		padding-bottom: 0.2rem;
	}

}

.button {
	display: block;
	padding: .5rem;
	background-color: var(--color-sunset);
	color: var(--color-pink-dark);
	border: 0.1rem solid var(--color-pink-dark);
	border-radius: .25rem;
	width: fit-content;
	cursor: pointer;

	&:hover {
		filter: brightness(95%);
		box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
	}

	svg, img {
		height: 1.5rem;
		position: relative;
		top: 0.3rem;
	}

}

.button--category {
	display: flex;
	align-items: center;
	justify-content: left;
	flex-wrap: wrap;
	background-color: var(--color-blue);
	width: 100%;
	cursor: default;
	padding: 0.25rem;

	svg, img {
		margin-right: 0.5rem;
		margin-bottom: 0.5rem;
	}
}

.button--center {
	margin: 0 auto;
}

.button--success {
	background-color: var(--color-success);
}

.button--warning {
	background-color: var(--color-warning);
}

.button--error {
	background-color: var(--color-error);
}

.divider {
	margin-top: 2rem;
	margin-bottom: 2rem;
	display: flex;
	align-items: center;
	text-align: center;
	font-size: 1.5rem;
	font-weight: normal;
	color: var(--color-pink-dark);
	width: 100%;

	img {
		max-height: 4rem;
	}

	&::before, &::after {
		content: '';
		flex: 1;
		border-bottom: 1px solid var(--color-light-grey);
	}

	&::before {
		margin-right: .5em;
	}

	&::after {
		margin-left: .5em;
	}

	/* If no content then remove margins so that there isn't a phantom gap in the middle. */
	&:empty::before, &:empty::after {
		margin-right: 0;
		margin-left: 0;
	}
}

article {
	margin-bottom: 1rem;
	max-width: 768px;
	margin: 0 auto;
}

.article__img {
	display: block;
	margin: 0 auto;
	height: 40vh;
	object-fit: contain;
	border-radius: 1rem;
	margin-bottom: 1rem;
}

.article__summary {
	max-width: 768px;
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(16rem, 1fr));
	row-gap: 0rem;
	column-gap: 1.5rem;
	border-bottom: 0.1rem solid var(--color-light-grey);
	padding-bottom: 1rem;
	margin: 0 auto 2rem;

	/* If there is no article image, then the article summary text will span the entire width. */
	> *:only-child {
		grid-column: 1 / -1;
	}

	/* No bottom border for the last article summary in the list.*/
	&:last-child {
		border-bottom: none;
	}
}

.article__title {
	margin: 0;
	padding-bottom: 0.5rem;
	font-weight: normal;
}

.article__topic {
	padding: 0.4rem;
	background-color: var(--color-blue);
	color: var(--color-pink-dark);
	border-radius: 0.25rem;
	font-style: italic;
	font-size: 1rem;
	width: fit-content;
	transition: filter 0.3s ease;
	filter: brightness(95%);

	&:hover {
		filter: brightness(120%);
	}

	&::before {
		content: '#';
	}
}

/* Code highlighting override. */
.highlight {
	overflow: hidden;
	overflow-x: auto;

	pre {
		min-width: 100%;
		width: fit-content;
		border-radius: 0.25rem;
		padding: 1rem;
		font-size: 1rem;
	}
}

/* Blockquote override. */
blockquote {
	border-left: 0.5rem solid var(--color-blue);
	padding-left: 1rem;
}

.page {

	--link-padding: 0.5rem;

	/* Adjust the margin for the first divider so that it doesn't have a gap at the top. */
	.divider:first-of-type {
		margin-top: 0rem;
		margin-bottom: 1rem;
	}

	menu {
		display: flex;
		flex-direction: row;
		justify-content: space-evenly;
		flex-wrap: wrap;
		padding: 0;
		margin: 0 auto;
		min-width: 12rem;
		max-width: 36rem;
		font-size: min(max(18px, 4vw), 1.5rem); /* Responsive font size. */
		line-height: 2;
	
		li {
			list-style-type: none;
		}

		li a {
			padding: var(--link-padding);
		}

		li a.active, li a:hover{
			text-decoration: none;
			background-color: var(--color-sunset);
			padding: var(--link-padding);
			border-radius: 0.5rem;
		}
		
	}

	ol {
		h2 {
			font-weight: normal;
			font-size: 1.5rem;
		}

		u {
			text-underline-offset: 0.3rem;
		}
	}

	.page__title {
		width: fit-content;
		font-weight: normal;
		text-decoration: underline;
		text-decoration-thickness: 0.25rem;
		text-decoration-color: var(--color-sunset);
		text-underline-offset: 0.3rem;
	}
}

footer {
	margin-top: 1rem;
	align-content: center;
	text-align: center;

	menu {
		display: flex;
		flex-direction: row;
		justify-content: space-evenly;
		flex-wrap: wrap;
		padding: 0;
		margin: 0 auto;
		min-width: 12rem;
		max-width: 24rem;
	
		li {
			list-style-type: none;
		}
	
		li a svg {
			position: relative;
			top: 0.3rem;
		}
	
		li a:hover svg {
			fill: var(--color-pink);
		}

		/* Social media links contained within. */
		li:last-child {
			border-left: solid thin var(--color-light-grey);
			margin-left: 0.5rem;
			padding-left: 1.25rem;
		}
	}
}