/* 使用Google fonts線上字型 */

/* font-family: 'Noto Sans TC', sans-serif; */
/* 標準 = regular = 400 */
/* 中等 = medium = 500 */
/* 粗體 = bold = 700 */


@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+TC:ital,wght@0,100..900;1,100..900&display=swap');
/* @import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400&family=Noto+Sans+TC:wght@400;500;700&display=swap'); */

@font-face {
    font-family: custom-sans-serif;
    src: 'Noto Sans TC';
    unicode-range: U+4E00-9FFF;
}

@font-face {
    font-family: custom-sans-serif;
    src: 'Montserrat';
    unicode-range: U+00-024F;
}

.custom-sans-serif {
    font-family: custom-sans-serif;
}

/* 'Montserrat', 'Noto Sans TC' */

* {
    font-family: custom-sans-serif, sans-serif;
}

.circle {
    font-family: 'Montserrat';
    font-weight: 400;
}

html, body {
    background: #e6e6e6;
    font-weight: normal;
    font-size: 15px;
    margin: 0;
    touch-action: manipulation;
}

@media screen and (max-width: 900px) {
    html, body {
        font-size: 18px;
    }

}

header {
    margin : 0 ;
    display: block;
    align-items: center;
    justify-content: space-between;
    padding: 1em 2em;
    top: 0;
    left: 0;
    z-index: 999;
}

.headerDiv .mainCircle {
    display: none;
}

#mobile_header, #mobile_menu_header {
    display: none;   
}

@media screen and (max-width: 900px) {
    header {
        display: none;
        position: fixed;
        height: 100%;
        width: 100%;
        background-color: inherit;
    }

    #mobile_header {
        display: flex;
        z-index: 10;
        justify-content: space-between;
        align-items: center;
        padding: 3%;
    }

    #mobile_menu_header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 3%;
    }

    .headerDiv {
        height: 100%;
        overflow-y: auto;
    }

    .headerDiv .mainCircle {
        display: block;
        top: 12%;
        right: 12%;
        width: 40%;
        font-size: 8.2px;
        animation: circle 10s infinite linear;
    }

    .headerDiv .mainCircle text {
        fill: #ff4000;
    }
}

#banner{
    position: relative;
    width: 100%;
    margin: auto 0;
}

#div{
    position: relative;
    width: 100%;
    margin: auto 0;
    height: 100dvh;
    overflow-x: hidden;
}

#div-1{
    position: relative;
    width: 100%;
    margin: auto 0;
    display: flex;
    flex-wrap: wrap;
}

a {
    color: #ff4000;
    text-decoration: none;
}

a:hover {
    color: #bababa;
}

#backToTop {
    display: none; /* 預設隱藏按鈕 */
    position: fixed; /* 固定位置 */
    bottom: 20px; /* 距離頁面底部的距離 */
    right: 20px; /* 距離頁面右側的距離 */
    z-index: 99; /* 確保它位於其他元素之上 */
    border: none; /* 不需要邊框 */
    outline: none; /* 不需要外框 */
    cursor: pointer; /* 滑鼠指針變為手指形狀 */
    padding: 15px; /* 內部填充 */
    border-radius: 10px; /* 圓角邊框 */

    animation-duration: .5s;
}


#backToTop img {
    max-width: 50px;
}

footer {
    margin: 5em auto 2em auto;
    display: flex;
    justify-content: center;
}

footer div {
    margin: auto 20px ;
    color:  #ff4000;
}

footer .social a {
    margin: 10px;
}

footer div.info div {
    color: #858585;
}

footer img {
    width: 100px;
}

footer img.icon {
    vertical-align: sub;
    width: 20px;
}

footer .btnS-B {
    padding: 5px 10px;
}

.btnS-connect {
    padding: 5px 10px;
    background: linear-gradient(to top, #ff4000, #ff4000, #fff);
    color: #fff;
    border-radius: 20px;
    font-weight: 500;
    border: none;
    min-width: 5em;
}

@media screen and (max-width: 900px) {
    footer div {
        margin: auto 10px;
    }

    footer .social {
        display: flex;
        flex-direction: column;
    }
}

/*主標題 (Work About..)*/
h1{
    margin: 0.5em;
    font-size: 50px;
    color:  #ff4000;
}

/*副標題 */
h2{
    margin: 0.5em;
    font-size: 30px;
    color:  #bababa;
}

/*內容大標題 */
h3{
    margin-bottom: 0.5em;
    font-size: 35px;
    color:  #000;
}

h4{
    margin: 0.5em;
    color:  #ff4000;
}

/*小標題*/
label{
    font-size: 20px;
}


/*背景圖*/
.banners{
    min-height: 100%;
    max-height: 100%;
    width: 100%;
}

/*button*/
.btnS-B {
    color: #fff;
    padding: .5em 1em;
    background: #ff4000;
    border-radius: 20px;
    font-weight: 500;
    border: none;
    min-width: 5em;
}

.cancel {
    background: #bababa;
}

/*指標*/
.hook{
    width: 30%;
    height: auto;
    margin: auto 1rem ;
    position: absolute;
}

/* 選轉圓圈  > common */
/*.circle{*/
/*  position: absolute;*/
/*  width: 13%;*/
/*  font-size: 10px;*/
/*  margin: 10em auto 0;*/
/*  animation: circle 10s infinite linear;*/
/*}*/

.circle {
    position: absolute;
    width: 13%;
    font-size: 10px;
    margin: 10em auto 0;
    transform: rotate(100deg);
    animation: circle-animate 7s
    cubic-bezier(0.17, 0.7, 0, 1);
}

@media screen and (max-width: 900px) {
    .circle {
        font-size: 11px;
    }

}

.about-circle-animation {
    animation: circle-about-animate 7s cubic-bezier(0.17, 0.7, 0, 1);
}

.about-circle-none {
    opacity: 0;
}

@keyframes circle-animate {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(820deg);
    }
}

@keyframes circle-about-animate {
    0% {
        transform: rotate(0deg);
        opacity: 0;
    }
    40% {
        opacity: 1;
    }
    100% {
        transform: rotate(820deg);
    }
}

.circle text{
    fill: #bababa;
}

.circle svg{
    display: block;
    overflow: visible;
    transition: 10s;

}
.circle path{
    fill: none;
}

@keyframes circle {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}


/*checkbox*/

[type=checkbox] {
    width: 2rem;
    height: 2rem;
    font-size: 0px;
    color: transparent;
    box-shadow: inset 0 0 0 1px #ff4000;
    vertical-align: middle;
    -webkit-appearance: none;
    background: none;
    border: 0;
    outline: 0;
    flex-grow: 0;
    border-radius: 50%;
    background-color: transparent;
    cursor: pointer;
}


/* Pseudo element for check styling */

[type=checkbox]::before {
    content: "";
    color: transparent;
    display: block;
    width: inherit;
    height: inherit;
    border-radius: inherit;
    border: 0;
    background-color: transparent;
    background-size: contain;
    box-shadow: inset 0 0 0 1px #ff4000;
}


/* Checked */

[type=checkbox]:checked {
    background-color: currentcolor;
}

[type=checkbox]:checked::before {
    background-size: 100% 100%;
    background-image: url(../img/check-lg.png);
    color: #ff4000;
}










