/* Global */
:root {
	--black: #2e353f;
	--light-grey: #d6d6d6;
	--highlight: rgb(247, 247, 9);
}

body {
	background: var(--black);
	color: var(--light-grey);
	font-family: "Roboto Mono", monospace;
	height: 100vh;
	display: flex;
	padding: 0;
	margin: 0;
}

div {
	box-sizing: border-box;
}
input,
textarea,
select {
	font-family: inherit;
	font-size: small;
}
textarea:focus,
input:focus {
	outline: none;
}

.full-width {
	width: 100%;
}
.green {
	color: green;
}
.red {
	color: red;
}
.yellow {
	color: yellow;
}
.center-x {
	margin: 0 auto;
}
.center-text {
	width: 100%;
	text-align: center;
}

h1,
h2,
h3 {
	font-family: "Montserrat", sans-serif;
}
h1 {
	font-size: medium;
}
h2 {
	font-size: small;
	font-weight: 300;
}
h3 {
	font-size: x-small;
	font-weight: 300;
}
p {
	font-size: x-small;
}

.clearfix:after {
	visibility: hidden;
	display: block;
	height: 0;
	clear: both;
}

#vue-instance {
	display: flex;
	flex-direction: row;
	flex: 1 0 100%;
	overflow-x: hidden;
}

/** Chat Window **/
.chat-container {
	flex: 0 0 60%;
	word-wrap: break-word;
	overflow-x: hidden;
	overflow-y: scroll;
	padding: 6px;
	margin-bottom: 50px;
}

.message > p {
	font-size: small;
}
.title-header > p {
	font-family: "Montserrat", sans-serif;
	font-weight: 300;
}

/* Info Panel */
.info-container {
	flex: 0 0 40%;
	border-left: solid 1px var(--light-grey);
	padding: 12px;
	overflow-x: hidden;
	overflow-y: scroll;
	margin-bottom: 50px;
	position: relative;
	justify-content: space-around;
	display: flex;
	flex-direction: column;
}

.divider {
	padding-top: 1px;
	max-height: 0px;
	min-width: 200%;
	background: var(--light-grey);
	margin: 12px -12px;
	flex: 1 0;
}

.notification-list {
	display: flex;
	flex-direction: column;
	overflow: scroll;
	padding-bottom: 24px;
	flex: 1 0 40%;
}

.notification {
	font-family: "Montserrat", sans-serif;
	font-weight: 300;
	font-size: small;
	padding: 4px 0;
	display: inline-flex;
}

.notification-timestamp {
	flex: 0 0 20%;
	padding-right: 12px;
}

.notification-message {
	flex: 0 0 80%;
}
.notification:last-child {
	margin-bottom: 24px;
}

.keys {
	display: block;
	font-size: xx-small;
	overflow-x: hidden;
	overflow-y: scroll;
}

.keys > .divider {
	width: 75%;
	min-width: 0;
	margin: 16px auto;
}

.key {
	overflow: scroll;
}

.room-select {
	display: flex;
	min-height: 24px;
	font-family: "Montserrat", sans-serif;
	font-weight: 300;
}

#room-input {
	flex: 0 0 60%;
	background: none;
	border: none;
	border-bottom: 1px solid var(--light-grey);
	border-top: 1px solid var(--light-grey);
	border-left: 1px solid var(--light-grey);
	color: var(--light-grey);
	padding: 4px;
}

.yellow-button {
	flex: 0 0 30%;
	background: none;
	border: 1px solid var(--highlight);
	color: var(--highlight);
	cursor: pointer;
}

.yellow-button:hover {
	background: var(--highlight);
	color: var(--black);
}

.yellow > a {
	color: var(--highlight);
}

.loader {
	border: 4px solid black;
	border-top: 4px solid var(--highlight);
	border-radius: 50%;
	width: 48px;
	height: 48px;
	animation: spin 2s linear infinite;
}

@keyframes spin {
	0% {
		transform: rotate(0deg);
	}
	100% {
		transform: rotate(360deg);
	}
}

/* Message Input Bar */
.message-input {
	background: none;
	border: none;
	color: var(--light-grey);
	width: 90%;
}

.bottom-bar {
	border-top: solid 1px var(--light-grey);
	background: var(--black);
	position: fixed;
	bottom: 0;
	left: 0;
	padding: 12px;
	height: 48px;
}

.message-list {
	margin-bottom: 40px;
}
