@font-face {
    font-family: ShareTechMonoLocal;
    src: url(./ShareTechMono-Regular.ttf);
}

* {
    font-family: ShareTechMonoLocal;
    color: rgb(0, 0, 0);
    box-sizing: border-box;
}

body {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100vh;
    margin: 0;
    padding: 0;
}

button {
    width: 100%;
    height: 100%;
    font-size: 25px;
    padding: 0;
    background-color: rgb(250, 250, 250);
    border: 1px solid rgb(192, 192, 192);
}

button:hover {
    border: 1px solid rgb(96, 96, 96);

}

button:active {
    border: 2px solid rgb(96, 96, 96);

}

.calculator {
    width: 380px;
    height: 670px;
    background-color: rgb(250, 250, 250);
}

.display-container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 21.5%;
    border: 2px solid rgb(190, 190, 190);
    background-color: rgb(190, 190, 190);
}

.display {
    width: 99.3%;
    height: 99%;
    border: 1px solid rgb(128, 128, 128);
    background-color: rgb(242, 242, 242);
}

.display-top {
    height: 40%;
    font-size: 30px;
}

.display-bottom {
    height: 60%;
    font-size: 50px;
}

.display-top, .display-bottom {
    display: flex;
    justify-content:flex-end;
    align-items: center;
    /* border: 1px solid black; */
}

.buttons {
    width: 100%;
    height: 75%;
    border: 3px solid rgb(190, 190, 190);
    border-top: 0;
}

.row {
    display: flex;
    width: 100%;
    height: 14.29%;
}

.row-button {
    width: 25%;
    height: 100%;
}

#divide,
#multiply,
#subtract,
#add,
#percent,
#back {
    font-size: 37.5px;
    background-color: rgb(218, 218, 218);
}

#reverse-sign,
#decimal {
    font-size: 37.5px;
}

#all-clear,
#clear-entry,
#exponentiate,
#raise-two-to-power,
#calculate-nth-root {
    background-color: rgb(218, 218, 218);
}

#fahrenheit-celsius,
#pound-kg,
#inch-cm,
#mile-km {
    background-color: rgb(220, 230, 220);
}

#divide:hover,
#multiply:hover,
#subtract:hover,
#add:hover,
#back:hover,
#percent:hover,
#reverse-sign:hover,
#decimal:hover {
    font-size: 45px;
    background-color: rgb(201, 201, 201);
}

#all-clear:hover,
#clear-entry:hover,
#exponentiate:hover,
#raise-two-to-power:hover,
#calculate-nth-root:hover {
    font-size: 30px;
    background-color: rgb(201, 201, 201);
}

#fahrenheit-celsius:hover,
#pound-kg:hover,
#inch-cm:hover,
#mile-km:hover {
    font-size: 27px;
    background-color: rgb(180, 190, 180);
}

.number:hover {
    font-size: 30px;
    background-color: rgb(235, 235, 235);
}

#divide:active,
#multiply:active,
#subtract:active,
#add:active,
#back:active,
#percent:active,
#reverse-sign:active,
#decimal:active {
    font-size: 50px;
    background-color: rgb(180, 190, 180);
}

#all-clear:active,
#clear-entry:active,
#exponentiate:active,
#raise-two-to-power:active,
#calculate-nth-root:active {
    font-size: 32.5px;
    background-color: rgb(180, 190, 180);
}

#fahrenheit-celsius:active,
#pound-kg:active,
#inch-cm:active,
#mile-km:active {
    font-size: 30px;
    background-color: rgb(140, 150, 140);
}

.number:active {
    font-size: 32.5px;
    background-color: rgb(220, 230, 220);
}

#equal {
    font-size: 37.5px;
    background-color: rgb(146, 185, 216);
}

#equal:hover {
    font-size: 45px;
    background-color: rgb(0, 99, 177);
}

#equal:active {
    font-size: 50px;
    background-color: rgb(73, 142, 196);
}

#reverse-sign {
    padding-bottom: 6px;
}