@import url('https://fonts.googleapis.com/css2?family=Roboto+Mono:wght@200&display=swap');

ul,
li {
    list-style: none;
}

header {
    font-weight: 400;
}

.text-right {
    text-align: right !important;
}

.text_start {
    text-align: start;
}

.margin_a {
    margin: auto;
}

.float_l {
    float: left;
}

.float_r {
    float: right;
}

.table {
    display: table;
}

.d-flex {
    display: flex;
}

.justify-content {
    justify-content: center;
}

.justify-content-space-between {
    justify-content: space-between;
}

.overflow-hidden {
    overflow: hidden;
}

.footer_logo {
    max-width: 15.65rem;
}

.footer-content {
    display: flex;
    -ms-flex-direction: column;
    flex-direction: column;
    align-content: space-around;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: stretch;
}


img,
video {
    max-width: 100%;
    height: auto;
}

.btn-more {
    position: relative;
    border: 0.15rem dashed #E8953C;
    padding: .5rem 1.2rem;
    color: #6D3C21;
    border-radius: 10rem;
    transition: all .5s ease;
    background-color: #fff;
}

/* .btn-more:after {
    position: absolute;
    top: 1;
    right: 1;
    height: 100%;
    width: 1.25rem;
    opacity: 0;
    content: ">";
    color: #fff;
    -webkit-transition: left .5s ease-in-out, opacity .5s ease-in-out;
    transition: left .5s ease-in-out, opacity .5s ease-in-out;
} */

.btn-more:hover {
    background: #E8953C;
    color: #fff;
}

.btn-more:hover:after {
    right: 1.5rem;
    opacity: 1;
    color: #fff;
}

.btn-donate2 {
    font-size: 1.2rem;
    padding: .8rem 2rem;
}

.btn-donate2:hover {
    background-color: #ffeeca;
    color: #6D3C21;
    border-color: #ffad00;
}

.btn-donate2:after {
    position: absolute;
    top: 0;
    right: -3.5rem;
    /* 可以調整距離 */
    transform: translateY(-50%);
    width: 100%;
    height: 60%;
    opacity: 0;
    content: "";
    background: url("../images/heart.svg") no-repeat center;
    background-size: contain;
    transition: right .5s ease-in-out, opacity .5s ease-in-out;
}

.btn-donate2:hover:after {
    right: -4rem;
    /* hover 時往外移一點 */
    opacity: 1;
}

.arrow-icon {
    position: relative;
    display: inline-block;
    width: 2.5rem;
    height: 2.5rem;
    background: #E8953C;
    border-radius: 3.12rem;
    border: 0;
}


.footer-list {
    font-weight: bold;
    margin-bottom: 0;
    font-size: 1.1rem;
    position: relative;
}

.footer-list::after {
    content: "|";
    position: absolute;
    right: -10px;
    color: #ececec;
}

/* 第一個連結前面不要 | */
.footer-list:first-child::before {
    content: "";
}

/* 最後一個連結不要顯示 | */
.footer-list:last-child::after {
    content: "";
}

/*top鍵*/
.toTop-arrow {
    width: 3rem;
    height: 3rem;
    padding: 0;
    margin: 0;
    border: 0;
    border-radius: 10%;
    opacity: 0.6;
    background: #333;
    cursor: pointer;
    position: fixed;
    right: 2.1rem;
    bottom: 1rem;
    display: none;
    z-index: 100;
}

.toTop-arrow::before {
    transform: rotate(-45deg) translate(0, -50%);
    left: 0.5rem;
}

.toTop-arrow::after {
    transform: rotate(45deg) translate(0, -50%);
    right: 0.5rem;
}

.toTop-arrow:focus,
.toTop-arrow:hover {
    outline: none;
    opacity: 1;
}

/*top鍵*/


.announcement-bar {
    display: flex;
    align-items: center;
    /* justify-content: space-between; */
    /* gap: 1rem; */
    border-radius: 4px;
    padding: 0.25rem 0.5rem;
    max-width: 1200px;
    overflow: hidden;
}

.announcement-icon {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    white-space: nowrap;
    font-size: 1rem;
}

.announcement-container {
    flex: 1;
    overflow: hidden;
    height: 2rem;
}

.announcement-list {
    transition: transform 0.6s ease-in-out;
}

