/*! Generated by Font Squirrel (https://www.fontsquirrel.com) on July 24, 2022 */


@font-face {
    font-family: 'quicksandlight';
    src: url('../webfonts/quicksand_light-webfont.woff2') format('woff2'),
         url('../webfonts/quicksand_light-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;

}

/* main */

*{
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    font-family: "quicksandlight";
}

body{
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
}

.container{
    position: relative;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 6px;
    overflow: hidden;
    z-index: 1;
    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, .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: white;
    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;
    height: 75px;
    width: 75px;
    color: white;
    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: .5s;
}

.container .calculator span:hover{
    transition: 0s;
    background: rgba(255, 255, 255, 0.05);
}


.container .calculator span:active{
    transition: 0s;
    background: rgba(255, 255, 255, 0.175);
    color: #192f00;
    font-size: 24px;
    font-weight: 500;
}

.container .calculator .clear{
    grid-column: span 2;
    width: 150px;
    background: rgba(255, 255, 255, 0.01);
}

.container .calculator .plus{
    grid-row: span 2;
    height: 150px;
}