* {
    margin: 0;
    padding: 0;
}

body {
    position: relative;
    display: flex;
    flex-direction: column;
    background-color: #000000;
    width: 100vw;
    height: 100vh;
    overflow: hidden;
}

.nav {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    color: #ffffff;
    width: 100%;
    height: 3rem;   
}

.historyIcon {
    padding: 1rem;
    cursor: pointer;
}

.historyIcon:hover path {
    fill:#ffffff;
}

.lowerBody {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
}

.calcBG {
    position: relative;
    bottom: 42px;
    display: flex;
    flex-direction: column;
    background-color: rgb(11, 11, 11);
    border: 1px solid rgb(21, 21, 21);
    border-radius: 0.5rem;
    width: 12.875rem;
    height: 23.063rem;
    cursor: pointer;
}

.calcScreen {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    background-color: rgb(21, 21, 21);
    color: white;
    font-size: 1.563rem;
    font-family: monospace;
    border: 1px solid rgb(37, 37, 37);
    outline: none;
    height: 4rem;
    padding: 0 5% 0 5%;
    margin: 5%;
    resize: none;
    overflow-y: hidden;
}

.delIcon {
    display: flex;
    justify-content: flex-end;
    margin: 0 5% 5% 5%;
}

.delSVG:hover path {
    stroke: #ffffff;
}

.calcPad {
    display: grid;
    grid-template-rows: repeat(5, 2.5rem);
    grid-template-columns: repeat(4, 2.5rem);
    gap: 0.5rem;
    margin: 0% 5% 5% 5%;
}

.button {
    display: flex;
    justify-content: center;
    align-items: center;
    color: #ffffff;
    font-size: 1rem;
    font-family: monospace;
    background-color: rgb(21, 21, 21);
    border-radius: 50%;
    width: 100%;
    height: 100%;
}

.button:hover {
    background-color: rgb(37, 37, 37);
}

.rightMenu {
    position: absolute;
    top: 8%;
    right: -100%;
    display: flex;
    flex-direction: column;
    background-color: rgb(11, 11, 11);
    color: #ffffff;
    border: 1px solid rgb(21, 21, 21);
    border-radius: 0.5rem;
    width: 16rem;
    height: 100%;
    font-size: 1rem;
    font-family: monospace;
    transition: right 0.3s ease-in-out;
    overflow-y: auto;
    overflow-x: hidden;
    scrollbar-color: #505050 #0b0b0b;
    scrollbar-color: #afafaf #f4f4f4;
}

.rightMenu > ul {
    display: flex;
    flex-direction: column;
    list-style-type: none;
    padding: 0.5rem;
    font-family: monospace;
    border-bottom: 1.5px solid #ffffff;
}
