/* 滚动条 */
::-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%;
}


/*侧边导航*/
.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;
    font-weight: bold;
    border-radius: 6px;
    padding-left: 15px;
    padding-top: 15px;
    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;
}

/* 正文 */
.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: 97vw;
    display: flex;
    position: relative;
    flex-direction: row;
    margin-top: -5vh;
}


.content {
    width: 70vw;
    position: relative;
    z-index: 1;
    margin-left: 3%;
    display: flex;
    flex-direction: column;
}

.section {
    border-radius: 25px;
    display: flex;
    flex-direction: column;
    position: relative;
    width: 97.6%;
    margin: 1.2%;
    font-size: 1.2rem;
    background-color: #11455A;
}

.frame {
    border-radius: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    position: relative;
    width: 68.5vw;
    margin-top: -2%;
    background: linear-gradient(30deg, #58B1DB, #5BFEC5);
}



.in-text {
    color: white;
    line-height: 33pt;
    letter-spacing: 50;
    margin: 0% 4% 0% 4%;
}

.all-text {
    position: relative;
    margin: 2% 0 2% 0;
    width: 100%;
}

/*一级标题1*/
.title1 {
    width: 100%;
    display: flex;
    flex-direction: row;
     margin-top: 6vh;
}

.title-pic {
    display: flex;
    margin-left: -4%;
    align-items: center;
}

.num1 {
    width: 9vh;
    height: auto;
}

.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;
}

.title-backgro p {
    font-size: 2.6vh;
    color: #11FCF7;
    font-family: 'Silom';
}

/*导航*/

.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: 33.3%;
    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';
}


/*内容图片1*/
.pic112 {
    display: flex;
    flex-direction: row;
    height: auto;
    width: 20vw;
    margin-bottom: 2vh;
    position: relative;
}

.pic11 {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    background: linear-gradient(60deg, #0AB9C1, #69BFC0);
    position: relative;
    height: 45vh;
    width: 60%;
    padding-top: 1.9%;
    border-radius: 25px;
}

.pic1 {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    margin: 1%;
    width: 100%;
}
.pic1111 {
    display: flex;
    height: auto;
    width: 35%;
    border-radius: 17px;
    margin-left: 32.5%;
    position: relative;
    margin-top: 3%;
}
.pic11118 {
    display: flex;
    height: auto;
    width: 45%;
    border-radius: 17px;
    margin-left: 27.5%;
    position: relative;
    margin-top: 3%;
}
.pic111 {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    background-color: #ffffff;
    position: relative;
    height: 90%;
    width: 96%;
    padding-top: 3vh;
    border-radius: 25px;
}

.ps {
    font-family: 'Arial';
    font-size: 1vw;
    color: #dfd6f3;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    margin-top: 1vh;
    line-height: 20pt;
}

/*内容图片2-4*/


.pic1112 {
    display: flex;
    flex-direction: row;
    height: auto;
    width: 96%;
    position: relative;
}

.pic121 {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    background: linear-gradient(60deg, #FFEFD5, #FFD7AC);
    height: 45vh;
    width: 60%;
    padding-top: 1.7%;
    border-radius: 25px;
}

.pic122 {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    background: linear-gradient(60deg, #C9C1DA, #9FC9E2);
    height: 45vh;
    width: 60%;
    padding-top: 1.7%;
    border-radius: 25px;
}

.pic123 {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    background: linear-gradient(60deg, #0AB9C1, #69BFC0);
    height: 45vh;
    width: 60%;
    padding-top: 1.7%;
    border-radius: 25px;
}

.pic12 {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    width: 100%;
    margin: 1%;
}

.reference {
    color: #ffb176;
}

.reference li {
    margin: 15px 35px;
}

.reference span {
    color: #ffffff;
}

.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;
}