html {
	scroll-behavior: smooth;
	font-family: sans-serif;
}
* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

body {
	background: #333;
}
header {
	background-color: #00b8a8;
	padding: 1rem;
	display: flex;
	align-items: center;
	justify-content: space-evenly;
}
.user-bio {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-direction: row-reverse;
}

body {
	display: flex;
	align-items: center;
	justify-content: center;
}

main {
	position: relative;
	background: #eee;
	padding: 10px;
	width: 500px;
	height: 60vh;
	overflow-y: scroll;
}
button[type='submit'] {
	/* color: #fff; */
	color: black;
	border: none;
	padding: 10px;
	border-radius: 5px;
	cursor: pointer;
}
img {
	height: 30px;
	width: 30px;
	border-radius: 50%;
}

.message {
	display: flex;
	align-items: center;
	justify-content: start;
	padding: 10px;
	flex-direction: center;
	border-radius: 10px;
	background-color: #f5f5f5;
	margin-bottom: 10px;
}

.message-text {
	margin-left: 10px;
}

.received {
	background: rgb(255, 174, 174);
	/* float: left; */
}

.sent {
	background: limegreen;
	flex-direction: 'row-reverse';
	justify-content: end;
}

form {
	display: flex;
	align-items: center;
	justify-content: center;
}
input[type='text'] {
	flex-grow: 1;
	padding: 10px;
	border-radius: 5px;
	border: none;
	background: rgb(255, 255, 255);
	outline: none;
	padding: 10px auto;
}

input[type='text']:focus {
	background: rgb(223, 223, 223);
}
