body {
	max-width: 50%;
	margin: auto;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	font-family: 'Roboto Mono', 'Courier New';
}

/* TEXT DISPLAY */

.presentation {
	width: 400px;
	margin: auto;
	padding: 2rem;
	text-align: center;
}



/* CALCULATOR */


.calculator {
	max-width: 400px;
	margin: auto;
	border: 2px solid #333;
	border-radius: 15px;
	padding: 1rem;
	background-color: #aaa;
	box-shadow: 10px 5px 5px #555;
}


/* CALCULATOR  SCREEN */

.calculator__screen {
	min-height: 5rem;
	text-align: right;
	border-radius: 15px;
	background-color: #eee;
	margin-bottom: .75rem;
}

.calculator__screen--last {
	height: 32px;
  	font-size: 16px;
	padding-top: 8px;
}

.calculator__screen--current {
	height: 40px;
  	font-size: 32px;
	padding-bottom: 8px;
}



/* CALCULATOR  BUTTONS */

.calculator__buttons {
	display: grid;
	grid-template-rows: repeat(4, 1fr) ;
	grid-template-columns: repeat(4, 1fr) ;
	gap: 1rem;
}

.btn {
	padding: 10px;
	font-size: 1rem;
	text-decoration: none;
	cursor: pointer;
	border-radius: 50%;
	background-color: #eee;
	box-shadow: 5px 2.5px 2.5px #555;
	transition: all .15s ease-in-out;
	user-select:none;
}

.btn:hover {
	transform: translateY(-0.15rem);
}


.btn:active {
	box-shadow: 7.5px 5px 5px #fc894d;
}

.btn.active {
	box-shadow: 7.5px 5px 5px #fc894d;
}  

.btn.operator {
	background-color: #BF980C;
}

.btn.all-clear, .btn.delete {
	background-color: #B46060
}

.number--zero {
	grid-row: 5;
	grid-column: 1;
	grid-column-end: span 2;
	border-radius: 15px;
}


/* CALCULATOR COPYRIGHT ICONS */

.calculator__copyright {
	text-align: center;
	padding: 1rem 0 0 0;
	gap: 2rem;
}

a {
	text-decoration: none;
    padding: 0px 2px;    
}

.fab {
    transition: transform 0.3s ease-in-out;
	color: #eee;
}



.fab:hover {
    transform: rotate(360deg)scale(1.2);
}



/* MEDIA QUERIES */

@media only screen and (max-width: 800px) {

	body {
		max-width: 100%;
	}

	.presentation {
		width: 50%;
		padding: 0;
	}


	.calculator {
		min-width: 200px;
		margin-bottom: 2rem;
	}
}