/*------------------------------------标题颜色------------------------------------*/
header, #page_title{color: #e6edff;}
footer{
    background-color: #1f6acb;
    box-shadow: 0 -1rem 1rem #1f6acb, 0 -1rem 0 #1f6acb;
}
/*------------------------------------背景图片------------------------------------*/

#background{
    position: absolute;
    top: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    z-index: -30;
    height: 100%;
    overflow: hidden;
}

#pic_before_title{  width: 100%; height: 5rem;  }
#pic_title, #pic_after_title, #pic_transition, #pic_bottom{
    width: 100%;
    flex-shrink: 0;
    /*height: auto;*/
}

/*------------------------------------文字内容------------------------------------*/

#page_title{
    position: relative;
    font-size: 8vw;
    margin-left: 10vw;
    float: right;
    margin-right: 2vw;
    margin-bottom: 25vw;
    font-family: Junicat, serif;
    z-index: -20;
}

#page_title>span{
    display: inline-block;
}
#page_title>span:first-child{
    transform: rotate(-8deg) translate(0.5vw, -1vw);
}

#page_title>span:last-child{
    transform: rotate(5deg) translate(0.5vw, 1vw);
}

#page_title::before{
    content: "";
    display: block;
    height: 6rem;
    width: 100%;
    /*background-color: pink;*/
}

#nav{
    position: sticky;
    display: block;
    user-select: none;
    font-size: 1.2rem;
    top: 7rem;
    /*transform: translateY(0rem);*/
    margin: 1rem;
    /*border: 0.5rem solid red;*/
    height: 30vh;
    width: 30vw;
    clear: both;
    z-index: 999;
}
.nav-item{
    color:#e6edff;
    padding: 0.2rem 1rem;
    border-radius: 2rem;
    margin: 0.4rem auto;
    width: 23vw;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    z-index: 999;
}
.nav-item>span{
    display: inline-block;
    width: 1rem;
    height: 1rem;
    border-radius: 50%;
    box-sizing: border-box;
    border: 0.2rem solid #e6edff;
    background-color: rgba(0, 0, 0, 0%);
    z-index: 999;
    margin-right: 0.5rem;
    aspect-ratio: 1 !important;
}
.nav-item.active {
    background-color: rgba(230, 237, 255, 0.5);;/* 选中时的背景色 */
    color: white;
}
.nav-item.active>span {
    color: white;
}
.nav-item:hover {
    background: rgba(230, 237, 255, 0.3);
}

#main_content{
    /*position: relative;*/
    display: block;
    /*overflow-x: scroll;*/
    width: 49vw;
    word-wrap: inherit;
    margin: 3vw;
    /*border: 0.5rem solid red;*/
    padding: 2vw;
    border-radius: 3vw;
    /*background-color: rgba(255, 255, 255, 30%);*/
    transform: translateX(38vw) translateY(calc(-30vh - 20vw));
    /*left: 35vw;*/
    /*top: calc(-30vh - 20vw);*/
    z-index: -20;
}
