*{
    padding: 0;
    border: 0;
    margin: 0;
    color: white;
    font-family: 'Roboto Mono', monospace;
    font-weight: bold;
}

body {
    cursor: url('cursor.png'), auto;
}

/*header*/

header{
    top: 20px;
    left: 20px;
    opacity: 50%;
    position: fixed;
    color: white;
    z-index: 99999;
}

#calculator{
    background-color: #13121a;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100vw;
    height: 100vh;
}

#calculator-form{
    display: grid;
    grid-template-columns: 3;
    grid-template-rows: 250px 50px 200px;
    padding: 10px;
    background-color: rgba(0, 140, 165, 0.952);
    width: 400px;
    height: 500px;
}

/*Display Calculator*/

#panel{
    background-color: rgba(255, 255, 255, 0.199);
    margin: 10px;
    text-align: right;
    padding: 20px;
    grid-row: 1;
    grid-column-start: 1;
    grid-column-end: 4;
}

/*Numeric panel*/

li{
    list-style-type: none;
}

button{
    cursor: url('cursor.png'), auto;
}

#num_panel{
    margin: auto 5px auto 10px;
    grid-column-start: 1;
    grid-column-end: 3;
    grid-row: 3;
}

#num_panel ul{
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: 60px 60px 60px;
    gap: 2px;
}

#num_panel ul li button{
    background-color: rgba(3, 66, 117, 0.897);
    border-radius: 5px;
    font-size: 19px;
    width: 100%;
    height: 100%;
}

#num_panel ul li button:active{
    background-color: rgba(1, 32, 58, 0.897);
    transition: 0.5;
    transform: scale(0.95);
}

/*Clear panel*/

#clear_panel{
    grid-column-start: 1;
    grid-column-end: 4;
    grid-row: 2;
    display: flex;
    flex-direction: row;
    align-items: center;
    margin-right: 10px;
    gap: 15px;
    justify-content: right;
}

#clear_all{
    background-color: rgb(201, 137, 0);
    padding: 10px 40px;
}

#clear_all:active{
    background-color: rgb(134, 92, 1);
    transition: 0.1s;
    transform: scale(0.95);
}

#clear_unit{
    background-color: rgb(255, 0, 55);
    padding: 10px 40px;
}

#clear_unit:active{
    background-color: rgb(172, 0, 37);
    transition: 0.1s;
    transform: scale(0.95);
}

/*Operation panel*/

#operation_panel{
    margin: auto 10px auto 5px;
    grid-column-start: 3;
    grid-column-end: 4;
    grid-row: 3;
}

#operation_panel ul{
    display: grid;
    grid-template-columns: 1;
    grid-template-rows: repeat(5, 1fr);
    gap: 2px;
}

#operation_panel li{
    height: 32px;
    margin: 2px;
}

#operation_panel li button{
    background-color: rgba(3, 66, 117, 0.897);
    border-radius: 5px;
    font-size: 19px;
    width: 100%;
    height: 100%;
}

#operation_panel li button:active{
    background-color: rgba(1, 32, 58, 0.897);
    transition: 0.1s;
    transform: scale(0.95);
}

/*footer*/

footer{
    bottom: 20px;
    right: 20px;
    opacity: 50%;
    position: fixed;
    color: white;
    z-index: 99999;
}