.account {
	position: fixed;
    inset: 0; /* full screen */
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
	margin: auto;
    padding-top: 0px;  /* navbar height */
    padding-bottom: 35px; /* footer height */
	max-width: 850px;
    box-sizing: border-box;
}

html {
	scrollbar-gutter: stable;
}

body {
	background-color: white;
	color: #222;
	font-family: 'Inter', sans-serif;
	font-weight: normal;
	font-style: normal;
	line-height: 1.5em;
	text-align: center;
	margin-top: 0;
	margin-right: auto;
	margin-bottom: 0;
	margin-left: auto;
	width: 100%;
	max-width: 1000px;
	}

p {
	color: #111;
}

h1, h2 {
	color: #000;
	font-family: 'Syne', sans-serif;
	letter-spacing: 0.18em;
	font-weight: 600;
}

hr {
	width: 45%;
	opacity: 0.25;
	margin-bottom: 40px;
}

form {
	max-width: 800px;
	margin: 0 auto;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	font-weight: 500;
	font-family: "Syne", sans-serif;
}

input {
	background: white;
	border: 1px solid #D6D3D1;
	border-radius: 4px;
	width: 224px;

}

form label,
form input {
	font-size: 16px;
	padding: 12px;
}

.login-group {
	display: flex;
	align-items: center;
	margin-bottom: 18px;
	gap: 10px;
}

.error-message {
	margin-bottom: 12px;
	font-size: 14px;
}

.reg-fields {
	margin-bottom: 18px;
}

button {
	padding: 10px 10px;
	border-color: #222;
	border-radius: 4px;
	border: 2px solid #000;
	color: black;
	background-color: white;
	cursor: pointer;
	font-size: 16px;
	width: 250px;
}

.expand-btn {
	border: none;
	margin-top: 15px;
	text-transform: none;
}

.expand-btn:hover {
	background: transparent;
	color: black;
}

.logout-button button {
	width: auto;
	padding: 0;

}

.account-buttons {
	padding-top: 10px;
}

button:hover {
	background: #222;
	color: white
}

.justify {
	text-align: justify;
}
		  
a:visited {
	color: black
	}
		  
a {
	color: black;
	text-decoration: none;
	}
		  
.pagetitles {
	font-size: 40px;
	line-height: 1.05;
	}

.navbar,
footer {
	position: fixed;
	left: 50%;
	transform: translateX(-50%);
	width: 100%;
	max-width: 1000px;
	z-index: 1001;
	background-color: white;
	text-align: center;
}

.navbar {
	top: 0px;
	padding: 30px 0px;
}

nav a.active {
  text-decoration: underline;
}

footer {
	bottom: 0;
}

.navigation,
.footer-navigation {
	display: flex;
    flex-direction: row;
	justify-content: space-around;
	align-content: center;
	gap: 0px;
}
		
.navbar a {
    text-decoration: none;
}

.navigation-auth {
	display: flex;
	flex-direction: row;
	justify-content: space-around;
	align-content: center;
	gap: 0;
	padding: 0 15px;
}

.navbar button {
	border: none;
	color: black;
	background-color: transparent;
	text-transform: uppercase;
	cursor: default;
	font-family: 'Inter', sans-serif;
	font-size: 16px;
	padding: 0;
	margin: 0;
}

.navbar button:hover {
    background: none;
    color: black;
    border: none;
    box-shadow: none;
    text-decoration: none;
	cursor: pointer;
}

.navbar form {
	display: inline;
	margin: 0;
	padding: 0;
}

.footer-navigation {
    padding-top: 30px;
}

.footer-navigation a {
    text-decoration: none;
}

.copyright-line {
	font-family: 'Syne', sans-serif;
	color: #000;
}

/* Shared page width */
.page-container {
	max-width: 700px;
	margin-left: auto;
	margin-right: auto;
}

.page {
	max-width: 850px;
	margin: 0 auto;
	padding: 110px 25px 90px;
	box-sizing: border-box;
}

.written {
	width: 100%;
	text-align: justify;
	flex-shrink: 0;
	line-height: 1.7;
}
   
.content {
	padding-top: 5px
}

.home {
	display: flex;
	justify-content: center;
	align-items: center;
	min-height: 100vh;
}

.footer-page {
    position: fixed;
    inset: 0; /* full screen */
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding-top: 75px;  /* navbar height */
    padding-bottom: 125px; /* footer height */
    box-sizing: border-box;
}

.logo {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	gap: 10px;
}

.logo figure {
	margin: 0;
}

.logo img {
	display: block;
	width: 350px;
	height: auto;
}

.brand {
	font-family: 'Syne', serif;
	font-size: 75px;
	display: block;
	margin-bottom: 30px;
	letter-spacing: 0.03em;
}

.quote {
	display: flex;
	flex-direction: column;
	align-items: center;
	padding-top: 30px;
	/* gap: 6px; */
	/* max-width: 400px; */
}

