@import url('https://fonts.googleapis.com/css2?family=Jura:wght@500&display=swap');

*, *::before,::after{
    box-sizing: border-box;
    font-family: 'Jura', sans-serif;
    font-weight: normal;
}

body{
    padding: 0;
    margin: 0;
    background: linear-gradient(to right, rgb(255, 110, 110),rgb(50, 50, 245));
}

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

.calculator-grid > button {
    cursor: pointer;
    color: white;
    font-size: 2rem;
    font-weight: bold;
    border: 1px solid rgba(255, 255, 255, 0.15);
    outline: none;
    background-color: rgb(0, 0, 0, .25);
}

.calculator-grid > button:hover{
    background-color: rgba(0, 0, 0, 0.15);
}
.span-two{
    grid-column: span 2;
}

.output {
    grid-column: 1/-1;
    background-color: rgba(255, 255, 255, 0.25);
    display: flex;
    align-items: flex-end;
    justify-content: space-around;
    flex-direction: column;
    padding: 15px;
    word-wrap: break-word;
    word-break: break-all;
}

.output .previous-operand {
    color: rgba(0, 0, 0);
    font-size: 1.5rem;
    font-weight: bolder;
}
.output .current-operand {
    color: rgba(0, 0, 0);
    font-size: 2.5rem;
    font-weight: bolder;
}
