*,*::before,*::after{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
html{
    font-size: 64.5%;
}
body{
    font-size: 1.6rem;
    position: relative;
    font-family: sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background: #091929;
}
::selection{
    background: white;
    color: black;
}
body::before,body::after{
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
body::before{
    background: linear-gradient(#e91e63,#ffc107);
    clip-path: circle(16% at 30% 20%);
}
body::after{
    background: linear-gradient(rgba(255, 255, 255, 0.4),rgba(218, 0, 255, 0.4));
    clip-path: circle(20% at 70% 90%);
}
.container{
    position: relative;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 6px;
    overflow: hidden;
    z-index: 10;
    backdrop-filter: blur(15px);
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    border-left: 1px solid rgba(255, 255, 255, 0.2);
}
.container .calculator{
    position: relative;     
    display: grid;
}
.calculator #display{
    grid-column: span 4;
    text-align: right;
    height: 160px;
    width: 320px;
    border: none;
    outline: none;
    padding: 10px;
    font-size: 30px;
    background: transparent;
    color: #fff;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    border-right: 1px solid rgba(255, 255, 255, 0.05);
}
.calculator span{
    display: grid;
    place-items: center;
    width: 80px;
    height: 80px;
    color: #fff;
    font-weight: 400;
    cursor: pointer;
    font-size: 20px;
    user-select: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    border-right: 1px solid rgba(255, 255, 255, 0.05);
    transition: 0.5s;
}
.calculator span:hover{
    transition: 0s;
    background: rgba(255, 255, 255, 0.05);
    font-size: 24px;
    font-weight: 500;
}
.calculator span.hover{
    transition: 0s;
    background: rgba(255, 255, 255, 0.05);
    font-size: 24px;
    font-weight: 500;
}
.container .calculator .doublespace{
  grid-column: span 2;
  width: 160px;
}
.calculator .equal{
    background: rgba(255, 255, 255, 0.05);
    transition: 0.5s;
}
.calculator .equal:hover{
    background: none;
}
.fa,img{
    pointer-events: none;
}