* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: consolas;
    
}
  
  body {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background: #aa6dca; 
}
  
  .container {
    position: relative;
    min-width: 200px;
    min-height: 300px;
    background: #8143c4;
    padding: 40px 30px 30px;
    border-radius: 20px;
    box-shadow: 25px 25px 75px rgba(0, 0, 0, 0.25),
    10px 10px 70px rgba(0, 0, 0, 0.25), inset -5px -5px 15px rgba(0, 0, 0, 0.5),
    inset 5px 5px 15px rgba(0, 0, 0, 0.5);
}
  
  .calculator {
    position: relative;
    display: grid;
}
  
  .calculator .value {
    position: relative;
    grid-column: span 4;
    height: 100px;
    left: 10px;
    width: calc(100% - 20px);
    border: none;
    outline: none;
    background: #fff;
    margin-bottom: 10px;
    border-radius: 10px;
    box-shadow: 0px 0px 2px #aa6dca ; 
    text-align: right;
    padding: 10px;
    font-size: 2em;
}
  
  .calculator span {
    position: relative;
    display: grid;
    place-items: center;
    width: 80px;
    height: 80px;
    margin: 8px;
    background: #a370be; 
    box-shadow: inset -8px 0 8px rgba(0, 0, 0, 0.15),
      inset 0 -8px 8px rgba(0, 0, 0, 0.25), 0 0 0 2px rgba(0, 0, 0, 0.75),
      10px 20px 25px rgba(0, 0, 0, 0.4);
    color: #fff;
    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: #aa6dca; 
    border-radius: 10px;   
    
}
  
  .calculator span:active {
    filter: brightness(1.5);
}
  
  .calculator span i {
    position: relative;
    font-style: normal;
    font-size: 1.5em;
    text-transform: uppercase;
}
  
  .calculator .clear {
    grid-column: span 2;
    width: 180px;
    background: #8143c4;
    border-left: 1px solid #480070;
    border-bottom: 1px solid #480070;
    border-top: 1px solid #480070;
}
  
  .calculator .plus {
    grid-row: span 2;
    height: 180px;
}
  
  .calculator .equal {
    background: #8143c4;
}
  
  .calculator .equal,
  .calculator .equal::before {
    background: #8143c4; 
    border-left: 1px solid #480070;
    border-bottom: 1px solid #480070;
    border-top: 1px solid #480070;
}
