*{
    padding: 0;
    margin: 0;
}
body{
    font-family: 'open sans', sans-serif;
    /* background-image: url("./media/background.jpeg"); */
    background-color: black;
    background-image: url("./media/background.jpeg");
    background-size: cover;
}
.container{
    width: 1148px;
    height: 600px;
    background-image: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3));
    margin: 0px auto;
    /* background-image: url("./media/background.jpeg"); */
    /* background-size: contain; */
}
#calculator{
    width: 320px;
    height: 505px;
    /* background-color: #eaedef; */
    margin: 0 auto;
    top: 16px;
    position: relative;
    border-radius: 5px;
    box-shadow: 0 4px 8px 0 rgba(50, 10, 30,0.08), 0 6px 20px 0 rgba(20, 40, 60, 0.09);
    background-color: transparent;
}
#result{
    height: 115px;
}
#history{
    text-align: right;
    height: 18px;
    margin: 0 20px;
    padding-top:20px ;
    font-size: 15px;
    color: #919191;
}
#output{
    text-align: right;
    height: 60px;
    margin: 10px 20px;
    font-size: 30px;
}
#keyboard{
    height: 400px;
}
.operator, .number{
    width: 50px;
    height: 50px;
    margin: 15px;
    float: left;
    border-radius: 50px;
    border-width: 0;
    font-weight: bold;
    font-size: 15px;
}
.number{
    background-color: #eaedef;
}
.number, .operator{
    cursor: pointer;
}
.operator:active, .number:active{
    font-size: 13px;
}
.operator:focus, .number:focus{
    outline: 0;
}
button:nth-child(4){
    font-size: 20px;
    background-color: #20b2aa;
}
button:nth-child(8){
    font-size: 20px;
    background-color: #ffa500;
}
button:nth-child(12){
    font-size: 20px;
    background-color: #f08080;
}
button:nth-child(16){
    font-size: 20px;
    background-color: #7d93e0;
}
button:nth-child(20){
    font-size: 20px;
    background-color: #9477af;
}

@media only screen and (max-width: 600px) {
    .container{
        width: 100%;
        height: 100%;
        /* background-size: auto; */
        position:absolute;
    }
}

@media only screen and (max-width: 1000px) {
    .container{
        width: 100%;
        height: 100%;
        background-size: auto;
        position: absolute;
    }
}