﻿/* 定義所有字重 */
@font-face {
    font-family: 'SweiSpringSugar';
    src: url(https://cdn.jsdelivr.net/gh/max32002/swei-spring@1.068/WebFont/CJK%20TC/SweiSpringSugarCJKtc-ExtraLight.woff2) format("woff2");
    font-weight: 200;
}

@font-face {
    font-family: 'SweiSpringSugar';
    src: url(https://cdn.jsdelivr.net/gh/max32002/swei-spring@1.068/WebFont/CJK%20TC/SweiSpringSugarCJKtc-Light.woff2) format("woff2");
    font-weight: 300;
}

@font-face {
    font-family: 'SweiSpringSugar';
    src: url(https://cdn.jsdelivr.net/gh/max32002/swei-spring@1.068/WebFont/CJK%20TC/SweiSpringSugarCJKtc-Regular.woff2) format("woff2");
    font-weight: 400;
}

@font-face {
    font-family: 'SweiSpringSugar';
    src: url(https://cdn.jsdelivr.net/gh/max32002/swei-spring@1.068/WebFont/CJK%20TC/SweiSpringSugarCJKtc-Medium.woff2) format("woff2");
    font-weight: 500;
}

@font-face {
    font-family: 'SweiSpringSugar';
    src: url(https://cdn.jsdelivr.net/gh/max32002/swei-spring@1.068/WebFont/CJK%20TC/SweiSpringSugarCJKtc-SemiBold.woff2) format("woff2");
    font-weight: 600;
}

@font-face {
    font-family: 'SweiSpringSugar';
    src: url(https://cdn.jsdelivr.net/gh/max32002/swei-spring@1.068/WebFont/CJK%20TC/SweiSpringSugarCJKtc-Bold.woff2) format("woff2");
    font-weight: 700;
}

@font-face {
    font-family: 'SweiSpringSugar';
    src: url(https://cdn.jsdelivr.net/gh/max32002/swei-spring@1.068/WebFont/CJK%20TC/SweiSpringSugarCJKtc-Black.woff2) format("woff2");
    font-weight: 800;
}

* {
    /*font-family: SweiSpringSugar !important;*/
    font-family: Noto Sans TC !important;
    font-weight: 400;
}

html {
    /*scroll-snap-type: y mandatory;*/
    scroll-behavior: smooth;
    overflow-y: scroll;
    height: 100%;
}

body {
    height: 100%;
    margin: 0;
}

.content_plan, .content_step, .content_news, .content_result {
    scroll-snap-align: start;
    scroll-margin-top: 80px; /* 偏移 80px */
    scroll-margin-bottom: -80px;
}

.content_plan {
    background-image: url('../../_img_temp/paul2.png');
    background-position: center bottom;
}

.navbar-custom {
    background-color: rgba(61, 45, 31, 0.8);
    height: 80px;
}

.navbar-collapse {
    background-color: transparent;
}

@media (max-width: 991.98px) {
    .navbar-collapse {
        background-color: rgba(61, 45, 31, 0.8);
        padding: 15px; /* 建議增加一點內距，讓選單內容不貼邊 */
        border-radius: 8px; /* 選擇性：讓選單看起來更有設計感 */
    }
}

.nav-link.dropdown-toggle.show {
    color: white;
}

/* 所有連結都有底線，但不影響箭頭 */
.navbar .nav-link {
    position: relative;
    padding-bottom: 10px;
}

    .navbar .nav-link::before {
        content: '';
        position: absolute;
        left: 50%;
        bottom: 4px;
        width: 0;
        height: 5px;
        background-color: #f1f2ad;
        transition: width 0.3s ease;
        border-radius: 2px;
    }

    .navbar .nav-link:hover::before {
        width: 100%;
        left: 0;
    }

/*MENU項目拉開距離*/
.dropdown-menu.show {
    margin-top: 20px;
    box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
    border: none;
    background-color: rgba(61, 45, 31, 0.8);
}

.dropdown-item {
    color: white !important;
}

    .dropdown-item:hover {
        background-color: rgba(255, 255, 255, 0.2);
    }

a.dropdown-item:hover {
    /*color: #f1f2ad !important;*/
}

#Accesskey_U {
    color: rgba(61, 45, 31, 0.8) !important;
}

.content_plan .container-fluid {
    padding: 30px;
    margin-top: 80px;
    color: black;
    text-align: center;
}

.planTitle {
    font-size: 5rem;
    color: black;
    font-weight: 600;
}

.planInfo {
    color: #4a4a4a
}

.planBox {
    width: 1000px;
    background-color: rgba(255, 255, 255, 0.5) !important;
    /*backdrop-filter: blur(50px);*/
    border: 1px solid white;
    box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
    margin-top: 120px !important;
}
