body {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    overflow: hidden;
    background: linear-gradient(#f4f4ed, white);
    font-weight: 400;
}

button {
    border-radius: 3px;
}

.container {
    width: 100%;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: auto;
}

.calculator {
    padding: 15px 20px;
    width: 350px;
    margin: auto;
    border-radius: 5px;
    background: #f2f2f2;
    box-shadow: 3px 3px 10px 7px rgba(0, 0, 0, 0.5);
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: 85px repeat(5, 55px);
    column-gap: 2px;
}

#user-input {
    box-sizing: border-box;
    /* width: 99.2%;
    height: 70px; */
    text-align: right;
    direction: ltr;
    outline: none;
    border: none;
    border-radius: 5px;
    padding-right: 7px;
    margin-bottom: 5px;
    background: whitesmoke;
    box-shadow: inset 1px 1px 3px 1px rgba(0, 0, 0, 0.5);
    grid-column: span 4;
}

.btn, .clear, .backspace {
    /*width: 24%;
    height: 45px;*/
    border: none;
    outline: none;
    border-radius: 3px;
    margin-top: 3px;
    background: #cbcbcb50;
}

.btnEqual {
    /* width: 99%;
    height: 45px; */
    border: none;
    outline: none;
    border-radius: 3px;
    margin-top: 3px;
    background: #cbcbcb50;
    grid-column: span 3;
}

.btn:hover, .btnEqual:hover {
    background: rgba(128, 128, 128, .1);
    scale: 1.019;
}
