
/* 滚动条 */
::-webkit-scrollbar {
    width: 10px;
    margin-left: 0;
}

::-webkit-scrollbar-track {
    background-color: #FFEFD5;
}

::-webkit-scrollbar-thumb {
    background-color: #FFB176;
    border-top-right-radius: 6px;
    border-bottom-right-radius: 6px;
}

/* 全局 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    margin: 0;
    padding: 0;
    background-color: #0F233A;
    width: 100%;
}

.headimg {
    background-size: 100% 100%;
    z-index: -1;
    height: 100vh;
    width: 100%;
    background-position: center;
    position: relative;
    display: flex;
    background-attachment: fixed;
}

.title{
    width: 100%;
    height: 20%;
    position: relative;
    top: 40%;
    text-align: center;
    font-family: ArialRmb;
    color: white;
    font-size: 8rem;
    text-shadow: 
    0 5px 0 rgb(201,193,218),
    0 30px 8px rgba(83,74,99);
    animation: shadow 3s forwards;
}

@keyframes shadow {
    from {
        letter-spacing: -50px;
        filter: blur(10px);
    }

    to {
        letter-spacing: 0;
        filter: blur(0);
    }
}


.maintext {
    width: 99vw;
    display: flex;
    position: relative;
    flex-direction: row;
    margin-top: 1vh;
}

/*顶部导航*/
.second-nav {
    margin: 0 auto;
    border-top: 1.3vh solid #5BFEC5;
    border-bottom: none;
    border-left: none;
    border-right: none;
    padding: 2px;
    width: 100%;
    height: 20vh;
    background: linear-gradient(to bottom, #0AB9C1, #69BFC0);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    overflow: hidden;
}

.second-nav ul {
    list-style: none;
    padding: 0;
    background-color: transparent;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    width: 100%;
}

.second-nav li {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    width: 16.6%;
    padding: 0vh 5vw 0vh 5vw;
}

.second-nav li img {
    width: 9vh;
    height: auto;
    margin-bottom: 1vh;
    margin: 12px;
}

.second-nav li:hover {
    transform: scale(1.1);
}

.second-nav ul li a {
    text-decoration: none;
    padding: 2px;
    display: block;
    color: #ffffff;
    font-size: 2.6vh;
    font-family: 'Silom';
}


/*侧边导航*/
.left {
    width: 20%;
    z-index: 111;
    margin: 1%;
    position: relative;
}

.left_nav {
    position: sticky;
    top: 24vh;
    border-radius: 3px;
    margin-top: 10vh;
}

.leftball {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: #ffefd5;
    scale: 0;
}

.leftline {
    width: 10px;
    height: 0;
    position: absolute;
    left: 22.5px;
    background: linear-gradient(to top,
            transparent 0%,
            transparent 50%,
            rgb(162, 170, 178) 50%,
            rgb(162, 170, 178) 100%);
    background-size: 2px 20px;
    background-repeat: repeat-y;
}

.left_nav ul {
    padding: 0;
    margin-top: 5px;
    list-style: none;
}

.left_nav li {
    font-size: 1.3vw;
    color: #ffffff;
    border-radius: 6px;
    padding-left: 15px;
    padding-top: 20px;
    display: flex;
    opacity: 0;
}

.liball {
    display: flex;
    align-items: center;
}

.liball::before {
    content: "";
    display: inline-block;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background-color: #ffffff;
    z-index: 300;
    position: relative;
}

.left_nav li span:nth-child(2) {
    position: relative;
    left: 10px;
    font-family: markerfelt;
    letter-spacing: 1px;
    font-size: 1.3rem;
}

.left_nav .current {
    color: #ffb176;
}

.left_nav .current span:nth-child(1)::before {
    background-color: #ffb176;
}

.left_nav li:hover {
    color: rgb(193, 242, 238);
}

.left_nav li:hover span:nth-child(1)::before {
    background-color: rgb(193, 242, 238);
}

.left_nav li:hover span:nth-child(2) {
    left: 20px;
}

.title1 {
    width: 100%;
    margin-top: 6vh;
    display: flex;
    justify-content: space-between;

}

.shanhu1{
    width: 20vw;
    background: url("https://static.igem.wiki/teams/5398/cmrna/shanhu.svg") no-repeat;
    z-index: 300;
}

.shanhu2{
    width: 20vw;
    background: url("https://static.igem.wiki/teams/5398/cmrna/shanhu2.svg") no-repeat;
    z-index: 300;
}

.title-backgro {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 23vh;
    width: 37vh;
    background-image: url('https://static.igem.wiki/teams/5398/first-box.svg');
    background-repeat: no-repeat;
    background-position: center -7vh;
}

.content-title {
    position: relative;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.title-backgro p {
    font-size: 2.6vh;
    color: #11FCF7;
    font-family: 'Silom';
}

/* 正文 */
.content {
    width: 75%;
    position: relative;
    z-index: 1;
    margin-left: 1%;
    display: flex;
    flex-direction: column;
}

.frame{
    width: 80%;
    left: 10%;
    position: relative;
}

.mengbanbox .shang{
    width: 100%;
    height: 0%;
    background: linear-gradient(to bottom,
    rgb(15,35,58) 0%,
    rgb(15,35,58) 90%,
    transparent 100%);
    position: absolute;
    top: 0;
    z-index: 100;
}

.mengbanbox .xia{
    width: 100%;
    height: 100%;
    background: linear-gradient(to top,
    rgb(15,35,58) 0%,
    rgb(15,35,58) 90%,
    transparent 100%);
    position: absolute;
    bottom: 0;
    z-index: 100;
}

.leftblack{
    width: 8%;
    height: 105%;
    position: absolute;
}

.rightblack{
    width: 8%;
    height: 105%;
    position: absolute;
    right: 0;
    top: 0;
}

.fishleft{
    width: 5%;
    height: calc(100% + 24vh);
    background: url('https://static.igem.wiki/teams/5398/cmrna/fish3.png') repeat-y;
    background-size: contain;
    position: absolute;
    transform: translate(-150%,-8vh);
}

.fishright{
    width: 5%;
    height: calc(100% + 24vh);
    background: url('https://static.igem.wiki/teams/5398/cmrna/fish3.png') repeat-y;
    background-size: contain;
    position: absolute;
    right: 0;
    transform: translate(150%,-8vh);
}

.month{
    width: 100%;
    display: flex;
}

.bubble{
    width: 10%;
    margin-bottom: 2%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.bubbleimg{
    width: 50px;
    height: 50px;
    background: url('https://static.igem.wiki/teams/5398/cmrna/bubble.png') no-repeat;
    background-size: contain;
    display: flex;
    align-items: center;
    justify-content: center;
}

.note{
    width: 90%;
    margin-bottom: 2%;
    padding: 2% 5% 2% 7%;
    border-radius: 10px;
}

.month .left{
    background-color: #e0d9f4;
}

.month .right{
    background-color: #a7e3e0;
}

.month .left li{
    color: #3a3644;
}

.month .right li{
    color: #0e6672;
}

.month .leftb{
    color: #e0d9f4;
}

.month .rightb{
    color: #a7e3e0;
}

.gototop {
    width: 5vh;
    height: 5vh;
    position: fixed;
    bottom: 6vh;
    right: 2vw;
    background: url('https://static.igem.wiki/teams/5398/cmrna/topbtn.svg') no-repeat;
    z-index: 3000;
    scale: 0;
}
