.chat {
	/* width: 80%;
	max-width: 400px; */
	/* min-width: 350px;
	max-height: 600px; */
	border-radius: 7px;
	background: white;
	/* box-shadow: 0 0 10px hsla(0, 0%, 0%, 0.2); */
	overflow: hidden;
	display: block;
	/* grid-template-rows: 80% 20%; */
}



.chat-texts {
	/* background: rgb(168, 146, 146); */
	padding: 2rem;
	/* overflow: auto; */
}

.text {
	display: flex;
	padding: 0.7rem;
	align-items: start;
	/* opacity: 0; */
}

@keyframes fade-in {
	from {
		opacity: 0;
	}

	to {
		opacity: 1;
	}
}

.text.sent {
	flex-direction: row-reverse;
}

.text.sent .profile-pic {
	margin-right: 0;
	margin-left: 0.7rem;
}

.text.sent .text-content {
	border-radius: 20px 0px 20px 20px;
}

.text.sent .text-content {
	background: #04b4a9;
	color: white;
}

.profile-pic {
	width: 50px;
	height: 50px;
	background: gray;
	border-radius: 50%;
	margin-right: 0.7rem;
	overflow: hidden;
}

.profile-pic img {
	width: 50px;
	height: 50px;
	object-fit: cover;
}

.text-content {
	background: hsl(220, 20%, 94%);
	padding: 1.5rem;
	border-radius: 0px 20px 20px 20px;
	font-size: 1.2rem;
	line-height: 130%;
	max-width: 70%;
	/* letter-spacing: 0.5px; */
}

.timestamp {
	display: block;
	font-size: 1.2rem;
	color: hsl(0, 0%, 50%);
	margin-top: 0.8rem;
}


.text.sent .timestamp {
	color: white;
}

.text-content h5 {
	letter-spacing: 0;
	font-size: 1.3rem;
	margin-bottom: 0.8rem;
}

.send-message {
	width: 100%;
	padding: 1rem;
	display: flex;
	/* align-items: center; */
	justify-content: space-between;
}

.message-text {
	width: 90%;
	background: white;
	padding: 1rem 1.2rem;
	border-radius: 100vw;
	display: flex;
	align-items: center;
	/* justify-content: space-between; */
	/* flex-basis: 80%; */
	background: hsl(220, 20%, 94%);
}


.smiley,
.attachment {
	width: 20px;
	height: 20px;
	display: grid;
	place-items: center;
}

.message-text input {
	width: 100%;
	padding: 0.5rem;
	border: none;
	background: transparent;
}

.message-text input:focus {
	outline: none;
}

.btn-chat {
	border: none;
	background: transparent;
	width: 60px;
	height: 60px;
	font-size: 2rem;
	border-radius: 50%;
	background: #04b4a9;
	color: white;
	display: grid;
	place-items: center;
	transition: 300ms ease;
}

.btn-chat:hover {
	background: black;
	cursor: pointer;
}