:root{
    --orange: #eb8d0b;
    --ash: #505050;
    --black: #1c1c1c;
    --white: #d4d4d2;
}
*{
    margin: 0%;
    padding: 0%;
}
.outer{
    height: auto;
    width: 100vw;
    overflow-x: hidden;
    display: flex;
    flex-direction: row;
}
.section1{
    height: 100vh;
    width: 30em;
    margin: 0em 5em 0em 5em;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.section1 .heading{
    font-size: 3em;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    color: var(--orange);
}
.section1 .info{
    display: flex;
    align-self:flex-end;
    margin-right: 8em;
    padding: 0.4em 1em 0.4em 1em;
    background-color: var(--black);
    border: 0.2em solid var(--black);
    border-radius: 50px;
}
.section1 .info .infoContent{
    font-weight: 600;
    font-size: 1em;
    text-decoration: none;
    color: var(--white);
}
.outCal{
    height: 100vh;
    width: 50em;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0%;
    background-color: #ffffff;
    background-image: linear-gradient(315deg, var(--orange) 0%, #fff 32%);
}
#calculator{
    height: 27em;
    width: 22em;
    border: 0.3em solid var(--black);
    box-shadow: 0 3px 8px 0 var(--ash);
    background-color: #ffffff;
}
#result{
    height: 7em;
    border-bottom: 0.1em solid var(--ash);
    box-shadow: 0em 0.01em 0em 0.1em var(--ash);
}
#history{
	text-align: right;
	height: 3em;
	margin: 0 20px;
	padding-top: 0.4em;
	font-size: 1em;
	color: var(--ash);
}
#output{
	text-align: right;
	height: 3em;
	margin: 10px 20px;
	font-size: 1.5em;
}
#keyboard{
	height: 10em;
    padding: 0em 3em 0em 3em;
}
.operator, .number, .empty{
	width: 2em;
	height: 2em;
	margin: 0.3em;
	float: left;
	border-width: 0;
	font-weight: 500;
	font-size: 1.4em;
    background-color: transparent;
}
.operator{
    color: var(--orange);
}
.number:hover, .empty:hover{
    background-color: var(--white);
}
.number, .operator{
	cursor: pointer;
}
.operator:active, .number:active{
	font-size: 1.4em;
}
.operator:focus, .number:focus, .empty:focus{
	outline: 0;
}
#equal{
    color: #ffffff;
    background-color: var(--orange);
    border-radius: 50%;
}

@media screen and (max-width: 720px) {
    .outer{
        flex-direction: column;
    }
    .section1{
        height: auto;
        width: auto;
        margin: 3em 1em 3em 1em;
    }
    .outCal{
        height: 70vh;
        width: auto;
    }
}