*{
    margin: 0;
    padding: 0;
}

body button{
    font-size:x-large;
    color: whitesmoke;
}
main{
    display: flex;
    align-items: center;
    justify-content: center;
    height: 75vh;
    min-height: 500px;
    padding: 10px;
    margin-top: 50px;
}
.calculator-outline{
    border: 2px solid black;
    height: 650px;
    width: 400px;
    border-radius: 5%;
    padding: 10px;
    background-color: black;
}
.display{
    height: 100px;
    border: 2px solid black;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    padding: 10px;
    border-radius: 10px;
    margin: 10px;
    background-color: #8cbb6b;
}
.topDisplay , .bottomDisplay{
    height: 50%;
}
.clearingDisplay{
    height: 15%;
    display: flex;
    justify-content: space-between;
    margin: 20px 10px;
}
#delete , #clear{
    display: flex;
    justify-content: center;
    align-items: center;
    width: 45%;
    height: 70px;
    border-radius: 10px;
}
.numbers{
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}
.key, .operator, .equals{
    border: 2px solid black;
    border-radius: 10px;
    padding: 20px;
    text-align: center;
    margin: 10px;
    background-color: darkgray;
}
.equals ,.clear{
    background-color: red;
    color: whitesmoke;
}
.equals:hover ,.clear:hover{
    background-color: darkred;
    cursor: pointer;
}
.delete{
    background-color: darkgray;
    color: whitesmoke;
}
.delete:hover, .operator:hover, .key:hover{
    cursor: pointer;
    background-color: gray;
}
footer{
        display: flex;
        justify-content: center;
        position: fixed;
        bottom: 0;
        width: 100%;
        height: 60px;   /* Height of the footer */
}
footer img{
    height: 25px;
}
@media only screen and (max-height: 730px) , (max-width:600px ) {
    footer{
        display: none !important;
    }
}
/* footer was overlapping in mobile */