*{
    margin: 0px;
}
body{
    background-color: rgb(255, 255, 255);
    color: white;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    font-size: 16px;
}
.back{
    position: absolute;
    z-index: 50px;
    background-color: black;
    border-radius: 15px;
    top: 30%;
    left: 30%;
    width: 400px;
    height: 450px;
    box-shadow: 30px 30px 30px rgb(0, 0, 0)
}
.calc-body{
    z-index: 100;
    width: 400px;
    height: 510px;
    margin: 0 auto;
    text-align: center;
    border-color: black;
    border-style: solid;
    border-radius: 20px;
    border-width: 4px;
    margin-top: 25px;
    background-color: var(--background-calc);
    box-shadow: 2px 8px rgb(255, 255, 255),rgb(0, 0, 0) 6px 12px;
}
.buttons-body{
    padding-top: 30px;
}
button{
    width: 70px;
    height: 50px;
    margin: 5px;
    margin-bottom: 10px;
    background-color: white;
    border-color: black;
    border-style: solid;
    border-radius: 15px;
    border-width: 2px;
    box-shadow: 0px 3px rgb(222, 222, 222),rgb(0, 0, 0) 0px 6px;
    transition:  background-color 0.08s,border-width 0.1,box-shadow 0s,position 0.3s,top 0.3s,left 0.3s;
}
button:hover{
    background-color: rgb(248, 248, 248);
}
button:active{
    background-color: rgb(230, 230, 230);
    position: relative;
    top: 4px;
    font-weight: bold;
    border-width: 1px;
    box-shadow: 0px 0px 0px rgb(0, 0, 0);
}
#equal-button{
    width: 70px;
    height: 50px;
    margin: 5px;
    margin-bottom: 10px;
    border-color: black;
    border-style: solid;
    border-radius: 15px;
    border-width: 2px;
    box-shadow: 0px 4px 0px rgb(100, 140, 185),rgb(0, 0, 0) 0px 6px;
    transition:  background-color 0.08s,border-width 0.1,box-shadow 0s,position 0.3s,top 0.3s,left 0.3s;
    background-color: rgb(137, 192, 255);
}
#equal-button:active{
    position: relative;
    top: 4px;
    box-shadow: 0px 0px 0px rgb(0, 0, 0);
}
#slash-button{
    width: 70px;
    height: 50px;
    margin: 5px;
    margin-bottom: 10px;
    border-color: black;
    border-style: solid;
    border-radius: 15px;
    border-width: 2px;
    box-shadow: 0px 4px 0px rgb(190, 183, 87),rgb(0, 0, 0) 0px 6px;
    transition:  background-color 0.08s,border-width 0.1,box-shadow 0s,position 0.3s,top 0.3s,left 0.3s;
    background-color: rgb(246, 237, 112);
}
#slash-button:active{
    position: relative;
    top: 4px;
    box-shadow: 0px 0px 0px rgb(0, 0, 0);
}
#product-button{
    width: 70px;
    height: 50px;
    margin: 5px;
    margin-bottom: 10px;
    border-color: black;
    border-style: solid;
    border-radius: 15px;
    border-width: 2px;
    box-shadow: 0px 4px 0px rgb(120, 80, 169),rgb(0, 0, 0) 0px 6px;
    transition:  background-color 0.08s,border-width 0.1,box-shadow 0s,position 0.3s,top 0.3s,left 0.3s;
    background-color: rgb(180, 123, 249);
}
#product-button:active{
    position: relative;
    top: 4px;
    box-shadow: 0px 0px 0px rgb(0, 0, 0);
}
#minus-button{
    width: 70px;
    height: 50px;
    margin: 5px;
    margin-bottom: 10px;
    border-color: black;
    border-style: solid;
    border-radius: 15px;
    border-width: 2px;
    box-shadow: 0px 4px 0px rgb(183, 80, 80),rgb(0, 0, 0) 0px 6px;
    transition:  background-color 0.08s,border-width 0.1,box-shadow 0s,position 0.3s,top 0.3s,left 0.3s;
    background-color: rgb(255, 110, 110);
}
#minus-button:active{
    background-color: rgb(255, 110, 110);
    position: relative;
    top: 4px;
    box-shadow: 0px 0px 0px rgb(0, 0, 0);
}
#plus-button{
    width: 70px;
    height: 50px;
    margin: 5px;
    margin-bottom: 10px;
    border-color: black;
    border-style: solid;
    border-radius: 15px;
    border-width: 2px;
    box-shadow: 0px 4px 0px rgb(83, 157, 78),rgb(0, 0, 0) 0px 6px;
    transition:  background-color 0.08s,border-width 0.1,box-shadow 0s,position 0.3s,top 0.3s,left 0.3s;
    background-color: rgb(155, 242, 148);
}
#plus-button:active{
    position: relative;
    top: 4px;
    box-shadow: 0px 0px 0px rgb(0, 0, 0);
}
#on-button{
    width: 70px;
    height: 50px;
    margin: 5px;
    margin-bottom: 10px;
    border-color: black;
    border-style: solid;
    border-radius: 15px;
    border-width: 2px;
    box-shadow: 0px 4px 0px rgb(83, 157, 78),rgb(0, 0, 0) 0px 6px;
    transition:  background-color 0.08s,border-width 0.1,box-shadow 0s,position 0.3s,top 0.3s,left 0.3s;
    background-color: rgb(155, 242, 148);
}
#on-button:active{
    position: relative;
    top: 4px;
    box-shadow: 0px 0px 0px rgb(0, 0, 0);
}
#off-button{
    width: 70px;
    height: 50px;
    margin: 5px;
    margin-bottom: 10px;
    border-color: black;
    border-style: solid;
    border-radius: 15px;
    border-width: 2px;
    box-shadow: 0px 4px 0px rgb(183, 80, 80),rgb(0, 0, 0) 0px 6px;
    transition:  background-color 0.08s,border-width 0.1,box-shadow 0s,position 0.3s,top 0.3s,left 0.3s;
    background-color: rgb(255, 110, 110);
}
#off-button:active{
    background-color: rgb(255, 110, 110);
    position: relative;
    top: 4px;
    box-shadow: 0px 0px 0px rgb(0, 0, 0);
}

#clear-button:active{
    background-color: rgb(45, 45, 45);
    color: white;
    position: relative;
    top: 4px;
    box-shadow: 0px 0px 0px rgb(0, 0, 0);
}
#clear-all-button:active{
    background-color: rgb(45, 45, 45);
    color: white;
    position: relative;
    top: 4px;
    box-shadow: 0px 0px 0px rgb(0, 0, 0);
}

.result-body{
    border-color: black;
    border-style: solid;
    border-width: 4px;
    border-radius: 15px;
    margin-top: 40px;
    margin-left: 30px;
    margin-right: 30px;
    height: 100px;
}
input{
    margin-top: 5px;
    font-family: 'Courier New', Courier, monospace;
    width: 90%;
    height: 43px;
    font-size: 32px;
    color: black;
    text-align: end;
    border-style: none;
}
#last-op{
    font-size: 18px;
}