html {
    scroll-behavior: smooth;
}

body {
    font-family: "Century Gothic", "微軟正黑體", sans-serif;
    overflow-x: hidden;
    color: #250d0b;
    background-image: url(../images/423019_bg.png);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    background-attachment: fixed;
}

.bg {
    background-image: url(../images/423019_bg_2.png);
    background-attachment: fixed;
}

a {
    text-decoration: none;
}

.fs-14 {
    font-size: 0.875rem;
}

.fs-15 {
    font-size: 0.9375rem;
}

.fs-18 {
    font-size: 1.125rem;
}

.text-justify {
    text-align: justify;
}

.text-success {
    color: #1b3010 !important;
}

.text-red {
    color: #912123
}

.text-danger {
    color: #db5347 !important
}

.bg-danger {
    background-color: #db5347 !important;
}

.bg-warning {
    background-color: #ebd4bb !important;
}

.btn-danger {
    --bs-btn-bg: #db5347;
}

.text-style-times {
    font-family: Georgia, "Times New Roman", Times, serif, "新細明體", "PMingLiU";
}

.z-01 {
    z-index: -1;
}

.show-content {
    height: 550px;
}

.show-content::-webkit-scrollbar {
    width: 12px;
}

.show-content::-webkit-scrollbar-track {
    border-radius: 10px;
    background: #e4ddda;
}

.show-content::-webkit-scrollbar-thumb {
    border-radius: 10px;
    background: #563837;
}

.social-icon .btn,
[href="#top"] {
    max-width: 60px;
}

main,
header h2,
header h3 {
    text-shadow: 1px 2px 1px #fff;
}

a,
.btn {
    text-shadow: none !important
}

header .rounded-circle {
    width: 170px;
    height: 170px;
    border: 3px dotted #ebd4bb;
    box-shadow: 0 0 0 8px #db5347;
}

.heading-icon {
    flex: 0 0 35px;
    width: 35px;
}

.tag {
    bottom: 150px;
    transform: rotate(10deg) translate(-20px, 0)
}

@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;
    }

    .tag+h3+h4 {
        margin-top: 4rem !important;
    }

    .tag {
        bottom: 200px;
        right: -42px !important;
    }
}

@media (max-width:575px) {
    h2.display-5 {
        font-size: calc(1.425rem + 1.6vw);
    }

    header h4 {
        font-size: 1.2rem;
    }

    .rounded-5 {
        border-radius: 1rem !important
    }

    header .rounded-circle {
        width: 120px;
        height: 120px;
        border: 2px dotted #ebd4bb;
        box-shadow: 0 0 0 4px #db5347;
    }

    header .rounded-circle * {
        font-size: 0.8rem !important;
    }

    .tag {
        bottom: 205px;
        right: -15px !important;
    }

    .tag+h3+h4 {
        margin-top: 2rem !important;
    }
}

@media (max-width:390px) {
    .h3.fs-m {
        font-size: 1.25rem;
    }
}