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

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

span {
    cursor: pointer;
    font-size: 25px;
}

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

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%);
}

body::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(#0749ff,#f700ff);
    clip-path: circle(15% at 68% 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);
    box-shadow: 5px 5px 30px rgba(0,0,0,0.2);
}

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

.calculator .value {
    grid-column: span 4;
    border: none;
    height: 100px;
    width: 300px;
    text-align: right;
    cursor: default;
    user-select: text;
    outline: none;
    padding: 10px;
    font-size: 30px;
    background: transparent;
    color: white;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    border-right: 1px solid rgba(255,255,255,0.05);
}

.calculator span {
    user-select: none;
    display: grid;
    width: 75px;
    height: 75px;
    color: white;
    font-weight: 400;
    place-items: center;
    border: 1px solid rgba(0,0,0,0.1);
    font-size: 20px;
    transition: 0.5s;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    border-right: 1px solid rgba(255,255,255,0.05);
}

.calculator span:hover {
    background: rgba(255,255,255,0.05);
    /* background: #113747; */
    cursor: pointer;
    transition: 0s;
}

.calculator span:active {
    background: #f700ff;
    color: #111;
    font-size: 24px;
    font-weight: 500;
}

.calculator span.clear {
    grid-column: span 2;
    width: 150px;
    color: white;
    background: rgba(255,255,255,0.05);
}

.calculator span.clear:hover {
    color: black;
}

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

.calculator span.equal {
    background: rgba(255,255,255,0.05);
    /* grid-column: span 2; */
    /* width: ; */
}

.calculator span.equal:hover {
    color: black;
}

.calculator span.equal:active {
    background: black;
    color: white;
}

.calculator span.minus_3 {
    background: #091921;
    color: white;
}

.calculator span.minus_3:hover {
    background: #f700ff;
    color: white;
}

.calculator span.minus_3:active {
    color: black;
    background: #a316a8;
}

.calculator span.alc_numb {
    width: auto;
}
