* {
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

body {
    padding: 1rem;
    display: flex;
    justify-content: center;
    align-content: center;
}

.calculator {
    display: grid;
    height: 100vh;
    width: 100%;
}


.buttons {
    border-radius: 0.2rem;
    background: #1f2933;
    padding: 0.5rem 1rem;
    gap: 1rem;
    height: 60vh;

    display: grid;
    grid-template-columns: repeat(4, 1fr);

}

button {
    border-radius: 0.5rem;
    color: #2563eb;
    font-size: 3rem;
}

button:hover {
    background: #cbc9c9;
}

button:active {
    transform: scale(0.96);
}

button:nth-child(4n) {
    color: #fff;
    background: #2563eb;
}

button:nth-child(4n):hover {
    background: #3b82f6;
}


.clear,
.delete,
.install-btn {
    color: #fff;
    grid-column: span 2;
    background: #2563eb;

}

.install-btn {
    grid-column: span 4;

}

.install-btn:hover {
    background: #3b82f6;

}



@media screen and (width <=23.4375em) {
    body {
        padding: 0.5rem;
    }


    button {
        height: 70px;
        font-size: 2rem;
    }

    .buttons {
        height: 66vh;

    }

    .clear,
    .delete,
    .install-btn {
        margin-bottom: auto;

    }

}