@import url("https://fonts.googleapis.com/css?family=Lato");

* {
	box-sizing: border-box;
}

body {
	background: url("logo-demoniax-300-small.png");
	background-size: contain;
	background-position: center center;
	background-color: black;
	background-repeat: no-repeat;

	display: flex;
	align-items: center;
	justify-content: center;
	flex-direction: column;

	min-height: 100vh;
	font-family: "Lato", sans-serif;
	margin: 0 0 50px;
}
.content {
	text-align: center;
}
h2 {
	text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.85);
	color: #fff;
	letter-spacing: 1px;
	text-transform: uppercase;
	text-align: center;
}

.chat-container {
	background-color: rgba(0, 0, 0, 0);
	border-radius: 25px;
	box-shadow: 0px 0px 10px 5px rgba(0, 0, 0, 0.7);
	overflow: hidden;
	padding: 15px;
	position: relative;
	width: 820px;
	max-width: 100%;
}

.chat {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: flex-start;
	list-style-type: none;
	padding: 0;
	margin: 0;
}

.message {
	background-color: rgba(255, 255, 255, 0.9);
	border-radius: 50px;
	box-shadow: 0px 15px 5px 0px rgba(0, 0, 0, 0.5);
	position: relative;
	margin-bottom: 30px;
}

.message.left {
	padding: 15px 20px 15px 70px;
	text-align: left;
}

.message.right {
	align-self: flex-end;
	padding: 15px 70px 15px 20px;
	text-align: right;
}

.logo {
	border-radius: 50%;
	box-shadow: 0px 10px 10px 0px rgba(0, 0, 0, 0.7);
	object-fit: cover;
	position: absolute;
	left: 10px;
	top: -10px;
	width: 50px;
	height: 50px;
}

.message.right .logo {
	left: auto;
	right: 10px;
}

.message p {
	margin: 0;
}

.chatbox {
	font-size: 16px;
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	padding: 10px 15px;
	width: 100%;
}

.btn-send {
	font-size: 20px;
	padding: 15px;
	font-weight: 300;
}
.btn-clear {
	padding: 15px 25px;
	font-size: 20px;
	font-weight: 300;
}
.logout {
	float: right;
	color: #fff;
	text-decoration: none;
	font-size: 15px;
}

.signature {
	animation: swing 0.97s linear infinite;
	float: right;
	font-size: 13px;
	height: 5%;
	margin-top: 15px;
}
.signature span {
	padding: 3px;
}
.signature1 {
	background: black;
	color: cyan;
}
.signature2 {
	background: #fff;
	color: red;
}
@-webkit-keyframes swing {
	0%,
	100% {
		transform: rotate(5deg);
	}
	50% {
		transform: rotate(-5deg);
	}
}
footer {
	background-color: #222;
	color: #fff;
	font-size: 14px;
	bottom: 0;
	position: fixed;
	left: 0;
	right: 0;
	text-align: center;
	z-index: 999;
}

footer p {
	margin: 10px 0;
}

footer i {
	color: red;
}

footer a {
	color: #3c97bf;
	text-decoration: none;
}
