*{
    margin: 0;
padding: 0;
box-sizing: border-box;
font-family:consolas ;
}
body{
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background-color:#333 ;
}
.container{
    position: relative;
    min-width: 300px;
    min-height: 400px;
    background-color:#333 ;
    padding: 40px 30px 30px;
    border-radius: 20px;
    box-shadow: 25px 25px 75px rgb(0,0,0.25),10px 10px 70px rgb(0,0,0.25);
    inset: -5px 5px 15px rgb(0,0,0.25) ;
    inset: 5px 5px 15px rgb(0,0,0.5) ;
}
.calculator{
    position: relative;
    display: grid;
}
.value{
position: relative;
grid-column: span 4;
height: 100px;
width: 100%;
border: none;
outline: none;
background:#a7af7c;
margin-bottom: 10px;
border-radius: 10px; 
box-shadow: 0 0 0 2px rgb(0,0,0.75);
text-align:left;
padding: 10px;
font-size: 2em;
}
.calculator span{
    color:rgb(255, 255, 255) ;
    position: relative;
    display: grid;
    place-items: center;
    width: 80px;
    height: 80px;
    margin: 8px;
    box-shadow: inset -8px 8px rgb(0,0,0.15),
    inset -8px 8px rgb(0,0,0.25),
    0 0 0 2 px rgb(0,0,0.75),
    10px 20px 25px rgb(0,0,0.4);
    color: white;
    user-select: none;
    cursor: pointer;
    font-weight:400 ;
    border-radius: 10px;
}

.calculator span::before{
    content:"" ;
    position:absolute;
    top: 3px;
    left: 4px;
    bottom: 14px;
    right: 12px;
    background: linear-gradient(90deg,#2d2d2d,#4d4d4d);
    border-radius: 10px;
    box-shadow: -5px -5px 15px  rgb(0,0,0.1),-5px -5px 15px  rgb(0,0,15);
    border-left: 1px solid #0004;
    border-top: 1px solid #0009;
}
.calculator span i{ position: relative;
    font-style: normal;
    font-size: 1.5em;
   

}

span:hover{
    transform: scale(1.1);
}

span.clear{grid-column: span 2;
    width: 100%;

}


