*{
    font-family: 'Noto Sans TC', sans-serif;
}
body{
    margin: 11px 14px 12px 1%;
    padding: 0px;
}
.leftbox{
    width: 408px;
    height: 715px;
    background: #C9C9C9;
    border: 1px solid #CBC1C1;
    box-sizing: border-box;
    box-shadow: 4px 4px 2px rgba(0, 0, 0, 0.25);
    border-radius: 27px;
}
.titletext{
    position: relative;
    width: 308px;
    height: 59px;
    font-style: normal;
    font-weight: normal;
    font-size: 50px;
    line-height: 117%;
    color: #000;
    left: 50px;
    text-align: center;
    display: inline-block;
}
.numbertext{
    position: relative;
    width: 85px;
    height: 36px;
    left: 25px;
    top: 13px;
    font-style: normal;
    font-weight: normal;
    font-size: 30px;
    line-height: 35px;
    color: #000000;
}
.fractiontext{
    position: relative;
    width: 85px;
    height: 35px;
    left: 140px;
    top: 13px;
    font-style: normal;
    font-weight: normal;
    font-size: 30px;
    line-height: 35px;
    color: #000000;
}
.input{
    width: 111px;
    height: 62px;
    background: #FFFFFF;
    box-shadow: 4px 4px 2px rgba(0, 0, 0, 0.25);
    border-radius: 94px;
    border-style: none;
    font-size: 30px;
    text-align: center;
}
.numberinput{
    position: relative;
    left: 25px;
    top: 20px;
}
.fractioninput{
    position: relative;
    left: 76px;
    top: 20px;
}
.subjecttext{
    position: relative;
    width: 85px;
    height: 44px;
    left: 56px;
    top: 44px;
    font-style: normal;
    font-weight: normal;
    font-size: 30px;
    line-height: 35px;
    color: #000000;
}
.suject{
    position: relative;
    top: 43px;
    width: 211px;
    height: 53px;
    background: #FFFFFF;
    box-shadow: 4px 4px 2px rgba(0, 0, 0, 0.25);
    border-radius: 15px;
    left: 70px;
    text-align: center;
    font-size: 25px;
    cursor: pointer;
}
.addBTN{
    position: relative;
    width: 189px;
    height: 175px;
    left: 9px;
    top: 70px;
    background: radial-gradient(65.43% 65.43% at 35.19% 29.43%, rgba(255, 184, 0, 0.9) 0%, rgba(255, 153, 0, 0) 100%), #FFE600;
    box-shadow: 4px 4px 2px rgba(0, 0, 0, 0.25);
    border-radius: 24px;
    margin-bottom: 70px;
    transition: 0.5s;
}
.addBTN:hover{
    cursor: pointer;
    transform: scale(1.13);
    transition: 0.5s;
}
.squareBTNtitletext{
    position: relative;
    width: 111px;
    height: 30px;
    left: 16px;
    top: 18px;
    font-style: normal;
    font-weight: normal;
    font-size: 24px;
    line-height: 28px;
    color: #000000;

}
.squareBTNtext{
    position: relative;
    width: 149px;
    height: 102px;
    left: 17px;
    top: 35px;
    font-style: normal;
    font-weight: normal;
    font-size: 20px;
    line-height: 28px;
    color: #000000;
    opacity: 0.7;
}
.calculateBTN{
    position: relative;
    width: 189px;
    height: 175px;
    left: 211px;
    bottom: 175px;
    background: radial-gradient(65.43% 65.43% at 35.19% 29.43%, rgba(255, 92, 0, 0.9) 0%, rgba(255, 153, 0, 0) 100%), #FF3D00;
    box-shadow: 4px 4px 2px rgba(0, 0, 0, 0.25);
    border-radius: 24px;
    transition: 0.5s;
}
.calculateBTN:hover{
    cursor: pointer;
    transform: scale(1.13);
    transition: 0.5s;
}
.ClearBTN{
    position: relative;
    width: 391px;
    height: 82px;
    left: 9px;
    top: 100px;
    background: radial-gradient(65.43% 65.43% at 35.19% 29.43%, rgba(189, 255, 0, 0.9) 0%, rgba(255, 153, 0, 0) 100%), #42FF00;
    box-shadow: 4px 4px 2px rgba(0, 0, 0, 0.25);
    border-radius: 24px;
    transition: 0.5s;
}
.ClearBTN:hover{
    cursor: pointer;
    transform: scale(1.1);
    transition: 0.5s;
}
.ClearBTN::after{
    position: relative;
    content: '';
    display: inline-block;
    width: 2px;
    height: 40px;
    background-color: black;
    top: 11px;
    right: 50px;
    opacity: 0.3;
}
.rectangletitletext{
    position: relative;
    width: 111px;
    height: 30px;
    left: 35px;
    font-style: normal;
    font-weight: normal;
    font-size: 24px;
    color: #000000;
}
.rectangletext{
    position: relative;
    width: 111px;
    height: 30px;
    left: 140px;
    font-style: normal;
    font-weight: normal;
    font-size: 20px;
    line-height: 82px;
    color: #000000;
    opacity: 0.7;
}
.separate{
    position: relative;
    width: 50px;
    height: 64px;
    left: 25px;
    top: 9px;
    background-color: black;
}
.downloadBTN{
    position: relative;
    width: 391px;
    height: 82px;
    left: 9px;
    top: 130px;
    background: radial-gradient(65.43% 65.43% at 35.19% 29.43%, rgba(0, 255, 240, 0.9) 0%, rgba(255, 153, 0, 0) 100%), #00A3FF;
    box-shadow: 4px 4px 2px rgba(0, 0, 0, 0.25);
    border-radius: 24px;
    transition: 0.5s;
}
.downloadBTN:hover{
    cursor: pointer;
    transform: scale(1.1);
    transition: 0.5s;
}
.downloadBTN::after{
    position: relative;
    content: '';
    display: inline-block;
    width: 2px;
    height: 40px;
    background-color: black;
    top: 11px;
    right: 90px;
    opacity: 0.3;
}
.inputbox{
    position: relative;
    width: 378px;
    height: 204px;
    left: 13px;
    top: 9px;
    background: radial-gradient(130.47% 132.35% at 42.15% 19.25%, rgba(243, 239, 232, 0.9) 0%, rgba(86, 84, 81, 0) 100%), #E3E3E3;
    box-shadow: 4px 4px 2px rgba(0, 0, 0, 0.25);
    border-radius: 24px;
    margin-bottom: -45px;
}
.rightbox{
    position: absolute;
    top: 11px;
    left: 440px;
    width: 68%;
    height: 715px;
    background: #C4C4C4;
    box-shadow: 4px 4px 2px rgba(0, 0, 0, 0.25);
    border-radius: 27px;
}
/* 表格 */
.rightinbox{
    background-color: #C4C4C4;
    width: 926px;
    margin: 27px 0px 27px 29px; 
}
.horizontal{
    width: 984px;
    display: flex;
}
.sheet{
    width: 75px;
    height: 25px;
    background-color: white;
    border-bottom: 2px solid black;
    border-left: 2px solid black;
    text-align: center;
    line-height: 25px;
    display: flex;
    flex-direction: column;
}
.number-,.chinese-,.math-,.english-,.science-,.history-,.geography-,.citizen-,.socialAverage-,.total-,.average-,.ranking-{
    border-top: 2px solid black;
}
.ranking,.ranking-{
    border-right: 2px solid black;
}

