/* RESET CSS */

/* http://meyerweb.com/eric/tools/css/reset/ 
   v2.0 | 20110126
   License: none (public domain)
*/

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
	display: block;
}
body {
	line-height: 1;
}
ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}

a {
    text-decoration: none;
    color: #000000;
}

/* RESET CSS END */

body {
    display: flex;
	flex-direction: column;
	align-items: center;
	font-family: Roboto;
	height: 100%;
	box-sizing: border-box;
}

.mobile-container {
    width: 419px;
    height: 900px;
	background-color: #E5E5E5;
}

header, footer {
	min-width: 375px;
	max-width: 375px;
	height: 80px;
    display: flex;
	align-items: center;
    justify-content: space-between;
    padding-left: 22px;
	padding-right: 22px;
	background-color: #FFFFFF;
	box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.05);
}

header {
	position: fixed;
	top: 0;
	z-index: 1;
}

header img {
	width: 75px;
	height: 53px;
}

.header-icon {
    font-size: 42px;
}

.messages-container {
	width: 100%;
	height: 97%;
	overflow-y: scroll;
}

.message {
	overflow: hidden;
	font-size: 14px;
	margin-bottom: 4px;
}

.message:first-child {
	margin-top: 106px;
}

.message .message-time {
	color: #AAAAAA;
	margin-right: 5px;
}

.message .message-name {
	font-weight: 700;
	margin-right: 5px;
}

.message .message-to {
	margin-right: 5px;
}

.message .message-content {
	line-height: 15px;
	word-break: break-word;
}

.message-join-left, .public-message, .private-message {
	display: flex;
	padding: 12px 8px;
	background-color: #DCDCDC;
}

.public-message {
	background-color: #FFFFFF;
}

.private-message {
	background-color: #FFDEDE;
}



footer {
	width: 375px;
	position: fixed;
	bottom: 0;
	box-shadow: 0px -4px 6px rgba(0, 0, 0, 0.05);
}

footer input {
	width: 100%;
	height: 30px;
	font-size: 18px;
	border: none;
}



footer input::placeholder {
	color: #000000;
	font-size: 18px;
}

header button, footer button {
	background-color: transparent;
	border: none;
}

.send-icon {
	font-size: 26px;
}