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

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

#pic_before_title{  height: 5rem; background-color: #c1fff4;}
#pic_after_title{
    background-color: #a2ffef;
    height: 30vh;
    box-shadow: 0 -3rem 3rem #a2ffef;
}
#pic_transition{
    background-image: linear-gradient(to bottom, #8affeb 0%, #4affe6 100%);
    height: 30vh;
    box-shadow: 0 -3rem 3rem #8affeb, 0 3rem 3rem #4affe6;
}

#pic_before_title, #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: 40vw;
    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: 7rem;
    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: #148065;
    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 rgba(34, 158, 126, 1);
    background-color: rgba(0, 0, 0, 0%);
    z-index: 999;
    margin-right: 0.5rem;
    aspect-ratio: 1 !important;
}

.nav-item.active {
    background-color: rgba(34, 158, 126, 0.5);/* 选中时的背景色 */
    color: white;
}
.nav-item.active>span {

    color: white;
}
.nav-item:hover {
    background: rgba(34, 158, 126, 0.3);
}

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


