@import url('https://fonts.googleapis.com/css?family=Poppins:300,400,500,600,700,800,900&display=swap');

*
{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Poppins, sans-serif;
}

body
{
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background-color: #091921;
}

body::before
{
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(#e91e63, #ffc107);
    clip-path: circle(22% at 30% 20%);   
    animation: animateWall 8s linear infinite;
}

body::after
{
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(#ffffff, #da00ff);
    clip-path: circle(20% at 70% 90%);
    animation: animateWall 8s linear infinite;
}

@keyframes animateWall
{
    0%
    {
        filter: hue-rotate(0deg);
    }
    100%
    {
        filter: hue-rotate(360deg);
    }
}

.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);
    box-shadow: 5px 5px 30px rgba(0,0,0,0.2);
}


.container .calculator
{
    position: relative;
    display: grid;
}

.container .calculator .value
{
    grid-column: span 4;
    height: 140px;
    width: 300px;
    text-align: right;
    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);
}

.container .calculator span
{
    display: grid;
    place-items: center;
    width: 75px;
    height: 75px;
    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;
}

.container .calculator span:hover
{
    transition: 0s;
    background: rgba(255, 255, 255, 0.05);
    box-shadow: 1px 1px 5px #34ff67;
}

.container .calculator span:active
{
    background-color: #74ff3b;
    color: #192f00;
    font-size: 24px;
    font-weight: 500;
}

/* --------- CLEAR AREA --------- */

.container .calculator .clear
{
    grid-column: span 2;
    width: 150px;
    background: rgba(255, 255, 255, 0.05);
    /* background: #ff3077; */
}

.container .calculator .clear:hover
{
    background: rgba(255, 48, 119, 0.3);
    box-shadow: 1px 1px 5px #ff4578;
}

.container .calculator .clear:active
{
    background: #ff3077;
    color: black;
}

.container .calculator .plus
{
    grid-row: span 2;
    height: 150px;
}

/* --------- EQUAL AREA --------- */

.equal
{
    background: rgba(255, 255, 255, 0.05);
    /* background: #03b1ff; */
}


.container .calculator .equal:hover
{
    background: rgb(3, 177, 255, 0.4);
    color: black
}

.container .calculator .equal:active
{
    background: #03b1ff;
    color: black;
}

.container .calculator .divi:hover
{
    box-shadow: #5555ff;
}

.divi
{
    width: 20px;
}
