@font-face{
    font-family: mcia;
    src: url(../media/font/Minecraftia-Regular.ttf);
}
@font-face{
    font-family: mcer;
    src: url(../media/font/Minecrafter-Reg.ttf);
}

body{
    font-family: mcia;
}


::-webkit-scrollbar-corner{
    background-color: transparent;
}

.bg{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-image: none;
    background-repeat: repeat;
    background-size: 5rem;
    filter: brightness(.25);
}
#bg{
    z-index: -1;
    position: fixed;
    top: 0;
    left: 0;
    object-fit: cover;
    width: 100vw;
    height: 100vh;
}

.btn *{
    user-select: none;
}

::-webkit-scrollbar{
    width: .5rem;
    height: .65rem;
}
::-webkit-scrollbar-track:vertical{
    background-image: url(../media/img/scrollbar/scrollbar_ver.svg);
    background-repeat: repeat-y;
    background-size: contain;
}
::-webkit-scrollbar-track:horizontal{
    background-image: url(../media/img/scrollbar/scrollbar_hoi.svg);
    background-repeat: repeat-x;
    background-size: contain;
}
::-webkit-scrollbar-thumb:vertical{
    background: #d0d1d4;
    border-bottom: solid .25rem #58585a;
    outline: solid .15rem #000;
    box-shadow: 0 .25rem 0 rgba(48, 48, 48, .5);
}
::-webkit-scrollbar-thumb:horizontal{
    background: #d0d1d4;
    border-bottom: solid .15rem #58585a;
    outline: solid .2rem #000;
}
::-webkit-scrollbar-thumb:hover{
    background: #f4f6f9;
}
::-webkit-scrollbar-thumb:active{
    background: #b1b2b5;
    box-shadow: none;
    border-bottom: 0;
}


.icon{
    position: fixed;
    background-image: url(../media/img/icon/icon.png);
    background-size: cover;
    height: 4rem;
    width: 4rem;
    object-fit: cover;
    border-radius: .3rem;
    top: 1rem;
    left: 1rem;
    z-index: -1;
}



.btn-option{
    text-align: center;
}

.btn, .btn *{
    display: inline-block;
}
.btn{
    vertical-align: middle;
    text-align: center;
    height: 2.8rem;
    margin: 0 .075rem 0 .075rem;
    cursor: pointer;
}
.btn .btnBg{
    text-align: center;
    overflow: hidden;
    height: 2.475rem;
    width: calc(100% - .375rem);
    margin: 0;
    padding: 0;
}

.btn.length1{
    width: calc((max(20rem, 100%) - .25rem));
}

.btn.length2{
    width: calc((max(20rem, 100%) - .4rem) / 2);
}

.btn.length3{
    width: calc((max(20rem, 100%) - .55rem) / 3);
}

.btn.length4{
    width: calc((max(20rem, 100%) - .75rem) / 4);
}


.btn.normal{
    height: 1.875rem;
    width: 5rem;
    border-bottom: .2rem solid #58585a;
    outline: solid .15rem #1e1e1f;
}
.btn.normal .btnBg{
    height: 1.5rem;
    width: calc(100% - .35rem);
    color: #000;
    line-height: 1.25rem;
    background-color: #d0d1d4;
    border: 0.2rem solid #e3e3e5;
}
.btn.normal:hover .btnBg{
    background-color: #f4f6f9;
}
.btn.normal:active{
    border-bottom: 0;
    transform: translateY(.1rem);
}
.main.btn:active{
    border-bottom: 0;
    transform: translateY(.275rem);
}

.btn.option{
    border-bottom: .3rem solid #58585a;
    outline: solid .15rem #1e1e1f;
}
.btn.option .btnBg{
    color: #000;
    background-color: #d0d1d4;
    white-space: nowrap;
    border: 0.2rem solid #e3e3e5;
}
.btn.option:hover .btnBg{
    background-color: #f4f6f9;
}
.btn.option.active .btnBg{
    color: #FFF;
    background-color: #3c8527;
    border: 0.2rem solid #4f913c;
}