.quote-text {
	font-style: italic;
	margin: 0;
	line-height: 1.4;
	font-family: 'Syne', sans-serif;
	color: #000;
	/* font-size: 16.5px; */
}

.quote-text,
.quote-author {
	font-size: 16px;
}

.written {
	text-align: justify;
}

.post {
	width: 100%;
	max-width: 600px;
	margin: 0 auto;
	padding: 0;
	line-height: 1.7;
}

.post-divider {
	border-bottom: 2px solid #d9d4cd;
	margin: 40px auto;
	max-width: 452px;
}

.post-meta {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	margin-bottom: 14px;
	font-size: 16px;
}

.post-actions {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	padding-bottom: 0px;
	gap: 10px;
}

.post-body {
	margin-bottom: 50px;
}

.post-body-single {
	margin-bottom: 15px;
}

.post-body--center {
	text-align: center;
}

.post-body--justify {
	text-align: justify;
	margin-bottom: 20px;
}

.post-page {
	display: flex;
	flex-direction: column;
    align-items: center;
    justify-content: center;
    padding-top: 150px;  /* navbar height */
    padding-bottom: 110px; /* footer height */
	margin-left: auto;
	margin-right: auto;
    box-sizing: border-box;
}

.post-report {
	padding-top: 15px;
}

.post-composer-title {
	text-align: center;
	line-height: 2.5rem;
	padding-bottom: 15px;
}

.post-page-content {
	width: 700px;
	margin-bottom: 0px;
}

.post-title,
.post-thoughts,
.post-url {
	display: flex;
	flex-direction: column;
	align-items: center;
	padding-top: 20px;
	padding-bottom: 20px;
	text-align: justify;
	width: 100%;
}

.post-title-field input,
.post-thoughts textarea,
.post-url input {
	width: 500px;
	font-size: 1rem;
	padding: 12px;
	box-sizing: border-box;
	border-radius: 4px;
	border-color: grey;
	border-style: solid;
	border-width: 1px;
	justify-content: center;
	align-items: center;
	font-size: 16px;
	line-height: 1.5;
}

.post-thoughts textarea {
	font-family: 'Inter', sans-serif;
	height: 250px;
}

.feed-page {
	display: flex;
	flex-direction: column;
    align-items: center;
    justify-content: center;
    padding-top: 150px;  /* navbar height */
    padding-bottom: 150px; /* footer height */
	margin-left: auto;
	margin-right: auto;
    box-sizing: border-box;
}

.single-post {
	display: flex;
	flex-direction: column;
	justify-content: center;
	width: 100%;
	max-width: 600px;
	margin: 0 auto;
	padding: 130px 0;
	border-bottom: 1px solid #d9d4cd;
}

.avatar {
	display: flex;
	justify-content: center;
	align-items: center;
}

.post-author-info {
	display: flex;
	flex-direction: row;
	gap: 15px;
}

.username-bio {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	justify-content: center;
	text-align: left;
	gap: 0;
}

.post-bio {
	margin: 0;
	color: #444;
}

.user-comment {
	display: flex;
	flex-direction: column;
	justify-content: center;
	width: 400px;
	margin-top: 20px;
	margin-bottom: 10px;
}

.user-comment textarea {
	max-width: 97%;
	margin: 10px auto;
	font-size: 1rem;
	border-radius: 4px;
	border-color: grey;
	border-style: solid;
	border-width: 1px;
	font-size: 16px;
	font-family: 'Inter', sans-serif;
}

.comment {
	display: flex;
	flex-direction: column;
	align-items: left;
	width: 90%;
	text-align: justify;
	font-size: 0.9rem;
	margin-top: 15px;
	width: 550px;
	line-height: 1.5;
	/* background-color: #D6D3D1; */
}

.comment-meta {
	display: flex;
	flex-direction: row;
	justify-content: left;
	align-items: center;
	gap: 15px
}

.comment-reply {
	text-align: justify;
	font-size: 0.9rem;
	padding-top: 15px;
	padding-bottom: 15px;
	line-height: 1.5;
	width: 100%;
}

.comments-list {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: left;
	padding-left: 30px;
	padding-right: 30px;
	/* width: 100%; */
}

.comment-thread {
    margin-left: 3px;
    padding-left: 10px;
    border-left: 2px solid #d9d4cd;
	max-width: 550px;
}

.comment-btn {
	display: flex;
	justify-content: center;
	align-items: center;
}

.comment-form {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    margin-top: 10px;
    width: 100%;
}

.comment-form div {
    width: 100%;
    max-width: 500px;
}

.comment-form textarea {
    width: 100%;
    padding: 10px;
    resize: vertical;
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    border: 1px solid #D6D3D1;
    border-radius: 4px;
    box-sizing: border-box;
	max-width: 450px;
}

.comment-form button[type="submit"] {
    padding: 8px 24px;
    width: auto;
}

.username-bio-comments {
	display: flex;
	flex-direction: column;
	padding-right: 15px;
}

.report-link {
	font-size: 0.75rem;
	color: #555;
	text-decoration: underline;
}

/* .report-link:hover {
	color: #000;
	text-decoration: underline;
} */

