* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    width: 100vw;
    height: 100vh;
    display: grid;
    justify-content: center;
    align-items: center;
    background-color: #B9B9B9;

}

.calculator-container {
    display: grid;
    grid-template-columns: repeat(4, 6rem);
    grid-template-rows: minmax(3rem, auto) repeat(6, 5rem);
    gap: 0.2rem;
    color: white;
}

.output-screen {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    background: #28161C;
    grid-column: 1 / 5;
    grid-row: 1/ 3;
    justify-content: flex-end;
    align-items: flex-end;
    padding: 1rem 0.8rem;
    word-wrap:break-word;
    word-break: break-all;
}

.previous {
    grid-column: 1 / 5;
    font-size: 1.5rem;
    color: #eeeeee9b;
}

.current {
    grid-column: 1 / 5;
    font-size: 2.2rem;
}

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

button {
    font-size: 1.5rem;
    cursor: pointer;
    background-color: rgb(0, 170, 169);
    border: none;
    outline: none;
}

button:hover {
    background-color: rgba(0, 170, 169,0.2) ;
}