.announcement-item {
    height: 2rem;
    line-height: 2rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    padding-left: 0.5rem;
    font-size: 1rem;
    color: #333;
}

.announcement-item a:hover {
    text-decoration: underline;
    color: #DB984E;
}

.announcement-controls {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.nav-btn {
    background: #fff;
    border: 1px solid #42ae94;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    font-size: 1rem;
    cursor: pointer;
    /* display: flex; */
    align-items: center;
    justify-content: center;
}

.nav-btn:hover {
    background: #42ae94;
}

.nav-btn:hover i {
    color: #fff;
}

.nav-btn i {
    color: #42ae94;
    font-size: 16px;
}




/* 滾動到一定距離後啟用固定 */
.fixed-header {
    position: fixed !important;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1030;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

.btn-donate {
    position: absolute;
    width: 7.93rem;
    height: 6.56rem;
    right: 0;
    z-index: 100;
    color: #895001;
    font-size: 1.1rem;
    font-weight: bold;
    text-align: center;
    transition: 0.3s ease;
    background-image: url("../images/btn_donate.png");
}


.btn-member {
    position: absolute;
    width: 7.93rem;
    height: 6.56rem;
    right: 9rem;
    z-index: 100;
    color: #895001;
    font-size: 1.1rem;
    font-weight: bold;
    text-align: center;
    transition: 0.3s ease;
    background-image: url("../images/btn_member.png");
}

.btn-donate:hover,
.btn-member:hover {
    padding-top: .5rem;
}

.btn-donate i,
.btn-member i {
    font-size: 1.8rem;
    display: flex;
    justify-content: center;
}

.btn-donate span,
.btn-member span {
    position: relative;
}


.footer-info {
    font-size: 1.1rem;
    color: #686868;
    margin: .6rem 0;
}

.fa-s {
    text-align: center;
    width: 1em;
}

.footer-link {
    opacity: .7;
    transition: all .3s ease;
}

.footer-link:hover {
    opacity: 1;
}

.footer-icon a {
    height: 45px;
    width: 45px;
    border-radius: 100%;
    background: #de7a22;
    line-height: 2.81rem;
    opacity: .7;
}

.footer-icon a:hover {
    opacity: 1;
}

.footer-icon a i {
    color: #fff;
}

.g-line-height-2 {
    margin-bottom: 1rem !important;
    line-height: 1.4 !important;
}

.header-tools {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    /* 縮小時允許換行 */
}

.header-tools .order-1 {
    order: 1;
}

.header-tools .order-2 {
    order: 2;
}

.header-tools .order-3 {
    order: 3;
}

@media screen and (max-width: 1539.9px) {
    .btn-member {
        width: 6.5rem;
        height: 6.2rem;
        right: 7.5rem;
        top: 0;
        color: #895001;
        font-size: 1rem;
        text-align: center;
        transition: 0.3s ease;
        border-radius: 0 0 17px 17px;
        background: #f5e3bf;
        box-shadow:
            0 0.25em 0 0 #edc575;
    }

    .btn-donate {
        width: 6.5rem;
        height: 6.2rem;
        right: 0;
        top: 0;
        color: #895001;
        font-size: 1rem;
        text-align: center;
        transition: 0.3s ease;
        border-radius: 0 0 17px 17px;
        background: #ffec76;
        box-shadow:
            0 0.25em 0 0 #e5cd35;
    }

    .btn-donate i,
    .btn-member i {
        font-size: 1.7rem;
        margin-bottom: .2rem;
    }

    .btn-donate:hover,
    .btn-member:hover {
        padding-top: .3rem;
    }
}

@media screen and (max-width: 1469.9px) {
    .header-tools .order-1 {
        order: 2;
    }

    .header-tools .order-2 {
        order: 1;
    }

    .btn-member {
        position: relative;
        width: 9.5rem;
        height: 3rem;
        color: #895001;
        font-size: 1rem;
        text-align: center;
        transition: 0.3s ease;
        border-radius: 50px;
        background: #f5e3bf;
        margin-top: 1rem;
        margin-right: -6rem;
        box-shadow:
            0 0.25em 0 0 #edc575;
    }

    .btn-donate {
        position: relative;
        width: 9.5rem;
        height: 3rem;
        color: #895001;
        font-size: 1rem;
        text-align: center;
        transition: 0.3s ease;
        border-radius: 50px;
        background: #ffec76;
        margin-top: 1rem;
        margin-right: 1.5rem;
        box-shadow:
            0 0.25em 0 0 #e5cd35;
    }

    .btn-donate i,
    .btn-member i {
        font-size: 1.5rem;
        margin-bottom: 0;
        margin-right: .4rem;
        display: inline-block;
    }

    .btn-donate:hover,
    .btn-member:hover {
        padding-top: 0;
        padding-left: .5rem;
    }

    .nav {
        justify-content: flex-end;
    }

    .nav-menu-wrapper {
        top: 150px;
    }
}

@media screen and (max-width: 1399.9px) {
    .nav-menu-wrapper {
        top: 126px;
    }
}

@media screen and (max-width: 1239.9px) {
    .nav {
        justify-content: flex-start
    }

    .btn-donate,
    .btn-member {
        margin-top: 0;
    }
}




@keyframes float {
    0% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-6px);
    }

    100% {
        transform: translateY(0);
    }
}

