body {
	margin: 20px;
	width: 100vw;
	display: flex;
	justify-content: center;
}
.index {
	position: fixed;
	top: 0;
	left: 0;
	margin: 10px;
	padding: 10px;
	list-style: none;
	list-style-type: none;
	/* filter: grayscale(100%); */
}

/* Hide the toggle by default on desktop */
#index-toggle,
.index-toggle-label {
	display: none;
}

a:hover {
	
}
.blog-post.contact {
	font-family: "prestige-elite-std", monospace;
	font-weight: 700;
	font-style: normal;
	padding: 20px;
	max-width: 400px;
	background-color: rgb(255, 255, 255);
	border: solid 1px rgb(198, 198, 198);
	box-shadow: inset 0 0  5px rgb(200, 200, 200);
	/* position: fixed;
	top: 50%;
    transform: translateY(-50%); */
}
.blog-post.contact img {
	max-width: 80px;
	margin-bottom: 10px;
	border: none;
	float: right;
}
.date {
	font-family: "prestige-elite-std", monospace;
	font-weight: 400;
	font-style: normal;
	font-size: 14px;
	color: gray;
}
.title {
	font-weight: bold;
	font-size: 20px;
	font-family: Arial, Helvetica, sans-serif;
}
.blog-container {
	width: 100%;
	display: flex;
	flex-direction: column;
	align-items: center;
	/* background-color: pink; */
	gap: 20px;
}
.blog-post {
	width: 700px;
	font-family: "prestige-elite-std", monospace;
	font-weight: 700;
	font-style: normal;
	font-size: 14px;
	margin-bottom: 40px;
}
.blog-post.writing {
	font-family: 'Times New Roman', Times, serif;
	font-weight: normal;
	font-size: 16px;
	max-width: 450px;
	border: solid 1px black;
	padding: 20px;
}
.blog-post img {
	width: 100%;
	margin-bottom: 10px;
	border: solid 1px black;
}
textarea {
	width: 100%;
	font-size: 16px;
	overflow: hidden; /* hide scrollbars */
	resize: none;     /* prevent manual resize */
	padding: 8px;
}
.blog-header{
	display: flex;
	flex-wrap: wrap-reverse;
	justify-content: space-between;
}

@media (max-width: 768px) {
	body {
		margin: 10px 0 0 0;
		width: 100%;
	}
	
.index {
	background-color: white;
	padding-left: 0px;
	padding-right: 0px;
	padding-bottom: 0px;
	margin-top: 0px;
	margin-left: 10px;
	margin-right: 10px;
	left: 0;
	right: 0;
	border-bottom: solid 1px black;
}

	.blog-container {
		width: calc(100% - 20px);
		margin: 0 10px;
		margin-top: 60px;
	}
	
	.blog-post {
		width: 100%;
	}
	
	.blog-post.writing,
	.blog-post.contact {
		box-sizing: border-box;
		max-width: 100%;
	}
	
	/* Show the toggle on mobile */
	#index-toggle {
		display: inline-block;
	}
	
	.index-toggle-label {
		display: inline-block;
		margin-bottom: 10px;
		cursor: pointer;
	}
	
	/* Hide index content by default on mobile (when unchecked) */
	.index-content {
		display: none;
	}
	
	/* Show index content when checkbox is checked */
	#index-toggle:checked ~ .index-content {
		display: block;
	}
}
