html {
    background-color: #efefef; 
}
body {
    margin: 0;
}
/* 内容主容器 */
#main-container {
    overflow-y: auto;
}
#main-container.is-desktop {
    /* margin: 0 15vw; */
    width: calc(100vw - 13rem - 1rem * 4);
    padding: 1rem;
}

#main-container.is-mobile {
    padding-top: 1rem;
    margin: 0 5vw;
    padding-bottom: 3.5rem;
}
/* 侧边导航栏 */
#side-bar.is-mobile {
    display: none;
}
#side-bar {
    background-color: rgba(43, 48, 88, 0.7);
    width: 13rem;
    height: calc(100vh - 1rem * 2);
    display: flex;
    flex-direction: column;
    padding: 1rem;
    gap: .5rem;
}
#side-bar .nav-item:hover {
    background-color: rgba(255, 255, 255, .1);
    cursor: pointer;
}
#side-bar .nav-item {
    height: 3rem;
    /* width: 80%; */
    /* width: calc(15rem * .8); */
    padding: 0 20%;
    display: flex;
    flex-direction: row;
    align-items: center;
    /* justify-content: space-around; */
    border-radius: .5rem;
    gap: 1.5rem;
}
#side-bar .nav-item.active {
    background-color: rgba(57, 57, 162, 0.768);
}
/* 底部导航栏 */
#bottom-nav.is-desktop {
    display: none;
}
#bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100vw;
    height: 3.5rem;
    background-color: white;
    box-shadow: 0 -0.1rem .2rem rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    align-items: center;
}
#bottom-nav .nav-item {
    color: rgba(0, 0, 0, .5);
    font-size: .8rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .2rem;
}
#bottom-nav .nav-item.active {
    color: rgba(57, 57, 162, 0.768);
}
#bottom-nav .nav-item:hover {
    cursor: pointer;
}
/* App容器 */
div#app {
    width: 100vw;
    height: 100vh;
}
div#app.is-desktop {
    display: flex;
    flex-direction: row;
}
div#app.is-mobile {
    display: flex;
    flex-direction: column;
}