:root {
	--primary-color: #ed7202;
	--text-color: #e1e8f8;
	--muted-color: #6c757d;
	--border-color: #e1e8f855;
  
  	--gray-800: #343a40;
	--tertiary-bg: #e9ecef;
	--body-color-rgb: 28, 30, 33;
}

::selection {
	background-color: #ed7202aa;
}

::-webkit-scrollbar {
	width: 8px;
	height: 8px;
}

::-webkit-scrollbar-track {
	margin-left: 2px;
	background-color: var(--tertiary-bg);
	border-radius: 10px;
}

::-webkit-scrollbar-thumb {
	background-color: rgba(var(--body-color-rgb), 0.5);
	border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
	background-color: var(--gray-800);
}


body {
	font-family: "Google Sans", sans-serif;
	font-optical-sizing: auto;
	font-style: normal;
	font-variation-settings: "GRAD" 0;

	background-color: #202020;
	display: flex;
	flex-direction: column;
	align-items: center;
  	flex-wrap: wrap;
  
  	height: 100%;
	margin: 0;
  	overflow-x: hidden;
}

a {
	text-decoration: none;
}

.message-container {
	display: inline-flex;
	justify-content: space-between;
	gap: 0.5rem;
	width: 100%;
	padding: 0.5rem 0.5rem;
	min-height: 4rem;
	border-bottom: 1px solid var(--border-color);
}
.message-container:last-child {
	border-bottom: none;
}

.message-container:hover {
	background-color: rgba(255, 255, 255, 0.008);
}

.message-content {
	display: flex;
	flex-direction: column;
	justify-content: space-around;
	gap: 0.25rem;
	color: var(--text-color);
}

.message-user {
	display: inline-flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 0.35rem;
}

.user-name {
	color: var(--text-color);
	font-weight: bold;
}
.user-avatar {
	border-radius: 50%;
}

.user-handle {
	text-transform: lowercase;
	font-size: 12px;
	color: var(--muted-color);
}

.message-text {
	display: flex;
	align-items: center;
	gap: 5px;
	width: 100%;
	overflow-wrap: break-word;
	margin-block: 0.75em;
}

.hashtag {
	color: var(--primary-color) !important;
}

.message-timestamp {
	font-size: 12px;
	font-weight: 500;
	color: var(--muted-color);
  	margin-right: 10px;
}
