@charset "UTF-8";
@font-face {
    font-family: arimo;
    src: url(fonts/Arimo-VariableFont_wght.ttf);
}
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: arimo;
}
button {
    background-color: transparent;
    color: white;
    border: 0;
}
.container {
    width: 100%;
    height: 100vh;
    background-image: linear-gradient(to right,#00FEEF, #388EE9);
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    & > .calc {
        width: 330px;
        height: 500px;
        background-color: #242424;
        padding: 5px;
        border-radius: 4px;
        & > .header {
            padding: 0px 8px 10px 8px;
            & > button {
                float: right;
                text-align: center;
                font-size: 16px;
                font-weight: 100;
                padding: 2px 10px;
                &:hover {
                    background-color: #4444449a;
                }
            }
        }
        & > .navbar {
            & > * {
                padding: 8px;
                font-size: 18px;
                font-weight: 400;
            }
            & > button {
                cursor: context-menu;
                border-radius: 2px;
                &:hover {
                    background-color: #4444449a;
                }
            }
        }
        & > .output {
            position: relative;
            width: 100%;
            height: 80px;
            & > span {
                position: absolute;
                font-size: 2.5em;
                font-weight: bolder;
                right: 0;
                bottom: 0;
            }
        }
        & > .memory-nav {
            padding: 10px 2px 1px 2px;
            display: flex;
            align-items: center;
            justify-content: space-between;
            & > button {
                padding: 2px 14px;
                font-size: 14px;
                border-radius: 2px;
                &:hover {
                    background-color: #4444449a;
                }
            }
        }
        & > .main {
            display: grid;
            grid-template-columns: auto auto auto auto;
            grid-gap: 2px;
            & > button {
                padding: 16px 10px;
                border-radius: 2px;
                font-weight: 400;
                background-color: #4444449a;
            }
            & > .number {
                background-color: #5c5c5c9a;
                font-size: 16px;
            }
        }
    }
}