@import url("https://fonts.googleapis.com/css2?family=Noto+Sans+TC:wght@700&display=swap");
h2 {
    font-family: "Noto Sans TC", "微軟正黑體", sans-serif;
}
body {
    background-color: #ffc700;
    font-family: "Verdana", "微軟正黑體", sans-serif;
}
.container {
    max-width: 800px;
    background-color: #fff;
}
.rounded {
    border-radius: 0.8rem !important;
}
:focus {
    border-color: #000 !important;
    box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.3) !important;
}
.notify {
    /*------------提示-----------*/
    position: absolute;
    top: 0px;
    width: 100%;
    height: 0;
    box-sizing: border-box;
    color: white;
    text-align: center;
    overflow: hidden;
    box-sizing: border-box;
    transition: height 0.2s;
}
#notifyType:before {
    display: block;
    margin: 15px;
}
.active {
    height: 50px; /*黑色高*/
    background: rgba(0, 0, 0, 0.6);
}
.activefailure {
    height: 50px;
    background: rgba(247, 0, 0, 0.6);
}
.success:before {
    content: "已複製路徑";
}

.failure:before {
    content: "輸入失敗";
}

.invalid_feedback:before {
    content: "請輸入正確路徑";
    font-size: 0.875em;
    color: #dc3545;
}

/*-----------------------switch------------*/
.switch {
    position: relative;
    display: inline-block;
    width: 90px;
    height: 34px;
}
.switch input {
    display: none;
}
.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgb(255, 197, 2);
    -webkit-transition: 0.4s;
    transition: 0.4s;
}
.slider:before {
    position: absolute;
    content: "";
    height: 26px;
    width: 26px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    -webkit-transition: 0.4s;
    transition: 0.4s;
}

input:checked + .slider {
    background-color: #000;
}
input:focus + .slider {
    box-shadow: 0 0 1px #2196f3;
}
input:checked + .slider:before {
    -webkit-transform: translateX(55px);
    -ms-transform: translateX(55px);
    transform: translateX(55px);
}
/*------ ADDED CSS ---------*/
.on {
    display: none;
}
.on,
.off {
    color: white;
    position: absolute;
    transform: translate(-50%, -50%);
    top: 50%;
    left: 50%;
    font-size: 10px;
    font-family: Verdana, sans-serif;
}
input:checked + .slider .on {
    display: block;
}

input:checked + .slider .off {
    display: none;
}

/* Rounded sliders */
.slider.round {
    border-radius: 34px;
}
.slider.round:before {
    border-radius: 50%;
}
