body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f5f5f5;
}
header {
    background-color: #fff;
    padding: 10px 20px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid #e0e0e0;
}
header img {
    width: 40px;
    height: 40px;
    margin-right: 10px;
}
header button {
    background-color: #5c4dee;
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 4px;
    cursor: pointer;
    margin-left: auto;
}
.sidebar {
    background-color: #fff;
    width: 250px;
    position: fixed;
    top: 0;
    bottom: 0;
    border-right: 1px solid #e0e0e0;
    padding: 20px;
    display: flex;
    flex-direction: column;
}
.sidebar nav ul {
    list-style-type: none;
    padding: 0;
}
.sidebar nav ul li {
    margin: 10px 0;
}
.sidebar nav ul li a {
    text-decoration: none;
    color: #333;
    font-size: 16px;
}
.sidebar button {
    background-color: #5c4dee;
    color: #fff;
    border: none;
    padding: 10px;
    border-radius: 4px;
    cursor: pointer;
    margin: 10px 0;
}
.content {
    margin-left: 270px;
    padding: 20px;
}
.content .banner {
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}
.content .banner img {
    width: 200px;
    height: 150px;
    border-radius: 8px;
}
.content .banner div {
    max-width: 60%;
}
.content .banner h1 {
    margin: 0;
    font-size: 24px;
}
.content .banner p {
    color: #666;
    margin: 10px 0;
}
.content .banner button {
    background-color: #000;
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 4px;
    cursor: pointer;
}
.tabs {
    display: flex;
    margin-bottom: 20px;
    overflow-x: auto;
}
.tabs button {
    background-color: #fff;
    border: 1px solid #e0e0e0;
    padding: 10px 20px;
    cursor: pointer;
    margin-right: 5px;
    border-radius: 4px;
}
.tabs button.active {
    background-color: #5c4dee;
    color: #fff;
}
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
}
.card {
    background-color: #fff;
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    border: 1px solid #e0e0e0;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}
.card img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    margin-bottom: 10px;
    object-fit: cover;
}
.card h2 {
    font-size: 18px;
    margin: 10px 0;
}
.card p {
    color: #666;
    font-size: 14px;
    margin: 10px 0;
}
.card .stats {
    display: flex;
    justify-content: space-around;
    font-size: 12px;
    color: #999;
}
@media (max-width: 768px) {
    .sidebar {
        width: 100%;
        position: relative;
        border-right: none;
        border-bottom: 1px solid #e0e0e0;
    }
    .content {
        margin-left: 0;
    }
}


.advertisement {
    margin-top: 20px; /* 适当的上边距 */
    padding: 10px; /* 可选的内边距 */
    background-color: #f0f0f0; /* 可选的背景颜色 */
    border: 1px solid #ccc; /* 可选的边框 */
}

.advertisement img {
    max-width: 100%; /* 图片宽度最大为其容器宽度 */
}

.advertisement p {
    font-size: 14px; /* 可选的文字大小 */
    color: #333; /* 可选的文字颜色 */
}
