* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
	--link-color: #a2e64a;
	--main-color: white;
	--heading-color: #00000;
	--secondary-color: #b1b1b1;
	--border-color: rgb(0, 184, 110);
	--border-style: 3px ridge var(--border-color);
	--dark-text-color: rgb(44, 43, 43);
}

a {
	/* color: rgb(19, 166, 215); */
	color: var(--link-color);
}

body {
	font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
	line-height: 1.6;
	background-color: green;
	color: var(--main-color);
}

@media (prefers-color-scheme: dark) {
	/* body {
	} */
}

/* Hero Section */
.hero {
	position: relative;
	width: 100%;
	height: 200px;
	display: flex;
	align-items: flex-start;
	padding: 40px;
}

.hero img {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	z-index: -1;
	/* object-position: center calc(50% + 50px); */
}

.hero-content {
	display: flex;
	align-items: center;
	gap: 20px;
	z-index: 2;
	position: relative;
}

.avatar {
	width: 50px;
	height: 50px;
	border: var(--border-style);
	display: flex;
	align-items: center;
	justify-content: center;
	color: white;
	font-size: 24px;
	flex-shrink: 0;
}
.avatar img {
	position: relative;
	width: 100%;
	height: 100%;
	object-fit: contain;
	object-position: center center;
}

.username {
	font-family: 'Courier New', monospace;
	font-size: 28px;
	font-weight: bold;
}
.username a {
	color: var(--main-color);
	text-decoration: none;
}

/* Main Content Area */
.main-container {
	display: grid;
	grid-template-columns: 70% auto 200px;
	gap: 0;
	/* max-width: 1200px; */
	margin: 0 auto;
	padding: 40px 20px;
}

/* Blog Posts Column */
.blog-column {
	grid-column: 1;
	padding-right: 20px;
}

.blog-post {
	margin-bottom: 30px;
	padding-bottom: 20px;
	border-bottom: 1px solid #eee;
	padding: 20px;
	border: var(--border-style);
	/* text-decoration: none; */
}

.blog-post-headline {
	color: var(--main-color);
	text-decoration: none;
}
.blog-post-headline:hover {
	text-decoration: underline;
}

.tags {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-bottom: 15px;
}

.tag {
	display: inline-block;
	background-color: rgba(162, 230, 74, 0.2);
	color: var(--link-color);
	padding: 4px 12px;
	border-radius: 5px;
	font-size: 12px;
	font-weight: 500;
	border: 1px solid var(--link-color);
	text-decoration: none;
}

.tag:hover {
	text-decoration: underline;
}

.tag.header {
	font-size: unset;
	margin: 10px;
}
.tag-header:hover {
	text-decoration: none;
}
.tag-page-header {
	margin-bottom: 10px;
}

/* .blog-post:last-child {
	border-bottom: none;
} */

.separator {
	border-top: 3px ridge var(--secondary-color);
	padding: 10px;
}

.blog-post h2 {
	font-size: 24px;
	margin-bottom: 10px;
	color: var(--heading-color);
}
.blog-post ul, ol {
	padding: 20px;
}

.blog-post .date {
	color: var(--secondary-color);
	font-size: 14px;
	margin-bottom: 10px;
}
.blog-post img {
	max-width: 500px;
	max-height: 500px;
	justify-content: center;
	margin: auto;
	display: block;
	padding: 10px;
}
.blog-post p {
	color: var(--main-color);
	margin-bottom: 10px;
}

.hStack {
	display: flex;
	flex-flow: row wrap;
	justify-content: center;
}
.hStack * {
	display: inline-block !important;
}

.read-more {
	color: #a2e64a;
	text-decoration: none;
	font-weight: 500;
}

.read-more:hover {
	text-decoration: underline;
}

/* Spacer Column */
.spacer-column {
	grid-column: 2;
}

/* Social Media Column */
.social-column {
	grid-column: 3;
	padding-left: 20px;
	position: sticky;
	top: 0;
	align-self: start;
}
.social-section h3 {
	font-size: 18px;
	margin-bottom: 20px;
	text-align: right;
	color: var(--heading-color);
}

.social-list {
	list-style: none;
}

.social-list li {
	margin-bottom: 12px;
	align-content: right;
	text-align:right;
	border: var(--border-style);
	background-color: var(--link-color);
}
.social-list li img {
	max-width: 20px;
	max-height: 20px;
}

.social-list a {
	color: var(--dark-text-color);
	text-decoration: none;
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 14px;
	margin: 0px 10px;
	justify-content: flex-end;
}

.social-list a:hover {
	text-decoration: underline !important;
}
.social-list a:visited {
	color: var(--dark-text-color);
}

.social-icon {
	font-size: 18px;
}

/* Responsive Design */
@media (max-width: 768px) {
	.main-container {
		grid-template-columns: 1fr;
	}

	.blog-column, .social-column {
		grid-column: 1;
		padding: 0;
		margin-bottom: 40px;
	}

	.spacer-column {
		display: none;
	}

	.username {
		font-size: 24px;
	}

	.hero {
		height: 200px;
	}
	.social-list a {
		justify-content: flex-start;
	}
	.social-section h3 {
		text-align: left !important;
	}
}
