html,
body {
	margin: 0;
	padding: 0;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
	font-size: 1rem;
	font-weight: 400;
	line-height: 1.5;
	color: #212529;
	text-align: left;
}

.shake {
	animation: shake 0.5s;
	animation-iteration-count: 1;
	transform: translate3d(0, 0, 0);
}

@keyframes shake {
	0% {
		transform: translate(1px, 1px) rotate(0deg);
	}

	10% {
		transform: translate(-1px, -2px) rotate(-1deg);
	}

	20% {
		transform: translate(-3px, 0px) rotate(1deg);
	}

	30% {
		transform: translate(3px, 2px) rotate(0deg);
	}

	40% {
		transform: translate(1px, -1px) rotate(1deg);
	}

	50% {
		transform: translate(-1px, 2px) rotate(-1deg);
	}

	60% {
		transform: translate(-3px, 1px) rotate(0deg);
	}

	70% {
		transform: translate(3px, 1px) rotate(-1deg);
	}

	80% {
		transform: translate(-1px, -1px) rotate(1deg);
	}

	90% {
		transform: translate(1px, 2px) rotate(0deg);
	}

	100% {
		transform: translate(1px, -2px) rotate(-1deg);
	}
}


p {
	margin: 10px 0;
}

/* Container for Bluesky posts */
.bluesky-posts-container {
	display: grid;
	grid-template-columns: 1fr;
	gap: 20px;
	max-width: 400px;
	margin: 20px auto 0;
	padding-bottom: 0 !important;
}

/* Responsive layout for larger screens */
@media (min-width: 768px) {
	.bluesky-posts-container {
		grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
		max-width: 75%;
	}
}

/* Post card styling */
.post-card {
	border: 1px solid #ddd;
	padding: 10px 10px 0px 10px;
	border-radius: 5px;
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
	display: flex;
	flex-direction: column;
	justify-content: space-between;
}

.post-card a {
	font-size: 12px;
}

.post-card img.embed-image {
	max-width: 100%;
	max-height: 250px;
	display: flex;
	align-items: center;
	margin: 0 auto;
}

.post-card .avatar {
	width: 40px;
	height: 40px;
	border-radius: 50%;
	margin-right: 10px;
}

.post-card .footer {
	display: flex;
	justify-content: space-between;
	align-items: flex-end;
	margin-top: 10px;
}

.post-card .post-date {
	font-size: 12px;
	color: #555;
}

div#loading {
	width: 100%;
	height: 4px;
	background: linear-gradient(to right, #3498db 0%, #3498db 50%, rgba(0, 0, 0, 0.1) 50%, rgba(0, 0, 0, 0.1) 100%);
	background-size: 200% 100%;
	animation: loading 2s linear infinite;
	position: fixed;
	top: 0;
	left: 0;
	z-index: 1000;
}

@keyframes loading {
	0% {
		background-position: 100% 0;
	}

	100% {
		background-position: 0 0;
	}
}

footer {
	max-width: 1024px;
	margin: 0 auto;
	padding-bottom: 80px;
}

div.container {
	max-width: 2500px;
	margin: 0 auto;
	padding: 0 20px;
}

div.header {
	padding-bottom: 0 !important;
	margin: 0 auto;
	text-align: center;
	padding-top: 40px;
	margin-bottom: 60px;
}

h1 {
	font-size: 2.5rem;
}

h2 {
	font-size: 2rem;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	margin-top: 0;
	margin-bottom: .5rem;
	font-weight: 500;
	line-height: 1.2;
}

.lead {
	font-size: 1.25rem;
	font-weight: 300;
}

footer {
	text-align: justify;
	max-width: 1024px;
	margin: 0 auto;
	color: #6c757d;
	padding-top: 80px;
}

a {
	text-decoration: none;
	color: #007bff;
}

a:hover {
	text-decoration: underline;
}

p.post-link a {
	color: #999;
}