body {
	display: flex;
	flex-direction: column;
	align-items: center;
	font-family: Menlo, Monaco, Lucida Console, Liberation Mono,
		DejaVu Sans Mono, Bitstream Vera Sans Mono, Courier New,
		monospace;
	background-color: rgb(244, 244, 103);
}

.header {
	font-weight: 800;
	font-size: xx-large;
}

.main {
	display: flex;
	flex-direction: column;
	align-items: center;
}

.calculator {
	display: flex;
	flex-direction: column;
	align-items: center;
	width: 400px;
	padding: 20px;
	border: 1px black solid;
	background-color: rgb(69, 66, 66);
	border-radius: 15px;
}

#display {
	display: flex;
	flex-direction: column;
	width: 95%;
	box-shadow: inset 2px 3px 5px 0px rgba(0, 0, 0, 0.7);
	text-align: right;
	padding: 10px;
	background-color: aliceblue;
	margin-bottom: 10px;
	font-size: 40px;
	font-weight: bold;
	overflow: hidden;
	white-space: nowrap;
	border-radius: 10px;
}

#all-buttons {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	margin: 0 -10px; /* Added negative margin to compensate for the padding on .calculator */
}

.keys {
	margin: 10px;
	padding: 20px;
	width: 80px;
	text-align: center;
	font-size: 20px;
	font-weight: bold;
	border-radius: 5px;
}

button[disabled],
button {
	color: black;
	cursor: pointer;
	border: none;
	background-color: white;
	flex-grow: 2;
}

button:active {
	background: rgb(69, 66, 66);
	-webkit-box-shadow: inset 0px 0px 5px #c1c1c1;
	-moz-box-shadow: inset 0px 0px 5px #c1c1c1;
	box-shadow: inset 0px 0px 5px #c1c1c1;
	outline: none;
}

.function {
	background-color: rgb(242, 129, 129);
}

.operators {
	background-color: aqua;
}

.equals {
	background-color: bisque;
}

footer {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	width: 100%;
	font-size: 20px;
}

.fab {
	font-weight: 400;
	font-family: "Font Awesome 5 Brands";
}

.fa-github {
	font-size: 25px;
	transition: transform 0.3s ease-in-out;
	color: #333333;
}

.fa-github:hover {
	transform: rotate(360deg) scale(1.2);
}
