@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

*, *::before, *::after {
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
    font-weight: normal;
}

body {
    padding: 0;
    margin: 0;
    /* background: linear-gradient(to right, #00AAFF, #00FF6C); */
    background: linear-gradient( to right, #F97794 10%, #623AA2 100%);
}

.calculator-grid {
    display: grid;
    justify-content: center;
    /* align-items: center; */
    min-height: 63vh;
    grid-template-columns: repeat(4, 79px);
    grid-template-rows: minmax(110px, auto) repeat(5, 64px);
}

.calculator-grid > button {
    cursor: pointer;
    font-size: 2rem;
    border: 1px solid #ffffff4f;;
    outline: none;
    background-color: rgba(255, 255, 255, 32%);
}

.calculator-grid > button:hover {
    background-color: rgba(255, 255, 255, .9);
}

.span-two {
    grid-column: span 2;
}

.output {
    grid-column: 1 / -1;
    background-color: rgb(255 254 114 / 30%);
    display: flex;
    align-items: flex-end;
    justify-content: space-around;
    flex-direction: column;
    padding: 10px;
    word-wrap: break-word;
    word-break: break-all;
  }

.ouput .previous-operand {
    color: rgba(255, 255, 255, .75);
    font-size: 1.5rem;
}

.ouput .current-operand {
    color: white;
    font-size: 2.5rem;
}

