html {
    scroll-behavior: smooth;
}

body {
    font-family: "Century Gothic", "微軟正黑體", sans-serif;
    background: #ededed url(../images/520018_bg_img.webp);
    background-attachment: fixed;
    background-size: cover;
    background-position: center;
    overflow-x: hidden;
    color: #040000;
}

a {
    text-decoration: none;
}

.fs-18 {
    font-size: 1.125rem;
}

.text-justify {
    text-align: justify;
}


.text-brown {
    color: #967858;
}

.border-style-dashed {
    border-bottom-style: dashed !important;
}

.text-style-times {
    font-family: Georgia, "Times New Roman", Times, serif, "新細明體", "PMingLiU";
}

.show-content {
    height: 550px;
}

.show-content::-webkit-scrollbar {
    width: 12px;
}

.show-content::-webkit-scrollbar-track {
    border-radius: 10px;
    background: #d4d4d4;
}

.show-content::-webkit-scrollbar-thumb {
    border-radius: 10px;
    background: #444444;
}

.social-icon .btn {
    max-width: 60px;
}

[href="#top"] {
    max-width: 80px;
}


.line {
    border-bottom: 1px dashed #929195;
    height: 1px;
}

img {
    transition: all 0.5s;
}


hr {
    opacity: 1;
}

main h2:before {
    content: "";
    position: absolute;
    background: #fff;
    border: 1px solid;
    border-color: #28385e;
    background-color: #fff100;
    top: -5px;
    left: -20px;
    height: 15px;
    width: 15px;
    transform: rotate(45deg);
}

main h2:after {
    content: "";
    position: absolute;
    background-color: #28385e;
    top: 20px;
    left: -25px;
    height: 8px;
    width: 8px;
    transform: rotate(15deg);
}

@media (min-width:1200px) {

    .h2,
    h2 {
        font-size: 1.8rem;
    }
}

@media (max-width:991px) {
    header>div>.position-relative {
        position: static;
    }

    .offcanvas.offcanvas-top {
        height: 80vh;
    }

    hr {
        opacity: 1;
    }

}

@media (max-width:575px) {
    h2.display-5 {
        font-size: calc(1.425rem + 1.6vw);
    }
}