*{
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

.chat-button{
	position: fixed;
  	bottom: 20px; /* Distance from the bottom edge */
  	right: 20px; 
  	width: 80px;
  	height: 80px;
  	cursor: pointer;
  	text-size: 20px;
  	font-weight: 500;
  	color: white;
  	background-color: blue;
  	border: none;
	border-radius: 30px;
}
.fa-paper-plane {
    color: white;
}

.chat-header{
	background-color: blue;
	display: flex;
	align-items: center; 
	gap: 30px;
	height: 10vh;
	width: 100%;
	overflow: hidden;
	 border: 1px solid black;
}

.minus-button{
	margin-right: 10px;
 	margin-top: 10px;
  	right: 8px;
	background-color: blue;
	color: white;
	border: none;
}
.minus-button:hover{
	background-color: darkblue;
	cursor: pointer;
	border-radius: 20px;
}
.trash-button{
	margin-left: auto;
	background-color: blue;
	color: white;
	border: none;

}
.trash-button:hover{
	cursor: pointer;
	background-color: darkblue;
}

.chat-view{
	display: none;	
	pointer-events: none;
	position: fixed;
	color: white;
}
.chat-view.active{
	display: flex;
	flex-direction: column;
	pointer-events: auto;
	overflow: hidden;
	position: fixed;
	background-color: whitesmoke;
	margin-bottom: 20px;
	margin-right: 20px;
	bottom: 0;
	right: 0;
	width: 400px;
	height: 65vh;
}
.chat-header p{
	margin-left: 20px;
	font-size: 30px;
}
.messages{
	display: flex;
	flex-direction: column;
	width: 100%;
	overflow-y: auto;
	height: 80vh;
	color: black;
	text-size: 20px;
	font-weight: 500;
	border: 1px solid black;
	background-color: whitesmoke;
}
.send-message{
	width: 100%;
	height: 15vh;
	border: 1px solid black;
}
.chat-textarea{
	width: 100%;
	height: 15vh;
	font-size: 20px;
	color: black;
	font-weight: 500;
}
.send-button{
	bottom: 15px;
	right: 15px;
	position: absolute;
	background-color: blue;
	border: none;
}
.send-button:hover{
	cursor: pointer;
	background-color: darkblue;
}
.chat-incoming {
	margin-right: 10px;
	margin-bottom: 20px;
	font-size: 20px;
	height: 30px;
	margin-top: auto; /* Pushes the item to the bottom */
 	margin-left: auto; /* Pushes the item to the right */
}
.chat-incoming:hover {
  background-color: #DCDCDC;
	cursor: pointer;
}
.chat-outgoing {
	margin-rleft: 10px;
	margin-bottom: 20px;
	font-size: 20px;
	height: 30px;
	margin-top: auto; /* Pushes the item to the bottom */
 	margin-right: auto; /* Pushes the item to the right */
}
.chat-outgoing:hover {
  background-color: #DCDCDC;
	cursor: pointer;
}

@media all and (max-width: 768px){
	.send-message{
		height: 20vh;
		bottom: : 0
	}
	.chat-textarea{
		height: 20vh;
		bottom: 0;
	}

	.chat-view.active{
		margin-bottom: 0px;
		margin-right: 0px;
		top:0;
		right: 0;
	  width: 100vw;
		height: 100dvh;
	}
	.chat-header p{
		margin-left: 20px;
		font-size: 30px;
		font-weight: 500;

	}
	
}