*{
    margin: 0px;
    padding: 0px;
}

body{
    background: url("background.gif");
}

.container{
    height: 100vh;
    width: 100vw;
    position: relative;
}

.calculator{
    position: absolute;
    top: 50%;
    left: 50%;
    translate: -50% -50%;
    width: 300px;
    height: 500px;
    border-radius: 10px;
    box-shadow: 0px 0px 10px 0px rgb(143, 141, 141);
    background-color:rgba(0, 0, 0, 0.5);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

h1{
    color: grey;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    position: relative;
    font-size: 1.5rem;
    text-shadow: 0px 0px 5px black;
    top: -40px;
    
}

input{
    font-size: 20px;
    height: 50px;
    width: 50px;
    margin: 2px;
    border-radius: 50%;
    font-size: 1.5rem;
    border: none;
    color: rgb(181, 181, 181);
    background-color: transparent;
}

#widebtn{
    font-size: 20px;
    height: 50px;
    width: 108px;
    border-radius: 40px;
    margin: 2px;
}

.oprator{
    font-size: 1.2rem;
    background-color: red;
    color: white;
}

.oprator:hover{
    background-color: brown;
}

.oprator:active{
    background-color: rgb(105, 26, 26);
}

input:hover{
    background-color: rgb(123, 117, 117);
    cursor: pointer;
}

input:active{
    background-color: rgb(72, 72, 72);
    color: white;
}

#display{
    border-radius: 10px;
    width: 210px;
    color: white;
    height: 30px;
    font-size: 25px;
    padding: 10px;
    margin: 10px;
    text-align: right;
}

#display:hover{
    background-color: rgba(0, 0, 0, 0);
    cursor: default;
}

#displat:active{
    background-color: rgba(0, 0, 0, 0);
    cursor: default;
}
  
@media only screen and (max-width: 768px) {
    /* Styles for devices with a maximum width of 425 pixels */
    .calculator{
        justify-content: center;
        height: 100%;
        width: 100%;
        scale: 135%;
        background-color:rgba(0, 0, 0, 0);
    }
    #display{
        font-size: 40px;
        padding: 10px;
    }

}    
  