.tx-container {
	padding-top: 1.25rem;
	background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1123 258'><path d='M1124,2c0,0 0,256 0,256l-1125,0l0,-48c0,0 16,5 55,5c116,0 197,-92 325,-92c121,0 114,46 254,46c140,0 214,-167 572,-166Z' style='fill: hsla(0, 0%, 100%, 1)' /></svg>")
			no-repeat bottom,
		linear-gradient(
			to bottom,
			var(--md-primary-fg-color),
			var(--md-primary-fg-color--dark) 99%,
			var(--md-default-bg-color) 99%
		);
}

[data-md-color-scheme='slate'] .tx-container {
	background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1123 258'><path d='M1124,2c0,0 0,256 0,256l-1125,0l0,-48c0,0 16,5 55,5c116,0 197,-92 325,-92c121,0 114,46 254,46c140,0 214,-167 572,-166Z' style='fill: hsla(232, 15%, 21%, 1)' /></svg>")
			no-repeat bottom,
		linear-gradient(
			to bottom,
			var(--md-primary-fg-color),
			var(--md-primary-fg-color--dark) 99%,
			var(--md-default-bg-color) 99%
		);
}

.tx-hero {
	margin: 0 0.8rem;
	color: var(--md-primary-bg-color);
}

/* Make main headline thicker */
.tx-hero h1 {
	margin-bottom: 1rem;
	color: currentColor;
	font-weight: 700;
}

/* [mobile portrait -]: Adjust headline */
@media screen and (max-width: 29.9375rem) {
	.tx-hero h1 {
		font-size: 1.4rem;
	}
}

/* Ensure that blob doesn't overlap buttons */
.tx-hero__content {
	padding-bottom: 6rem;
}

/* [tablet landscape +]: Display content and image next to each other */
@media screen and (min-width: 60rem) {
	.tx-hero {
		display: flex;
		align-items: stretch;
	}

	/* Increase bottom spacing and set dimensions */
	.tx-hero__content {
		max-width: 20rem;
		margin-top: 3.5rem;
		padding-bottom: 14vw;
	}

	/* Swap with teaser and set dimensions */
	.tx-hero__image {
		order: 1;
		width: 38rem;
		transform: translateX(4rem);
	}
}

/* [screen +]: Adjust spacing */
@media screen and (min-width: 76.25rem) {
	/* Ensure the image aligns with the repository information */
	.tx-hero__image {
		transform: translateX(7rem);
	}
}

/* Adjust spacing of buttons and invert them */
.tx-hero .md-button {
	margin-top: 0.5rem;
	margin-right: 0.5rem;
	color: var(--md-primary-bg-color);
}
/* Invert hover and focus button states */
.tx-hero .md-button:hover,
.tx-hero .md-button:focus {
	color: var(--md-primary-bg-color);
	background-color: var(--md-accent-fg-color);
	border-color: var(--md-accent-fg-color);
}

/* Invert primary button */
.tx-hero .md-button--primary {
	color: var(--md-primary-fg-color--dark);
	background-color: var(--md-primary-bg-color);
	border-color: var(--md-primary-bg-color);
}
