@import url('https://fonts.googleapis.com/css2?family=Quantico:ital,wght@0,400;0,700;1,400;1,700&family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');

* {
    font-family: roboto;
}
body {
    font-family: Roboto sans-serif;
    background-color: rgb(179, 164, 145);
}

h1 {
    text-align: center;
    padding-bottom: 10px;
}

.container {
    display: flex;
    justify-content: center;
}

.calculator-body {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 15px 4px;
    background-color: #45433f;
    width: 500px;
    border-radius: 10px;
    align-items: center;
    font-size: 40px;
}

.display {
    display: flex;
    flex-direction: column;
    color: white;
    width: 95%;
    background-color: #504d49;
    border-radius: 7px;
    padding: 0px 5px;
    height: 120px;
}

.last-input {
    display: flex;
    justify-content: right;
    min-height: 30px;
    padding-top: 5px;
}

.input {
    display: flex;
    justify-content: space-between;
    padding: 15px 0px;
    min-height: 30px;
}

.buttons-body {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    padding-top: 10px;
}

/* Button styling */

button {
    border-radius: 15px;
    border-color: black;
    border-width: 2px;
    font-size: 45px;
    padding: 5px 14px;
    margin: 2px 4px;
    width: 23%;
}

.general-button {
    background-color: #767572;
    width: 48%;
    margin-top: 10px;
    margin-bottom: 10px;
}

.general-button:hover {
    background-color:#bab5ae
}

.digit {
    background-color: rgb(230, 211, 187);
}

.digit:hover {
    background-color: rgb(238, 238, 238);
}

#float:disabled {
    color: black;
}

.operator {
    background-color: #ff9f0a;
}

.operator:hover {
    background-color:#ffbc58
}

.equal {
    background-color: #ff9f0a;
}

.equal:hover {
    background-color:#ffbc58
}