html {
    scroll-behavior: smooth;
}

body {
    font-family: "Century Gothic", "微軟正黑體", sans-serif;
    background: #ffffd9 url(../images/425190_bg_img.webp);
    background-attachment: fixed;
    overflow-x: hidden;
    color: #231815;
}

a {
    text-decoration: none;
}

.fs-18 {
    font-size: 1.125rem;
}

.fs-22 {
    font-size: 1.375rem;
}

.text-justify {
    text-align: justify;
}

.text-warning {
    color: #fff100 !important;
}

.bg-warning {
    background-color: #fff67c !important;
}

.border-warning {
    border-color: #fff100 !important;
}

.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: #f5f3cb;
}

.show-content::-webkit-scrollbar-thumb {
    border-radius: 10px;
    background: #f8c9c2;
}

.social-icon .btn,
[href="#top"] {
    max-width: 80px;
}


.line {
    border-bottom: 1px dashed #929195;
    height: 1px;
}

img {
    transition: all 0.5s;
}

hr {
    opacity: 1;
}

main h2:before,
main h2:after {
    content: "";
    position: absolute;
}

main h2:before {
    top: -40px;
    left: calc(50% - 40px);
    width: 80px;
    height: 80px;
    border: 2px solid #000;
    border-radius: 50%;
    background: #fff;
}

main h2:after {
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #fff;
}

main h2 i {
    top: -45px;
    left: calc(50% - 30px);
    width: 60px;
}

.color {
    padding: 1rem 4rem;
    user-select: none;
    text-align: center;
    vertical-align: middle;
    border-radius: 0.5rem;
}

.color-1 {
    padding: 3rem 4rem;
    border-radius: 100% 80px / 80px 100%;
}

.color-2 {
    background: linear-gradient(135deg, #fddcdc 40%, #ffffd9 100%);
    box-shadow: 30px 10px 0 #ffffe5;

    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fca1a1', endColorstr='#fcfc5d', GradientType=1);
}

@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);
    }
}