html {
    scroll-behavior: smooth;
}

body {
    font-family: "Century Gothic", "微軟正黑體", sans-serif;
    overflow-x: hidden;
    color: #040000;
}

a {
    text-decoration: none;
}

.fs-18 {
    font-size: 1.125rem;
}

.text-justify {
    text-align: justify;
}

.text-red {
    color: #912123
}

.text-danger {
    color: #b92d22 !important
}

.bg-warning {
    background-color: #fffbc2 !important;
}

.bg-warning-ff {
    background-color: #fffbc2;
}

.bg-warning-f8 {
    background-color: #fffaa8;
}

.btn-danger {
    --bs-btn-bg: #b92d22;
}

.text-style-times {
    font-family: Georgia, "Times New Roman", Times, serif, "新細明體", "PMingLiU";
}

.z-01 {
    z-index: -1;
}

.social-icon .btn,
[href="#top"] {
    max-width: 60px;
}

.col-xxl-9 {
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
}

main {
    text-shadow: 1px 2px 1px #fff;
}

a,
.btn {
    text-shadow: none !important
}

main h2:before {
    content: "";
    position: absolute;
    left: 0;
    bottom: -4px;
    height: 10px;
    width: 100px;
    background-color: #fff000;
    border-bottom: 1px dashed #912123
}

main h2:after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    height: 1px;
    width: 100%;
    background-color: #333;
}

@media (max-width:991px) {
    header>div>.position-relative {
        position: static;
    }

    .offcanvas.offcanvas-top {
        height: 80vh;
    }

    hr {
        opacity: 1;
    }

    span.position-absolute.bottom-50.start-0 {
        bottom: 80% !important;
    }
}

@media (max-width:575px) {
    h2.display-5 {
        font-size: calc(1.425rem + 1.6vw);
    }

    header h4 {
        font-size: 1.2rem;
    }
}