body {
    font-family: Arial, sans-serif;
    display: flex;
    justify-content: center;
    margin-top: 48px;
}

.calculator {
    width: 320px;
    background-color: #222;
    padding: 16px;
    border-radius: 12px;
}

#display {
    background-color: #ddd;
    height: 64px;
    font-size: 32px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding: 0 12px;
    margin-bottom: 12px;
    border-radius: 6px;
    overflow: hidden;
}

.buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

button {
    width: calc((100% - 24px) / 4);
    height: 64px;
    font-size: 24px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
}

.operator {
    background-color: orange;
    color: white;
}

#clear {
    background-color: #e74c3c;
    color: white;
}

#equals {
    background-color: #2ecc71;
    color: white;
}