
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

* {
	box-sizing: border-box;
    font-family: 'Poppins', sans-serif;

}
.iframemath {
	border: 0; 
  	height: 100vh; 
  	left: 0;
  	position: absolute; 
  	top: 0;
  	width: 100%; 
  	bottom: 0;
  	z-index: 10;
	display: none;
}
.whitebg {
	background-color: white;
	position: fixed;
	width: 100%;
	height: 100vh;
	z-index: 50;
}
.app {
	margin-top: 0;
	display: flex;
	justify-content: center;
	position: fixed;
	height: 100vh;
	align-items: center;
	width: 100%;
}

.calculator {
	background-color: #fff;
	width: 100%;
	max-width: 600px;
	height: 90vh;
	display: flex;
	flex-direction: column;
	overflow: hidden;
}

.display {
	min-height: 200px;
	padding: 1.5rem;
	display: flex;
	justify-content: flex-end;
	align-items: flex-end;
	color: rgb(0, 0, 0);
	text-align: right;
	flex: 1 1 0%;
}

.display .content {
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	width: 100%;
	max-width: 100%;
	overflow: auto;
}

.display .input {
	width: 100%;
	font-size: 2.25rem;
	margin-bottom: 0.5rem;
}

.display .output {
	font-size: 4rem;
	font-weight: 700;
	width: 100%;
	white-space: nowrap;
}

.display .operator {
	color: #EB6666;
}

.display .brackets,
.display .percent {
	color: #26FED7;
}

.keys {
	background-color: #ffffff;
	padding: 15px;
	display: grid;
	grid-template-columns: repeat(7, 1fr);
	grid-template-rows: repeat(3, 1fr);
	grid-gap: 1rem;
}

.keys .key {
	position: relative;
	cursor: pointer;
	display: block;
	height: 0;
	padding-top: 100%;
	background-color: #dfdfdf;
	border-radius: 10px;
	transition: 0.2s;
	user-select: none;
	box-shadow: 0 4px 8px 0 rgba(243, 243, 243, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
	filter: drop-shadow(1px 1px 2px rgba(0, 0, 0, 0.075));
}

.keys .key span {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);

	font-size: 1.5rem;
	font-weight: 500;
	color: rgb(0, 0, 0);
	filter: drop-shadow(2px 2px 5px rgb(0 0 0 / 0.4));
}

.keys .key:hover {
	box-shadow: inset 0px 0px 8px rgba(0, 0, 0, 0.2);
}

.keys .key.operator span {
	color: #ad5a5a;
}

.keys .key.action span {
	color: #007da3;
}