.btn.option.locked{
    cursor: default!important;
}
.btn.option.locked:not(.active){
    border-bottom: .3rem solid #b1b2b5;
    outline: solid .15rem #8c8d90;
}
.btn.option.locked.active{
    outline: solid .15rem #8c8d90;
}
.btn.option.locked .btnBg{
    color: #48494a;
    background-color: #d0d1d4;
    border: 0.2rem solid #d0d1d4;
}


.btn.tab{
    border-bottom: .3rem solid #313233;
    outline: solid .15rem #1e1e1f;
}
.btn.tab .btnBg{
    color: #FFF;
    background-color: #48494a;
    border: 0.2rem solid #5a5b5c;
}
.btn.tab:hover .btnBg{
    background-color: #58585a;
    border: 0.2rem solid #68686a;
}
.btn.tab.active .btnBg{
    background-color: #313233;
    border: 0.2rem solid #454647;
}


.btn.active{
    border-bottom: 0;
    transform: translateY(.14rem);
    cursor: default;
}


:is(.input-switch, .input-box) .input{
    width: 6rem;
    vertical-align: middle;
    text-align: right;
    padding-right: .5rem;
}
.content section:has(table){
    padding-top: 0!important;
}
:is(.input-switch, .input-box) td:first-child{
    padding: .25rem 0!important;
}
:is(.input-switch, .input-box) td:last-child{
    padding: .5rem .25rem .25rem .25rem!important;
}
.input-box .input .box{
    text-align: left;
    white-space: nowrap;
    color: #FFF;
    caret-color: #64ae46;
    vertical-align: text-top;
    overflow: hidden;
    line-height: 1.75rem;
    padding: 0 .25rem;
    display: inline-block;
    height: 2rem;
    width: 5rem;
    background-color: #313233;
    border-top: solid .2rem #242425;
    border-left: 0;
    border-right: 0;
    border-bottom: 0;
    outline: solid .2rem #242425;
}
.input-box .input .box.locked{
    color: #666;
    background-color: #d0d1d4;
    border-top: solid .2rem #8c8d90;
    outline: solid .2rem #8c8d90;
}


.input-switch .input{
    user-select: none;
}
.input-switch .input .switch *{
    display: inline-flex;
}
.input-switch .input .switch{
    display: flex;
    position: relative;
    margin-left: auto;
    margin-right: auto;
    height: 2.4rem;
    width: 5rem;
    justify-content: left;
    align-items: center;
    align-content: flex-end;
    cursor: pointer;
}
.input-switch .input .switch .switch-base{
    position: absolute;
    height: 2rem;
    width: 5rem;
    justify-content: left;
    align-items: center;
    outline: solid .2rem #1e1e1f;
    z-index: 100;
    cursor: pointer;
}
.input-switch .input .switch .switch-base :is(.switch-on, .switch-off){
    vertical-align: text-top;
    overflow: hidden;
    justify-content: center;
    line-height: 1.45rem;
    height: 1.625rem;
    width: 50%;
    padding: 0 0 0 .1rem;
    margin: 0;
}
.input-switch .input .switch .switch-base .switch-on{
    color: #FFF;
    background-color: #3c8527;
    border-top: solid .2rem #639d52;
    border-left: solid .2rem #639d52;
    border-bottom: solid .2rem #4f913c;
}
.input-switch .input .switch .switch-base .switch-off{
    color: #242425;
    background-color: #8c8d90;
    border-top: solid .2rem #a3a4a6;
    border-right: solid .2rem #97989b;
    border-bottom: solid .2rem #97989b;
}
.input-switch .input .switch .switch-btn{
    height: 1.875rem;
    width: 2.4125rem;
    border-bottom: solid .4rem #58585a;
    outline: solid .2rem #1e1e1f;
    transform: translateY(-.14rem);
    z-index: 101;
}
.input-switch .input .switch.active .switch-btn{
    transform: translate(2.55rem, -.14rem);
}
.input-switch .input .switch:active .switch-btn{
    border-bottom: 0;
    transform: none;
}
.input-switch .input .switch .switch-btnBg{
    height: 1.6rem;
    width: 100%;
    background-color: #d0d1d4;
    border: solid .2rem #e3e3e5;
}
.input-switch .input .switch:hover .switch-btnBg{
    height: 1.6rem;
    width: 100%;
    background-color: #f4f6f9;
    border: solid .2rem #f8fafb;
}

