/* style.css */
:root {
	touch-action: pan-x pan-y;
	height: 100% 
}

.keyboard_input_container {
	display: flex;

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

	width: 100%; 
	height: calc(100vh - 265px);
	background-color: rgb(255, 255, 255); 

	position: absolute;

	box-shadow: inset 1px 1px 10px 5px rgba(0, 0, 0, 0.5);
}

.keyboard {
	/* overflow: hidden; */
	position: absolute;
	left: 0;
	bottom: 0;
	width: 100%;
	padding: 5px 0;
	background: #006cd8;
	box-shadow: 0 0 20px rgb(0 0 0 / 0.5);

	max-height: 265px;

	overflow: hidden;

	-webkit-user-select: none;
	-khtml-user-select: none;
	-moz-user-select: none;
	-o-user-select: none;
	-ms-user-select: none;
	user-select: none;

	-webkit-user-drag: none;
	-khtml-user-drag: none;
	-moz-user-drag: none;
	-o-user-drag: none;
	-ms-user-drag: none;
}

.keyboard--hidden {
	opacity: 0;
	visibility: hidden;
	z-index: -1;
}

.keyboard__keys {
	text-align: center;
}

.keyboard__key {
	height: 50px;
	width: 25%;
	max-width: 10rem;
	margin: 4px;
	border-radius: 4px;
	border: none;
	background: rgba(255, 255, 255, 0.2);
	color: white;
	font-size: 1.35rem;
	outline: none;
	cursor: pointer;
	display: inline-flex;
	justify-content: center;
	align-items: center;
	vertical-align: top;
	padding: 0;
	-webkit-tap-highlight-color: transparent;
	position: relative;
}

.keyboard__key:active {
	background: rgba(255, 255, 255, 0.12);
}

.keyboard__key--wide {
	width: 12%;
}

.keyboard__key--extra--wide {
	width: 36%;
	max-width: 500px;
}

.keyboard__key--activatable::after {
	content: "";
	position: absolute;
	top: 10px;
	right: 10px;
	width: 8px;
	height: 8px;
	background: rgba(0, 0, 0, 0.4);
	border-radius: 50%;
}

.keyboard__key--active::after {
	background: #08ff00;
}

.keyboard__key--dark {
	background: rgba(0, 0, 0, 0.25);
}

#keyboard_input {
	border: 1px solid #006cd8;
}

#keyboard_message {
	text-align: left;
	width: 18%;
}

#keyboard_clear_btn {
	position: absolute;
	background: white;
	top: -10px;
	right: -40px;
	height: 30px;
	border-radius: 30%;

	border: 1px solid #9f9f9f;
	outline: 1px solid #9f9f9f;

	width: 30px;
	display: flex;
	padding: .3rem;
	justify-content: center;
	align-items: center;
	font-family: monospace;
	font-size: 16px;
}

.keyboard__input--error {
	border: 2px solid #ff2828 !important;
}

.keyboard__message--error {
	color: #ff2828;
}
