* {
  box-sizing: border-box;
}

html {
	height: 100%;

}

body {
  font-family: 'Roboto', 'Oxygen',
    'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', Arial, Helvetica,
    sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
	background-color: rgba(223, 242, 247, .5);
	height: 100%;
	margin: 0;
}

h1 {
    text-align: center;
    font-size: 36px;
    margin-bottom: 20px;
}

span {
	padding-right: 15px;
	padding-left: 15px;
}

#botspan {
	padding-right: 35px;
}

.container {
	display: flex;
	justify-content: center;
	align-items: center;
	width: 100%;
	height: 100%;
}

.chat {
	height: 80%;
	width: 60vw;
	display: flex;
	flex-direction: column;
    justify-content: center;
	align-items: center;
	margin: 0 50px 0 20px;
}

::-webkit-input-placeholder {
	color: .711
}

input {
	border: 0;
	padding: 15px;
	margin-left: auto;
	border-radius: 10px;
	width: 80%;
	height: auto;
	max-height: 100px;
	overflow: hidden;
	resize: none;
}

.messages {
	display: flex;
	flex-direction: column;
	overflow: scroll;
	height: 90%;
	width: 100%;
	background-color: white;
	padding: 15px;
	margin: 10px;
	border-radius: 15px;
}

#bot {
	margin-left: auto;
}

.bot {
	font-family: Consolas, 'Courier New', Menlo, source-code-pro, Monaco,
	monospace;
	position: relative;
}

.avatar {
	height: 25px;
}

.bot-avatar {
	position: absolute; /* Position absolute to botDiv */
    top: 0;
    right: 0;
    height: 25px;
	margin-left: 10px;
}

.response {
	display: flex;
	align-items: center;
	margin: 1%;
}


/* Mobile */

@media only screen and (max-width: 980px) {
  .container {
		flex-direction: column;
		justify-content: flex-start;
	}
	.chat {
		width: 75vw;
		margin: 10vw;
	}
}