
@font-face {
    font-family: 'sfi';
    src: url('font/Segoe_Fluent_Icons.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: block;
}

@font-face {
    font-family: 'HarmonySansSC-Light';
    src: url('font/HarmonyOS_Sans_SC_Light.ttf') format('truetype');
    font-display: swap;
}

@font-face {
    font-family: 'HarmonySansSC-Thin';
    src: url('font/HarmonyOS_Sans_SC_Thin.ttf') format('truetype');
    font-display: swap;
}

body {
    background-color: #fefefe;
}

#content-box {
    font-family: HarmonySansSC-Light;
    margin-bottom: 0px;
}

#result-box {
    font-family: HarmonySansSC-Thin;
    margin-top: 0.1rem;
    font-size: 2rem;
}


button {
    background-color: #fffffd;
    color: black;
}

@media screen and (prefers-color-scheme: dark) {
    body {
        background-color: #0a0a0a;
    }

    :root {
        color: white;
    }

    button {
        background-color: #1f1f1f;
        color: white;
    }
}

@media (min-width: 328px) {
    #app {
        width: 70vw;
    }
}

@media (min-width: 768px) {
    #app {
        width: 40vw;
    }
}

@media (min-width: 1024px) {
    #app {
        width: 25vw;
    }
}

#app-title {
    font-weight: light;
    font-family: 'HarmonySansSC-Thin';
    margin-block-start: 0;
}

#app {
    margin: 0;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
}

a {
    position: fixed;
    bottom: 1.5rem;
    left: 1.5rem;
}

.cal-div {
    padding: 15px;
    /* box-shadow: 0 0 18px 0 rgb(0 0 0 / 4%); */
    border-radius: 16px;
    text-align: right;
    margin-bottom: 1rem;
}



button {
    font-family: HarmonySansSC-Light;
    height: 4rem;
    padding: 15px;
    outline: none;
    font-size: 2rem;
    border: none;
    border: 1px solid #00000010;
    border-radius: 10px;
    display: flex;
    flex: 1;
    justify-content: center;
    align-items: center;
    margin-bottom: 10px;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.02);
    transition-duration: 0.2s;
}

.special {
    color: #5395FD;
}

.special:hover {
    background-color: #5395FD;
    color: white;
}

.number-div button {
    flex: 0 0 32%;
}

.number-div button:hover {
    background-color: #5395FD;
    color: white;
}

.symbol-div button {
    color: #5395FD;
    flex: 0 0 18%;
}

.symbol-div button:hover {
    background-color: #5395FD;
    color: white;
}

.symbol-div {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

.number-div {
    display: flex;
    flex-direction: row;
    flex-flow: row wrap;
    justify-content: space-between;
}