body {
    line-height: 1.6;
    height: 100%;
    margin: 0;
    padding: 0;
    background-color: #f5f5f5;
    font-family: "KaiTi", "STKaiTi", "华文楷体", KaiTi SC, cursive, serif;
}

.weui-options-dialog {
    display: none !important;
}

h1 {
    text-align: center;
}

h3 {
    text-align: right;
}

img {
    width: 90%;
    height: auto;
    display: block;
    margin: 0 auto;
    margin-top: 20px;
    margin-bottom: 20px;
    border-radius: 15px;
}

dt {
    font-weight: 900;
}

.header {
    border-radius: 0.5rem;
    position: fixed;
    width: 99%;
    height: 5%;
    background-color: #f0f0f0;
    font-weight: 700;
    font-size: 1.1rem;
    top: 0px;
    left: 0px;
    text-align: center;
    border: 2px solid black;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.sidebar {
    background-color: #073b4c;
    border: 2px solid white;
    border-radius: 0.5rem;
    width: 18%;
    height: 93%;
    position: fixed;
    left: 0px;
    top: 6%;
    font-size: 1.0rem;
    line-height: 250%;
    z-index: 1000;
}

.sidebar ul {
    text-align: center;
    list-style: none;
    padding: 0px 0px;
}

.sidebar li {
    width: 100%;
    border-radius: 0.2rem;
}

.sidebar a {
    color: white;
    transition: color 0.3s;
    font-weight: 500;
    cursor: pointer;
    text-decoration: none;
}

.sidebar a:hover {
    color: #ffd166;
}

.sidebar li:hover {
    background-color: #cccccc;
}

.main-content {
    position: absolute;
    width: 80%;
    height: 92.5%;
    left: 19%;
    top: 6.5%;
}

.footer {
    text-align: center;
    color: grey;
}

@media (min-width: 768px) {
    body {
        font-size: 1.3rem;
    }

    .sidebar {
        font-size: 1.2rem;
        width: 18%;
    }

    .main-content {
        width: 80%;
        left: 19%;
    }
}

@media (min-width: 1200px) {
    body {
        font-size: 1.6rem;
    }

    .sidebar {
        font-size: 1.4rem;
        width: 14%;
    }

    .main-content {
        width: 84%;
        left: 15%;
    }
}