/* 滚动条 */
::-webkit-scrollbar {
    width: 10px;
    margin-left: 0;
    z-index: 10000;
}

::-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;
    text-decoration: none;
}

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: -5vh;
}

/*顶部导航*/
.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%;
    padding: 0 5%;
}

.second-nav li {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    width: 20%;
    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: 20vh;
    border-radius: 3px;
    margin-top: 1vh;
}

.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;
    display: flex;
    flex-direction: column;
}

.left_nav li {
    font-size: 1.3vw;
    color: #ffffff;
    border-radius: 6px;
    padding-left: 15px;
    padding-top: 10px;
    display: flex;
    opacity: 0;
    font-family: markerfelt;
}

.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;
}

#nav3_left{
    font-size: 1.1rem;
    padding-left: 50px;
}

#nav3_left:hover{
    padding-left: 60px;
}

/*一级标题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;
}

.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: 70%;
    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);
}

.all-text {
    position: relative;
    margin: 2% 0 2% 0;
}

.all-text h3{
    color: #ffefd5;
    line-height: 33pt;
    letter-spacing: 1px;
    margin: 0% 4% 0% 4%;
    font-family: markerfelt;
}

.zw{
    /* font-family: 'Arial'; */
    color: white;
    line-height: 33pt;
    margin: 0% 4% 0% 4%;
    list-style-position: inside;
    font-weight: normal;
    font-size: 1.2rem;
}

/* .all-text li {
    font-family: 'Arial';
    color: white;
    line-height: 33pt;
    margin: 0% 4% 0% 4%;
    list-style-position: inside;
    padding: 0 3rem;
} */

/* 新二级标题 */
.nav-3 {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-top: 6vh;
    height: 15vh;
    width: 90%;
    margin-left: 5%;
    border-left: 50%;
    border-radius: 60px;
    background-color: #0e6672;
}
.p-box{
    position: relative;
    width: 90%;
}
.nav-2 p {
    text-align: center;
    color: #fce3b9;
    font-family: markerfelt;
    font-size: 2.3vw;
}

.title-special {
    text-align: center;
    color: #fce3b9;
    font-family: markerfelt;
    font-size: 2vw;
}

.special-box {
    position: relative;
    width: 80%;
    height: auto;
}

.linebox {
    position: relative;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    width: 60vw;
}

.line {
    height: 10px;
    position: relative;
    margin-top: 2vh;
    width: 60vw;
    background: linear-gradient(to right,
            transparent 0%,
            transparent 50%,
            rgb(255, 255, 255) 50%,
            rgb(255, 255, 255) 100%);
    background-size: 30px 2px;
    background-repeat: repeat-x;
    z-index: 1;
    border-radius: 10px;
}

.ruan {
    width: 6vh;
    height: 6vh;
    border-radius: 50%;
    background-color: #ffb176;
    position: absolute;
    top: 80%;
    transform: translateY(-50%);
    z-index: 11111;
}

.linebox>.ruan:first-child {
    left: -2vh;
}

.linebox>.ruan:last-child {
    right: -2vh;
}


.arrow{
    width: 2%;
    position: relative;
    left: 49%;
    padding-top: 1%;
}

/* 345title */
.third-title {
    color: #ffefd5;
    font-family: markerfelt;
    margin-top: 3vh;
    margin-bottom: 1vh;
    font-size: 2vw;
    margin-left: 4%;
    width: 92%;
}

.forth-title {
    font-family: 'Arial';
    color: #5bfec5;
    line-height: 33pt;
    letter-spacing: 50;
    margin: 0% 4% 0% 4%;
}

.fifth-title {
    font-family: 'Arial';
    color: #63e5d5;
    line-height: 33pt;
    letter-spacing: 50;
    margin: 0% 4% 0% 4%;
}

.two-pic {
    position: relative;
    display: flex;
    flex-direction: row;
    width: 100%;
    margin-left: 8%;
}