/* 彈窗動畫 */
.alertbox {
    position: fixed;
    bottom: 55px;
    width: 190px;
    height: 45px;
    transform: translateX(-50%);
    left: 50%;
    background-color:rgb(33, 33, 33);
    text-align: center;
    line-height: 45px;
    font-size: 20px;
    color: white;
    border-radius: 5px;
    z-index: 9999;
}
.a{
    opacity: 0;
}
.show{
    animation-name: showalert;
    animation-duration: 0.3s;
    animation-timing-function: ease-out;
    animation-delay: 0s;
    animation-iteration-count: 1;
    animation-direction: normal;
    animation-fill-mode: none;
    opacity: 1;
}
.hide{
    animation-name: hidealert;
    animation-duration: 0.3s;
    animation-timing-function: ease-out;
    animation-delay: 0s;
    animation-iteration-count: 1;
    animation-direction: normal;
    animation-fill-mode: none;
    opacity: 0;
}
@keyframes showalert {
    0%{
      opacity: 0;
    }
    100%{
      opacity: 1;
    }
}
@keyframes hidealert {
    0%{
      opacity: 1;
    }
    100%{
      opacity: 0;
    }
}
.fas{
    text-align: center;
    color: rgb(209, 209, 209);
    font-size: 45px;
    background-color: rgb(180, 175, 175);
    border-radius: 90px;
    z-index: +1;
    position: relative;
    top: 70px;
    padding: 5px;
}
.fas:hover{
    box-shadow: none;
    transform: rotate(360deg);
    transition: 1s;
    cursor: pointer;
}
.all{
    width: 100%;
    height: 1000px;
    background-color: black;
    position: fixed;
    top: 0px;
    left: 0px;
    z-index: 98;
    opacity: 0.5;
    display: none;
}
.setup{
    position: fixed;
    transform: translate(-50%,-50%);
    top: 50%;
    left: 50%;
    width: 70%;
    height: 80vh;
    background-color: #C9C9C9;
    z-index: 99;
    display: none;
    border-radius: 10px;
}
.far{
    position: relative;
    left: 90%;
    transform: translateX(-120%);
    font-size: 50px;
    background-color: #C9C9C9;
    border-radius: 90px;
    margin-right: 10px;
    margin-top: 10px;
    display: inline-block;
}
.far:hover{
    background-color: tomato;
    transition: 0.3s;
}
.setupinbox{
    width: 70%;
    height: 85%;
    margin-left: 5%;
    
}
.setuptitle{
    display: inline-block;
    position: relative;
    left: 50px;
    font-size: 40px;
    line-height: 30px;
}
.uptitle{
    display: inline-block;
}
.outcircle{
    cursor: pointer;
    position: relative;
    width: 60px;
    height: 30px;
    background-color: white;
    display: inline-block;
    margin-left: 30px;
    top: 6px;
    border-radius: 20px;
}
.circle{
    cursor: pointer;
    position: relative;
    transform: translateY(-50%);
    top: 50%;
    left: 6px;
    width: 20px;
    height: 20px;
    background-color: gray;
    border-radius: 50%;
}
.close{
    background-color: gray;
    right: 40px;
    transition: 0.3s;
}
.open{
    background-color: rgb(6, 206, 6);
    left: 35px;
    transition: 0.3s;

}
.acceleratetext{
    opacity: 0.8;
}
/* 鍵盤快速鍵 */
.keyboard{
    font-size: 14px;
    position: relative;
    transform: translateX(-50%);
    left: 50%;
    display: inline-block;
    height: 27px;
}
.keyboardTEXT{
    height: 27px;
    display: inline;
    line-height: 27px;
    color: rgb(54, 53, 53);
}
.keyboardICON{
    float: right;
    color: rgb(54, 53, 53);
    padding: 1px;
    border: 1px solid rgb(54, 53, 53);
    border-radius: 3px;
    opacity: 0.8;
}





/* RWD 請保持最下方*/
@media(max-width:750px){
    .rightbox{
        top: 726px;
        left: 0px;
        overflow-x: scroll;
        width: 408px;
    }
    body{
        margin: 0px;
        width: 100vw;
    }
    .far{
        position: relative;
        left: 70%;
    }
    .uptitle{
        display: inline-block;
        margin-right: 0px;
    }
    .outcircle{
        display: inline-block;
    }
    .setupinbox{
        width: 90%;
    }
}