/* CALCULATOR */
button {
	display: block;
	background: none;
	border: none;
	padding: 0;
	font-family: inherit;
	user-select: none;
	cursor: pointer;
	outline: none;
	-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}
button:active {
	box-shadow: inset 0px 0px 80px 0px rgba(0, 0, 0, 0.25);
}
#wrapper {
	height: 100vh;
	display: flex;
	align-items: center;
	justify-content: center;
}
#app {
	width: 320px;
	height: 520px;
	position: relative;
}
.calculator {
	background: black;
	display: flex;
	flex-direction: column;
	box-shadow: 0 10px 20px rgba(0, 0, 0, 0.19), 0 6px 6px rgba(0, 0, 0, 0.23);
	z-index: 999999;
	top: 10%;
	left: 40%;
	position: fixed;
	top: 10%;
	left: 40%;
	font-family: 'Roboto';
}
#wrapper .calculator {
	box-shadow: 0px 0px 20px 0px #aaa;
}
.calculator-display {
	color: white;
	background: #1c191c;
	line-height: 100px;
	font-size: 6em;
	position: relative;
	flex: 1;
	height: 100px;
	margin-bottom: 100px;
}
.auto-scaling-text {
	display: inline-block;
}
.calculator-display .auto-scaling-text {
	padding: 0 30px;
	position: absolute;
	right: 0;
	transform-origin: right;
}
.calculator-keypad {
	height: 450px;
	display: flex;
}
.calculator .input-keys {
	width: 225px;
}
.calculator .function-keys {
	display: flex;
}
.calculator .digit-keys {
	background: #e0e0e7;
	display: flex;
	flex-direction: row;
	flex-wrap: wrap-reverse;
}
.calculator-key {
	width: 75px;
	height: 75px;
	border-top: 1px solid #777;
	border-right: 1px solid #666;
	text-align: center;
	line-height: 75px;
}
.calculator .function-keys .calculator-key {
	font-size: 2em;
}
.calculator .function-keys .key-multiply {
	line-height: 37.5px;
}
.calculator .digit-keys .calculator-key {
	font-size: 2.25em;
}
.calculator .digit-keys .key-0 {
	width: 150px;
	text-align: left;
	padding-left: 32px;
}
.calculator .digit-keys .key-fermer {
	width: 225px;
	text-align: left;
	padding-left: 32px;
}
.calculator .digit-keys .key-dot {
	padding-top: 1em;
	font-size: 0.75em;
}
.calculator .operator-keys .calculator-key {
	color: white;
	border-right: 0;
	font-size: 3em;
}
.calculator .function-keys {
	background: linear-gradient(to bottom, rgba(202, 202, 204, 1) 0%, rgba(196, 194, 204, 1) 100%);
}
.calculator .operator-keys {
	background: linear-gradient(to bottom, rgba(252, 156, 23, 1) 0%, rgba(247, 126, 27, 1) 100%);
}
/* END CALCULATOR */