.delete-account {
	padding-top: 40px;
	font-size: 14px;
}

.btn {
    padding: 10px 20px;
    border: 2px solid #000;
    text-decoration: none;
    color: #000;
	width: 206px;
	border-radius: 4px;
}

.btn-logout {
	width: 250px;
}

.btn:hover {
	background: #222;
	color: white
}

.toggle-btn {
	display: flex;
	flex-direction: row;
	gap: 5px;
	border: none;
	width: 50px;
	background: none;
}

.toggle-btn:hover {
	background: none;
	color: black;
}

.toggle-btn span {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

.message-join-comments {
	display: flex;
	flex-direction: row;
	justify-content: center;
	align-items: center;
	gap: 0px;
}

.membership {
	padding-top: 150px;
}

.messenger {
	margin-top: 100px;
	padding-top: 100px;
}

.hidden {
	display: none;
}

.conv-item {
    padding: 12px;
    cursor: pointer;
}

.messenger {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
}

#conv-view {
	max-width: 500px;
}

#conv-messages {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 16px;
    overflow-y: auto;
    height: 400px;
	justify-content: flex-end;
}

.msg {
    max-width: 65%;
    padding: 10px 14px;
    border-radius: 18px;
    line-height: 1.4;
}

.msg p {
    margin: 0;
}

.msg small {
    display: block;
    font-size: 14px;
    margin-top: 4px;
    opacity: 0.6;
}

.msg.sent {
    align-self: flex-end;
    background-color: aqua;
    color: black;
    border-bottom-right-radius: 4px;
}

.msg.received {
    align-self: flex-start;
    background-color: #f0f0f0;
    color: #000;
    border-bottom-left-radius: 4px;
}

#message-field-btn {
	display: flex;
	flex-direction: row;
	justify-content: center;
	align-items: center;
}

#msg-field-btn {
	width: 100px;
	border-radius: 4px;
}

.tab-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

@media (max-width: 600px) {
    .navbar {
		width: 100%;
    }
    
    .navigation,
	.footer-navigation,
	.navigation-auth {
		padding-left: 30px;
		padding-right: 30px;
	}
    
    body {
        margin-top: 15px;
		max-width: 100%;
    }
    
    .hoodie {
        width: 90%;
    }

	.written {
		width: 90vw;
	}

	.store {
		margin-top: 80px;
	}

	.ethos {
		margin-top: 80px;
	}

    footer {
        padding-bottom: 0;
		width: 100%;
    }

	.page {
		width: 100%;
		margin: 0 auto;
		padding: 86px 22px 90px;
		box-sizing: border-box;
	}

	.post-page {
		max-width: 100%;
		margin-top: 0;
		margin-bottom: 0;
		padding-top: 60px;
	}

	.post-divider {
		max-width: 75%;
	}

	.single-post {
		max-width: 90vw;
		padding-top: 90px;
	}

	#id_thoughts,
	#id_title,
	#id_urls {
		width: 92vw;
	}

	.post-page-content {
		max-width: 90vw;
	}

	.post {
		max-width: 90vw;
	}

	.visual {
    	position: fixed;
		top: 140px;
		display: flex;
		flex-direction: column;
		align-items: center;
		justify-content: center;
		text-align: center;
		/* gap: 16px; */
	}

	.footer-page {
    	position: fixed;
		padding-top: 75px;
		padding-bottom: 125px;
		display: flex;
		flex-direction: column;
		align-items: center;
		justify-content: center;
		text-align: center;
		/* gap: 16px; */
	}

	.logo {
		display: flex;
		flex-direction: column;
		align-items: center;
		text-align: center;
		/* gap: 6px; */
	}

	.logo figure {
		margin: 0;
	}

	.logo img {
		display: block;
		width: 250px;
		height: auto;
	}

	.brand {
		font-size: 55px;
		display: block;
		margin: 30px;
	}

	.quote {
		display: flex;
		flex-direction: column;
		align-items: center;
		padding-top: 0;
		gap: 6px;
		max-width: 65vw;
	}

	.quote-text {
		font-style: italic;
		margin: 0;
		line-height: 1.4;
		font-size: 15px;
	}

	.quote-author {
		font-size: 15px;
	}

	button:hover {
		background: transparent;
		color: black;
		cursor: pointer;
	}

	.btn-logout {
		width: 250px;
	}

	.comment {
		width: 100%;
	}

	.comments-list {
		margin: 0 10px;
		width: 100%;
		max-width: 370px;
		padding-left: 0;
		padding-right: 0;
	}
}

@media (min-width: 600px) and (max-width: 1000px) {
	.navigation,
	.footer-navigation, 
	.navigation-auth {
		padding-left: 15%;
		padding-right: 15%;
	}
	.footer-page {
    	position: fixed;
		top: 60px;
		display: flex;
		flex-direction: column;
		align-items: center;
		justify-content: center;
		text-align: center;
		/* gap: 16px; */
	}

	.comments-list {
		width: 550px;
	}
}