@font-face {
    font-family: "LCD-Font";
    src: url(./static/DS-DIGII.TTF) format("truetype");
  }

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

body {
    font-size: 16px;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    line-height: 1;
    color: white;
    background: #848383;
}

.calculator {
    background-color: black;
    box-shadow: 1px 1px 2px 1px rgb(114, 114, 114);
    max-width: 360px;
    margin: 100px auto;
    padding: 10px;
    display: grid;
    gap: 8px;
    grid-template-columns: 1fr 1fr 1fr 0.6fr;
    grid-template-rows: 1.75fr repeat(5, 1fr);
    border-radius: 10px;
}

.display {
    background-color: rgb(87, 83, 83);
    grid-column: 1 / 5;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    padding: 15px;
    justify-content: space-between;
    font-family: "LCD-Font";
    user-select: none;
}

.display__prompt--result {
    font-size: 28px;
}

.display__prompt--current {
    font-size: 40px;
}

.btn {
    background: #383838;
    color: #fff;
    text-align: end;
    font-size: 20px;
    padding: 20px;
    border: white 1px solid;
    border-radius: 8px;
    user-select: none;
}

.btn--AC {
    grid-column: 1 / 3;
    background-color: rgb(15, 82, 126);
}

.btn:last-of-type {
    grid-column: 3 / 5;
}

.btn:active {
    box-shadow: inset 0px 0px 2px 1px white;
    transform: scale(0.98);
}