/* ---------------------------------------- */
/* https://github.com/FaridZelli */
/* ---------------------------------------- */

/* ---------------------------------------- */
/* --- github-markdown Overrides --- */
/* ---------------------------------------- */

.markdown-body {
	  font-family: "Poppins";
	  line-height: 1.6;
}

.markdown-body h1 {
	font-size: 1.8rem;
}

.markdown-body h2 {
	font-size: 1.5rem;
}

.markdown-body h3 {
	font-size: 1.2rem;
}

@media (prefers-color-scheme: dark) {
	.markdown-body, [data-theme="dark"] {
		/* Base palette aligned to your dark theme */
		--bgColor-default: #1B1B1B;
		--fgColor-default: #eee;
		--fgColor-muted: #bbb;
		--bgColor-muted: #252525;

		/* Accent system unified to your brand blue */
		--fgColor-accent: #3092FF;
		--borderColor-accent-emphasis: #3092FF;
		--focus-outlineColor: #3092FF;
	}
}

@media (prefers-color-scheme: light) {
	.markdown-body, [data-theme="light"] {
		/* Base palette aligned to your light theme */
		--bgColor-default: #fdfdfd;
		--fgColor-default: #333;
		--fgColor-muted: #666;
		--bgColor-muted: #f8f8f8;

		/* Accent system unified to your brand blue */
		--fgColor-accent: #3092FF;
		--borderColor-accent-emphasis: #3092FF;
		--focus-outlineColor: #3092FF;
	}
}

/* ---------------------------------------- */
/* --- Code Blocks --- */
/* ---------------------------------------- */

.markdown-body pre {
	position: relative;
	border-radius: 12px;
	padding-bottom: 0;
}

.markdown-body pre code {
	display: block;
	padding: 1rem 0;
	overflow-x: auto;
	min-height: 50px;
}

.copy-btn {
	position: absolute;
	top: 0;
	right: 0;
	background: var(--fgColor-muted);
	color: var(--bgColor-muted);
	border: none;
	border-radius: 0 12px 0 12px;
	padding: 4px 8px;
	font-size: 0.75rem;
	cursor: pointer;
	min-width: 4rem;
}

/* ---------------------------------------- */
/* --- Hero Section --- */
/* ---------------------------------------- */

#hero {
padding: 3rem 0;
padding-top: 7rem;
}

.red-rectangle {
	width: auto;
	max-width: auto;
	padding: unset;
	margin: 0 4rem;
}

.red-rectangle-content {
	width: 100%;
}

/* ---------------------------------------- */
/* --- Mobile Site --- */
/* ---------------------------------------- */

@media (max-width: 768px), (max-height: 412px) {

	main section {
		padding: 3rem;
	}

	#hero {
	min-height: unset;
	padding: 7rem 0;
	padding-bottom: 3rem;
	}

	.red-rectangle {
		width: auto;
		flex-direction: column;
		align-items: center;
		padding: unset;
		margin: 0 1rem;
		gap: 0;
	}

	.red-rectangle-content {
		width: 100%;
		padding: 1.5rem;
		margin-top: unset;
	}
