
body {
    font-family: Arial, sans-serif;
    background-color: #f4f4f4;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
}

#display {
    width: 100%;
    max-width: 400px;
    height: 25px;
    padding: 20px;
    background-color: #fff;
    border: 1px solid #ccc;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    text-align: right;
    font-size: 2rem;
}


#container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    max-width: 400px;
    margin: 20px auto;
}

#clear:enabled {
    background-color: #f44336;
}
#clear:enabled:hover {
    background-color: #e53935;
}

button:disabled {
    background-color: #5a5a5a;
    color: #e5e5e5;
    cursor: not-allowed;
}

#equals {
    grid-column: span 2;
    width: 100%; /* Ensure it fills both columns */
    background-color: #4CAF50;
    box-sizing: border-box; /* Add this to prevent overflow and weird gaps */
}
#equals:hover {
    background-color: #45a049;
}

button {
    aspect-ratio: 1;
    max-width: 100px;
    height: 50px;
    font-size: 1.5rem;
    background-color: #d5d5d5;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

button:enabled:hover {
    background-color: #e0e0e0;
}


