@font-face {
    font-family: 'Harmony_blod';
    src: url(../fonts/HarmonyOS_Sans_SC_Bold.ttf) format("opentype");
}

@font-face {
    font-family: 'Harmony';
    src: url(../fonts/HarmonyOS_Sans_SC_Medium.ttf) format("opentype");
}

@font-face {
    font-family: 'TaipeiSans';
    src: url(../fonts/TaipeiSansTCBeta-Regular.ttf) format("opentype");
}

@font-face {
    font-family: 'TaipeiSans_bold';
    src: url(../fonts/TaipeiSansTCBeta-Bold.ttf) format("opentype");
}

@font-face {
    font-family: 'Lucida Console_bold';
    font-weight: bold;
    src: local("Lucida Console");
}

@font-face {
    font-family: 'Courier New_bold';
    font-weight: bold;
    src: local("Courier New");
}

* {
    font-family: "Harmony", arial, "Microsoft JhengHei", "微軟正黑體", sans-serif;
    line-height: 1.5;
    -webkit-overflow-scrolling: touch;
}

body {
    -webkit-text-size-adjust: 100%;
}

img {
    image-rendering: -moz-crisp-edges;
    /* Firefox */
    image-rendering: -o-crisp-edges;
    /* Opera */
    image-rendering: -webkit-optimize-contrast;
    /*Webkit (non-standard naming) */
    image-rendering: crisp-edges;
    -ms-interpolation-mode: nearest-neighbor;
    /* IE (non-standard property) */
    -webkit-user-drag: none;
}

p,
span,
label {
    font-family: inherit;
}

.mask {
    position: fixed;
    top: 0px;
    left: 0px;
    display: flex;
    align-items: center;
    align-content: center;
    justify-content: center;
    flex-wrap: wrap;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.75);
    z-index: 999;
}

.none {
    display: none;
}

main {
    padding: 4em 10px;
    overflow: hidden;
}

textarea {
    resize: none;
}

input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none;
}

input[type="number"] {
    -moz-appearance: textfield;
}


/* 頁碼 */

.page_num {
    display: flex;
    align-content: center;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-width: 200px;
    margin: 0px auto;
    padding: 1.5em 0px 0px;
    color: #A86300;
}

.page_num>a {
    line-height: 0;
}


/* 頁面背景通用 */

.big_bg {
    position: fixed;
    top: 0px;
    left: 0px;
    width: 100vw;
    height: 100vh;
    line-height: 0;
    z-index: -1;
    overflow: hidden;
}

.big_bg>img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}


/* 考試用字型 */
.myfont,
.myfont span,
.myfont input{
    font-family: "Lucida Console_bold", "Lucida Console", "Courier New_bold","TaipeiSans";
}