@font-face {
    font-family: "ComicSimple";
    src: url(../fonts/comic_simple.ff9243a.ttf) format("truetype");
    font-display: swap;
}

html {
    font-size: 16px; /* 默认根字体大小 */
}

@media (max-width: 576px) {
    html {
        font-size: 10px; /* 1rem = 10px */
    }
}

@media (min-width: 577px) and (max-width: 768px) {
    html {
        font-size: 12px; /* 1rem = 12px */
    }
}

@media (min-width: 769px) and (max-width: 992px) {
    html {
        font-size: 14px; /* 1rem = 14px */
    }
}

@media (min-width: 993px) {
    html {
        font-size: 16px; /* 1rem = 16px */
    }
}

* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    font-family: "ComicSimple", Arial, sans-serif;
}

.w-35 {
    width: 40% !important;
}

.offcanvas-title {
    padding: 1rem 1.5rem;
    font-size: 1.8rem;
    font-weight: bold;
    color: #000000;
}

.p-0 {
    padding: 0 !important;
}

.nav-title {
    text-align: center;
}

.flex-top {
    position: fixed;
    left: 0;
    right: 0;
    top: 0;
    background: #ffffff;
    z-index: 999;
}
.header {
    display: flex;
    line-height: 5.5rem;
    justify-content: space-between;
    align-items: center;
    color: #CD853F;
}

#menu {
    font-size: 3.2rem;
}

#title {
    font-size: 2rem;
    font-weight: bold;
    text-align: center;
    flex: 1;
}

#search {
    display: block;
    text-decoration: none;
    font-size: 2.8rem;
    color: #CD853F;
}

.top-block{
    width: 100%;
    height: 5.5rem;
}

.c-item {
    display: flex;
    align-items: center;
    text-decoration: none;
    height: 5rem;
    padding: 0.6rem 0 0.6rem 1.2rem;
    color: #495057;
    cursor: pointer;
}

.c-item img {
    width: 3.2rem;
    height: 3.2rem;
}

.c-item span {
    margin-left: 1rem;
    font-size: 1.5rem;
    display: block;
    line-height: 5rem;
}

.action {
    color: #ffffff !important;
    background: rgb(6, 184, 184);
}

.c-item:active {
    color: #ffffff !important;
    background: rgb(6, 184, 184);
}


.footer {
    padding-top: 4.5rem;
    padding-bottom: 0.5rem;
}

.bottom-nav {
    display: flex;
    align-items: center;
    justify-content: center;
}

.box-item {
    font-size: 1.5rem;
    color: #000;
    margin: 0 1.2rem;
}

.cop {
    font-size: 1.5rem;
    color: #000;
    text-align: center;
    margin-top: 0.5rem;
}
