@font-face {
    font-family: digital;
    src: url(fonts/Digital7Mono-B1g5.ttf);
}

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

body {    
    display: flex;
    flex-direction: column;
    justify-content: space-between;

    min-height: 100vh;

    background-image: url(images/GraphPaper.webp);
}

body, button {
    font-family: 'Orbitron', sans-serif;
    letter-spacing: 0.3em;
}

header, footer {
    background-color: #ff000061;
}

header {
    text-align: center;
    padding: 10px;
}

footer {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;

    padding: 2px;
    padding-top: 6px;
}

.calculator-housing {
    align-self: center;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 20px;

    width: 350px;
    height: 500px;
    padding: 10px;

    background-color: rgb(161 161 167 / 65%);
    border: 3px solid black;
    border-radius: 10px;
}
    .calculator-display {
        display: flex;
        flex-direction: column;
        align-items: flex-end;
        justify-content: center;
        gap: 20%;

        width: 90%;
        height: 20%;
        padding: 20px;

        font-size: 40px;
        border: 2px solid black;
        background-color: #efefef;
        font-family: digital;
        letter-spacing: 0;
    }

    .calculator-housing button {
        border: 2px solid black;
        border-radius: 5px;
    }
    .calculator-housing button:hover {
        opacity: 0.8;
    }
    .calculator-housing button:active {
        transform: translateY(1px);
    }
        .clear-delete-buttons {
            display: flex;
            justify-content: space-between;
            gap: 10px;

            width: 90%;
            height: 10%;
        }
            .clear-delete-buttons button {
                flex: 1;
            }       
            .clear-button {
                background-color: #f9938f;
            }
            .clear-button:active {
                background-color: #ff716c;
            }
            .delete-button {
                background-color: #b0b0e5;
            }
            .delete-button:active {
                background-color: #8484bb;
            }

    .main-buttons {
        display: flex;
        justify-content: space-between;
        gap: 10px;

        width: 90%;
        height: 10%;
    }
        .main-buttons button {
            flex: 1;
        }
        .main-buttons button:active {
            background-color: #bbb2b2;
        }