.people {
    position: relative;
    display: flex;
    flex-direction: row;
    width: 90%;
    margin-left: 5%;
    margin-top: 3vh;
    margin-bottom: 3vh;
}

.people-left {
    position: relative;
    display: flex;
    flex-direction: column;
    width: 50%;
}

.people-right {
    position: relative;
    display: flex;
    flex-direction: column;
    width: 50%;
}

.peopletu {
    position: relative;
    width: 40%;
    margin-left: 30%;
    border-radius: 10px;
}

.pic11121 {
    position: relative;
    display: flex;
    height: auto;
    width: 40%;
    border-radius: 17px;
    position: relative;
    margin: 1%;
}

.forth-title {
    margin-top: 2vh;
}


/* 参考文献 */
.reference {
    color: #ffb176;
}

.reference li {
    margin: 15px 50px;
}

.reference span {
    color: #ffffff;
}


/* 图片背景 */
.picbox {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    margin: 1%;
    width: 100%;
}

.picbg {
    display: flex;
    justify-content: center;
    flex-direction: column;
    position: relative;
    width: 60%;
    border-radius: 25px;
    margin: 20px 0;
}

.picbox:nth-child(3n+1) .picbg {
    background: linear-gradient(60deg, #0AB9C1, #69BFC0);
}

.picbox:nth-child(3n+2) .picbg{
    background: linear-gradient(60deg, #FFEFD5, #FFD7AC);
}

.picbox:nth-child(3n) .picbg{
    background: linear-gradient(60deg, #C9C1DA, #9FC9E2);
}

.pic_white {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: row;
    background-color: #ffffff;
    position: relative;
    height: 45vh;
    width: 96%;
    margin: 2%;
    border-radius: 25px;
}

.pic_white_r {
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    flex-direction: row;
    background-color: #ffffff;
    position: relative;
    height: 95%;
    width: 48%;
    margin: 2%;
    border-radius: 25px;
}

.pic_white_c {
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    flex-direction: column;
    background-color: #ffffff;
    position: relative;
    height: 45vh;
    width: 96%;
    margin: 2%;
    border-radius: 25px;
}

.pic_single {
    display: flex;
    flex-direction: row;
    max-height: 90%;
    max-width: 90%;
    position: relative;
}

.pic_double_r {
    display: flex;
    flex-direction: row;
    max-height: 90%;
    max-width: 45%;
    position: relative;
}

.pic_double_c {
    display: flex;
    flex-direction: column;
    max-height: 50%;
    max-width: 90%;
    position: relative;
}

.ps {
    font-family: 'Arial';
    font-size: 1vw;
    color: #dfd6f3;
    position: relative;
    width: 80%;
    left: 10%;
    text-align: center;
    margin-top: 8px;
    margin-bottom: 8px;
}
.ps9 {
    font-family: 'Arial';
    font-size: 1vw;
    color: #dfd6f3;
    position: relative;
    width: 80%;
    margin-left: 10%;
    text-align: center;
    margin-top: 8px;
    margin-bottom: 8px;
}

.pic1112 {
    display: flex;
    height: auto;
    width: 50%;
    border-radius: 17px;
    margin-left: 25%;
    margin-top: 3%;
    position: relative;
}


/*表格*/
.table_box {
    position: relative;
    width: 80%;
    left: 10%;
    overflow: auto;
}

.table_box::-webkit-scrollbar {
    height: 2px;
    margin-left: 0;
}

.table {
    position: relative;
    font-size: 1rem;
}

.table th,td {
    width: 50vw;
    text-align: center;
    padding: 1%;
}

.table th{
    background-color: #69bfc0;
}
.table th:nth-child(1){
    background-color: #C9C1DA;
}
.table td{
    background-color: #c1f2ee;
}
.table td:nth-child(1){
    background-color: #daeae9;
}

/* 返回顶部 */
.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;
}

