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

body {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background-color: #eef1e3;
    font-family: Arial, sans-serif;
    background-image: url();
}

.calculator {
    background-color: #ffffff;
    padding: 20px;
    border-radius: 15px;
    width: 320px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
}

#display {
    width: 100%;
    height: 65px;
    margin-bottom: 15px;
    padding: 10px;
    font-size: 28px;
    text-align: right;
    border: 2px solid #87915d;
    border-radius: 8px;
    background-color: #f8f9f3;
}

.buttons {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap:10px;
}


button {
    height: 55px;
    font-size: 20px;
    font-weight: bold;
    border: none;
    border-radius: 10px;
    background: #eef1e3;
    color: #59613b;
    cursor: pointer;

    box-shadow:
        4px 4px 8px #c8cdbb,
        -4px -4px 8px #ffffff;

    transition: all 0.2s ease;
}

button:hover {
    background: #e3e8d5;
    transform: translateY(-2px);

    box-shadow:
        5px 5px 10px #c8cdbb,
        -5px -5px 10px #ffffff;
}

button:active {
    transform: translateY(2px);

    box-shadow:
        inset 3px 3px 6px #c8cdbb,
        inset -3px -3px 6px #ffffff;
}





#particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

.calculator {
    position: relative;
    z-index: 1;
}