@font-face {
    font-family: Digital-7;
    src: url(font/Digital7Italic-BW658.ttf);
}
body{
    /*background-color: rgb(247, 148, 29);*/
    background: #333;
   /* background: linear-gradient(90deg, rgba(42,91,184,1) 0%, rgba(10,151,227,1) 50%, rgba(22,36,157,1) 100%); */
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 0;
    padding: 0;
    overflow-y: hidden;
}
footer{
    color: #f9faf8;
    font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
    position: fixed;
    bottom: 20px;
    height: 1em;

}
.footer{
    font-size: 18px;
    text-decoration: none;
    color: #f9faf8;
    margin-bottom: 20px;
}
.footer a:hover{
    text-decoration: underline;
}
.container{
    margin: 20px;
    background-color: #D7D8DC;
    display: flex;
    flex-direction: column;
    width: 300px;
    height: 450px;
    justify-content: space-between;
    padding: 15px;
    border-right: 10px solid  rgba(0,0,0,0.5);
    border-bottom: 10px solid rgba(0, 0, 0, 0.719);
    border-radius: 10px;
    box-shadow: 10px 10px 5px rgba(0, 0, 0, 0.3);
}
.display-box{
    height: 30%;
}
h2, p{
    margin: 0;
}
.details{
    display: flex;
    justify-content: space-between;
    font-size: 20px;
    height: 40%;
    font-family: monospace;
    color: rgb(16, 110, 197);
    -webkit-text-stroke: 0.3px black;
    font-weight: bold;
}
.mirror{
    border: 2px solid #5E656B;
    border-radius: 5px;
    width: 120px;
    height: 30px;
    background-color: rgba(50, 22, 0, 0.8);
}
.screen{
    width: 95%;
    height: 50%;
    border-top:10px solid #5E656B;
    border-bottom: 10px solid #5E656B;
    border-right: 7px solid #5E656B;
    border-left: 7px solid #5E656B;;
    background-color: #D4E2E3;
    border-radius: 10px;
    font-family: Digital-7;
    text-align: right;
}
.screen-text{
    font-size: 25px;
}
.result-text{
    font-size: 35px;
}
.keys-box{
    display: grid;
    width: 100%;
    height: 60%;
    grid-template: repeat(5, 1fr) / repeat(4, 1fr);
    gap: 5px;
}
button{
    border-top: 0;
    border-left: 0;
    border-right: 7px solid rgba(64, 59, 59, 0.97);
    border-bottom: 7px solid rgba(64, 59, 59, 0.97);
    border-radius: 5px;
    color: white;
    background-color: #42424A;
    font-size: 25px;
    box-shadow: 0 8px 16px 0 rgba(0,0,0,0.2), 0 6px 20px 0 rgba(0,0,0,0.19);
}
#powerCntrl{
    background-color: #3333335d;
    border-radius: 20px;
    position: absolute;
    width: 300px;
    height: 450px;
    display: none;
}

#powerBtn{
    z-index: 99;
}
#powerBtn:hover{
    color: white;
    background-color: rgba(53, 165, 53, 0.8);
}
.poweroff{
    color: rgb(180, 45, 45);
}
button:hover{
    color: rgb(49, 43, 43);
    background-color: rgb(211, 207, 207);
}
button:active{
    border-right: 5px solid rgba(64, 59, 59, 0.97);
    border-bottom: 5px solid rgba(64, 59, 59, 0.97);
}
.action:hover{
    color: white;
    background-color: rgb(217, 53, 53);
}
.operator:hover{
    color: white;
    background-color: cornflowerblue;
}
#equalsBtn{
    grid-column: 3/5;
    border-radius: 15px;
    font-size: 35px;
}
#equalsBtn:hover{
    color: white;
    background-color: rgb(42, 175, 42, 0.8);
}
#equalsBtn
footer{
    font-size: 14px;
    background-color: #333;;
    height: 1em;
    width: 100%;
    position: absolute;
    text-align: center;
    bottom: 0;
    padding-bottom: 5px;
}