@import url('https://fonts.googleapis.com/css2?family=Michroma&display=swap');

body {
	font-family: "Michroma", sans-serif;
	line-height: 1.4;
	background: #fbfbf5;
}

.container {
	max-width: 760px;
	margin: 36px auto;
	padding: 0 16px;
}

.site-header {
	text-align: center;
	margin-bottom: 20px;
}

.lead {
	color: #585858;
	margin-top: 6px;
}

.card {
	background: #fff;
	border-radius: 12px;
	padding: 16px;
	box-shadow: 0 6px 18px rgba(15, 23, 36, 0.06);
	border: 1px solid rgba(128, 128, 128, 0.4);
}

.composer h2 {
	font-size: 1rem;
	margin-bottom: 8px;
}

#takeInput {
	width: 97%;
	padding: 12px;
	border-radius: 8px;
	border: 1px solid #3e3e3e;
	background: #fbfdff;
}

#postBtn {
	padding: 8px 14px;
    margin: 8px 0 0 0;
	border-radius: 8px;
	border: 0;
	cursor: pointer;
	font-weight: 600;
    background: #0ea5a4;
    color: #fff;
}

#postBtn:active {
	transform: translateY(1px);
}

.posts {
	margin-top: 20px;
}

.post {
	margin-bottom: 14px;
}

.post .post-card {
	display: block;
	padding: 12px;
	border-radius: 10px;
	border: 1px solid rgba(2, 6, 23, 0.04);
}

.post .meta {
	display: flex;
	gap: 8px;
	align-items: center;
	margin-bottom: 8px;
}

.author {
	font-weight: 1000;
}

.comments {
	margin-top: 10px;
	padding-left: 46px;
}

.comment {
	margin-bottom: 6px;
	padding: 8px;
	border-radius: 8px;
	background: #f1f5f9;
	color: #0b1220;
	border: 1px solid rgba(2, 6, 23, 0.03);
	opacity: 0;
	transform: translateY(6px);
	transition: opacity 0.26s ease, transform 0.26s ease;
}

/* for animination of comment when there is show */
.comment.show {
	opacity: 1;
	transform: translateY(0);
}