body {
    margin: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    background-color: hsl(0, 0%, 95%);
    background-image: url(https://images2.alphacoders.com/100/1009034.jpg);
    background-size: cover;
    background-repeat: no-repeat;
}

#calculator {
    font-family: Arial, sans-serif;
    background-color: hsl(0, 0%, 15%);
    border-radius: 15px;
    width: 90%;
    max-width: 500px;
    overflow: hidden;
}

#display {
    width: 100%;
    padding: 20px;
    font-size: 5rem;
    text-align: left;
    border: none;
    background-color: hsl(0, 0%, 20%);
    color: white;
}

#keys {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    padding: 25px;
}

button {
    width: 100%;
    height: 100px; /* Adjusted button height for larger screens */
    border-radius: 50px;
    border: none;
    background-color: hsl(0, 0%, 30%);
    color: white;
    font-size: 3rem;
    font-weight: bold;
    cursor: pointer;
}

button:hover {
    background-color: hsl(0, 0%, 40%);
}

button:active {
    background-color: hsl(0, 0%, 50%);
}

.operator-btn {
    background-color: hsl(35, 100%, 55%);
}

.operator-btn:hover {
    background-color: hsl(35, 100%, 65%);
}

.operator-btn:active {
    background-color: hsl(35, 100%, 75%);
}

/* Media Query for Mobile Devices */
@media only screen and (max-width: 600px) {
    button {
        width: 89px;
        height: 140px;

        /* Adjusted button height for mobile devices */
    }

    #calculator {
        width: 100%;
        max-width: none;
    }
}

/* Media Query for Laptops and Larger Screens */
@media only screen and (min-width: 993px) {
    #calculator {
        width: 50%;
        max-width: 800px;
    } 
    button{
        width:auto;
        max-width:100%;
        
    }
}