@media screen and (max-width: 1200px) {}

@media screen and (max-width: 1199px) {
    .show .navbar-nav {
        background-color: #f5f5f5;
        transition: all 0.2s ease-in-out;
        color: #fff;
        max-height: 80vh;
        /* 高度限制 */
        overflow-y: auto;
    }

    .navbar-nav .show>.nav-link {
        color: #fff !important;
    }

    .dropdown-menu {
        text-align: center;
        font-weight: 400;
        box-shadow: none;
        border-radius: 0;
        position: static !important;
        max-height: 500px;
        /* 可自行調整高度 */
        overflow-y: auto;
        overflow-x: hidden;
        float: none;
        transform: translate3d(0px, 0px, 0px) !important;
    }

    .dropdown-menu .dropdown-item {
        font-weight: 700;
        color: #222;
        letter-spacing: 3px;
        border-bottom: 1px dotted #42ae94;
    }
}

@media screen and (max-width: 1024px) {}


@media screen and (max-width: 991px) {}

@media screen and (max-width: 768px) {

    .footer-list {
        font-size: 1.2rem;
        border-bottom: 1px solid #e4e4e4;
        padding: 1rem 1.5rem;
        position: relative;
    }

    .footer-list::after,
    .footer-list::before {
        content: none;
    }

    .footer-list:first-child::before {
        content: "";
    }

    /* 最後一個連結不要顯示 | */
    .footer-list:last-child::after {
        content: "\f105";
    }

    .footer-list::after {
        font-family: "Font Awesome 5 Free";
        content: "\f105";
        /* Unicode for fa-angle-right */
        font-weight: 900;
        position: absolute;
        right: 2.5rem;
        top: 50%;
        transform: translateY(-50%);
        color: #222;
        font-size: 1rem;
    }

    .toTop-arrow {
        right: 1rem;
    }

}

@media screen and (max-width: 768px) {
    .announcement-controls {
        display: none !important;
    }

    .announcement-bar {
        gap: 0;
        padding: 0;
    }

    .announcement-icon,
    .announcement-item {
        font-size: .9rem;
    }

    .btn-more {
        font-size: 1rem;
    }

    .arrow-icon {
        position: relative;
        display: inline-block;
        width: 1.87rem;
        height: 1.87rem;
        background: #E8953C;
        border-radius: 50px;
        border: 0;
    }

    .btn-member,
    .btn-donate {
        width: 8.5rem;
        height: 2.4rem;
    }
}

@media screen and (max-width: 679.9px) {
    .mainHeader {
        height: auto;
    }

    .btn-member {
        position: relative;
        width: 4.5rem;
        height: 3rem;
        color: #1d1203;
        font-size: .9rem;
        text-align: center;
        transition: 0.3s ease;
        background: none;
        margin-top: 0;
        margin-right: -7.5rem;
        box-shadow: none;
        font-weight: 400;
    }

    .btn-donate {
        position: relative;
        width: 4.5rem;
        height: 3rem;
        color: #1d1203;
        font-size: .9rem;
        text-align: center;
        transition: 0.3s ease;
        background: none;
        margin-top: 0;
        margin-right: .5rem;
        box-shadow: none;
        font-weight: 400;
    }

    .btn-donate i,
    .btn-member i {
        font-size: 1.2rem;
        margin-bottom: -0.4rem;
        margin-right: 0;
        display: block;
        color: chocolate;
    }
}