*, *::before, *::after{
    box-sizing: border-box;
    font-weight: normal;
}

body{
    padding: 0;
    margin: 0;
    background: linear-gradient(to right, rgb(81, 193, 245), rgb(10, 243, 185));
}

.calculator-grid{
    display: grid;
    align-content: center;
    justify-content: center;
    /* min-height: 100vh; */
    padding-top: 20px;
    padding-bottom: 20px;
    grid-template-columns: repeat(4,100px);
    grid-template-rows:  minmax(120px,auto) repeat(5,100px);
}

.calculator-grid > button{
    cursor: pointer;
    font-size: 2rem;
    outline: none;
    border: 1px solid white;
    background: rgba(255,255,255,.75);
}


.calculator-grid > button:hover{
    background: rgba(255,255,255,.9);
}

.span-two{
    grid-column: span 2;
}

.output{
    grid-column: 1 / -1;
    height: 150px;
    background: rgba(0,0,0,.75);
    display: flex;
    align-items: flex-end;
    justify-content: space-around;
    flex-direction: column;
    color: white;
    padding: 10px;
    word-wrap: break-word;
    word-break: break-all;
}

.output .previous-operand{
    color: rgba(255,255,255,.75);
    font-size: 1.5rem;
}

.output .current-operand{
    color: white;
    font-size: 2.5rem;
}


#ac{
    background: rgba(224, 64, 64,.75);
    grid-column: span 2;
    color: white;

}

#ac:hover{
    background: rgba(224, 64, 64,.90);
}

#equals{
    background: rgba(135, 230, 73,.75);
    color: white;
}

#equals:hover{
    background: rgba(135, 230, 73,.90);
}


.git-link{
    display: flex;
    width: 100vw;
    justify-content: center;
    /* padding-bottom: 30px; */
}
.git-link a{
    padding-top: 15px;
    font-size: 30px;
    color: white;
    text-decoration: none;
    text-align: center;
    width: 200px;
    border-radius: 5px;
    height: 65px;
    background: rgb(124, 121, 121);
    padding: 15px;
    transition: all 0.4s;
}

.git-link a:hover{
    background: rgb(51, 51, 51);
}