.noselect {
	-webkit-touch-callout: none; /* iOS Safari */
	  -webkit-user-select: none; /* Safari */
	   -khtml-user-select: none; /* Konqueror HTML */
		   -moz-user-select: none; /* Old versions of Firefox */
		    -ms-user-select: none; /* Internet Explorer/Edge */
			      user-select: none; /* Non-prefixed version, currently
									                supported by Chrome, Opera and Firefox */
}

body {
	margin: 0;
	font-family: sans-serif;
}

.app {
	margin: auto;
	max-width: 420px;
}

.header {
	text-align: center;
}

textarea {
	width: 100%;
	box-sizing: border-box;
}

.im {
	background: #222;
	width: 100%;
	height: 40%;
	position: fixed;
	left: 0;
	bottom: 0;
	display: flex;
	flex-direction: column;
	padding: 2px;
	box-sizing: border-box;
}

.key-holder {
	position: relative;
	flex-grow: 1;
	margin: 2px;
}

.key {
	position: absolute;
	border: 1px solid black;
	border-radius: 5px;
	background: #555;
	color: silver;
	width: 100%;
	height: 100%;
	display: flex;
	justify-content: center;
	align-items: center;
	box-sizing: border-box;
	cursor: pointer;
	/* padding-top: 1em; */
}

/* .key::before {
	content: attr(data-extra);
	position: absolute;
	top: 5px;
	color: #777;
} */

.key > * {
	pointer-events: none;
}

.key:active {
	background: #777;
	height: 200%;
	bottom: 0;
	padding-bottom: 40%;
}

.key.active, .key.uppercase-active {
	background: #558;
}

.numbers-row {
	display: flex;
	flex-grow: 1;
}

.main-row {
	display: flex;
	flex-direction: column;
	flex-grow: 3;
}

.keys-row {
	display: flex;
	flex-grow: 1;
}

.horizontal-line {
	width: 16px;
	height: 1.5px;
	background: silver;
}

.vertical-line {
	width: 1.5px;
	height: 16px;
	background: silver;
}

.circle {
	height: 16px;
	width: 16px;
	border: 1.5px solid silver;
	border-radius: 50%;
}
