@import url('https://fonts.googleapis.com/css2?family=Parisienne&display=swap');

.text-gradient {
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent!important;
    background-image: linear-gradient(90deg,#32adde,#ec8fd1);
}

*, *::before, *::after{
    box-sizing: border-box;
    font-family: sans-serif;
    font-weight: normal;
    font-size: 10px;
}

body{
    padding:0;
    margin: 0;
    background: #3A4655;
}

h4{
    color: #fff;
    font-size: 50px;
    text-align: center;
    font-family: 'Parisienne', cursive;
    font-weight: bold;
    text-shadow: -2px -2px 10px #fc737c;
}

.layout {
    margin: auto;
    width: 350px;
    height: 540px;
    position: relative;
    background: #3A4655;
    border-radius: 20px;
    justify-content: center;
    box-shadow: 2px 2px 15px #ec8fd1;
}

.calculator{
    height: 500px;
    display: grid;
    justify-content: center;
    grid-template-columns: repeat(4, 70px);
    grid-template-rows: minmax(100px, auto) repeat(5, 70px);
}

.calculator > button{
    margin: 6px;
    color: #fff;
    font-size: 2rem;
    outline: none;
    cursor: pointer;
}

.span-two{
    grid-column: span 2;
    height: 90%;
    width: 95%;
    border-radius: 5em;
}

button {
    border-radius: 50%;
    border: none;
    background: linear-gradient(315deg, #32adde, #ec8fd1);
    box-shadow: 2px 2px 6px #fff;
}

button:active{
	background: linear-gradient(315deg, #ec8fd1, #32adde);
}

.output {
    grid-column: 1/ -1;
    box-shadow: inset -2px -2px 10px #32adde;
    display: flex;
    align-items: flex-end;
    justify-content: space-around;
    flex-direction: column;
    padding: 0px 20px;
    word-wrap: break-word;
    word-break: break-all;
    border-radius: 30px;
    margin: 35px 0 30px 0;
}

.output .previous {
	color: rgb(255, 255, 255, .7);
	font-size: 20px;
   margin-top:10px;
}

.output .current {
	color: #fff;
	font-size: 25px;
   margin: 5px 0;
}


footer{
	position: relative;
	margin: 20px 0;
	top: 10vh;
	height: 50px;
	width: 100%;
	text-align: center;
	color: #fff;
   font-size: 32px;
	font-weight: bold;
	text-shadow: 2px 2px 5px #fc737c;
	font-family: 'Parisienne', cursive;
}
a{
	color: #fff;
   font-size: 35px;
	font-weight: bold;
	text-decoration:none;
   font-family: 'Parisienne', cursive;
	text-shadow: 2px 2px 5px #fc737c;
}
