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

body {
    height: 100vh;
    display: flex;
    justify-self: center;
    align-items: center;
}

.calculator {
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    width: 400px;
    background-color: black;
    border-radius: 8px;
    box-shadow: 0px 0px 8px 4px rgba(0,0,0,0.5);
    padding: 20px;
}

.display {
    height: 105px;
    background-color: #cacaca;
    font-size: 40px;
    padding: 30px 15px;
    text-align: right;
    border-radius: 4px;
    margin-bottom: 30px;
}

button {
    height: 50px;
    border-radius: 4px;
    font-size: 25px;
    padding: 15px;
    border: none;
    width: 75px;
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: space-between;
}

#zero, #clear {
    width: 170px;
} 

.number {
    background-color: hsl(60, 80%, 51%);
}

.number:hover {
    background-color: hsl(60, 80%, 66%);
}

.operator {
    background-color: hsl(345, 90%, 44%);
    color: white
}

.operator:hover {
    background-color: hsl(345, 90%, 59%);
}

.clear {
    background-color: hsl(209, 93%, 43%);
    color: white;
}

.clear:hover {
    background-color: hsl(209, 93%, 58%);
}

.equal {
    background-color: hsl(157, 96%, 32%);
    color:white
}

.equal:hover {
        background-color: hsl(157, 96%, 47%);
}

.number:active, .operator:active, .clear:active, .equal:active {
    border: 2px solid black;
}