/* 滚动条 */
::-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: 20vh;
    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;
    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;
}

/* 正文 */
.headimg {
    background-size: 100% 100%;
    z-index: -1;
    height: 100vh;
    width: 100%;
    background-position: center;
    position: relative;
    display: flex;
    background-attachment: fixed;
}

h1 {
    text-align: center;
    color: white;
    margin-top: 3vh;
    margin-bottom: 1vh;
}

h2 {
    color: white;
    text-indent: 2rem;
    margin-top: 3vh;
    margin-bottom: 1vh;
}

.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);
}


.all-text h3 {
    color: #ffefd5;
    line-height: 33pt;
    letter-spacing: 1px;
    margin: 0% 4% 0% 4%;
    font-family: markerfelt;
}

.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: 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.2vh;
    font-family: 'Silom';
}

.ps {
    font-family: 'Arial';
    padding-bottom: 1%;
    font-size: 1vw;
    color: #dfd6f3;
    position: relative;
    width: 100%;
    margin-top: 1vh;
    text-align: center;
}


.pic1111 {
    display: flex;
    height: auto;
    width: 35%;
    border-radius: 17px;
    margin-left: 32.5%;
    position: relative;
    margin-top: 3%;
}
.pic1113 {
    display: flex;
    height: auto;
    width:50%;
    border-radius: 17px;
    margin-left: 29%;
    position: relative;
    margin-top: 3%;
}

.pic1112 {
    display: flex;
    height: auto;
    width: 50%;
    border-radius: 17px;
    margin-left: 25%;
    margin-top: 3%;
    position: relative;
}
.pic11126 {
    display: flex;
    height: auto;
    width: 68%;
    border-radius: 17px;
    margin-left: 16%;
    margin-top: 3%;
    position: relative;
}

.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;
}

.first-box {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    margin-top: 4vh;
    margin-left: 2%;
    margin-right: 2%;
    align-items: stretch;
}

.left-box,
.right-box {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

.left-content {
    display: flex;
    flex-direction: row;
}

.left-content p {
    font-family: 'Arial';
    color: white;
    line-height: 33pt;
    letter-spacing: 50;
    margin: 0% 4% 0% 4%;
}

.vertical-dashed-line {
    position: relative;
    width: 1px;
    background-color: transparent;
    justify-content: space-between;
    position: relative;
}

.vertical-dashed-line::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: 2px;
    background: repeating-linear-gradient(to bottom,
            transparent,
            transparent 5px,
            #ffffff 10px,
            #ffffff 20px);
}

.carousel-container {
    width: 100%;
    overflow: hidden;
    position: relative;
}

.carousel {
    display: flex;
    animation: scroll 15s linear infinite;
}

.carousel-item1 {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 25%;
    margin-left: 10%;
}

.carousel-item2 {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 25%;
    margin-left: 10%;
}

.carousel-item3 {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 25%;
    margin-left: 10%;
}

.carousel-item4 {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 25%;
    margin-left: 10%;
}

.carousel img {
    width: auto;
    height: 20vh;
    border-radius: 15px;
}

.carousel .text {
    text-align: center;
    font-size: 16px;
    padding: 10px 0;
    color: #dfd6f3;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-100%);
    }
}

.pdf-container {
    width: 80%;
    margin-left: 10%;
    height: 80vh;
    border-top: 1px solid #ccc;
}

.pdf-frame1 {
    position: absolute;
    width: 80%;
    height: 80vh;
    display: block;
}

.pdf-frame2 {
    position: absolute;
    width: 80%;
    height: 80vh;
    display: none;
}

.pdf-frame3 {
    position: absolute;
    width: 80%;
    height: 80vh;
    display: none;
}

.pdf-frame4 {
    position: absolute;
    width: 80%;
    height: 80vh;
    display: none;
}


sup {
    vertical-align: super;
    font-size: xx-small;
}

.special {
    text-align: center;
    font-family: 'Arial';
    color: white;
    line-height: 33pt;
    letter-spacing: 50;
}

.nav-2 {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-top: 6vh;
    height: 12.5vh;
    width: 90%;
    margin-left: 5%;
    border-left: 50%;
    border-radius: 50px;
    background-color: #0e6672;
}

.nav-3 {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-top: 6vh;
    height: 16vh;
    width: 90%;
    margin-left: 5%;
    border-left: 50%;
    border-radius: 100px;
    background-color: #0e6672;
}

.nav-2 p {
    text-align: center;
    color: #fce3b9;
    font-family: markerfelt;
    font-size: 2.8vw;
}

.title-special {
    text-align: center;
    color: #fce3b9;
    font-family: markerfelt;
    font-size: 2vw;
}

.special-box {
    position: relative;
    width: 90%;
    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: 11;
}

.linebox>.ruan:first-child {
    left: -2vh;
}

.linebox>.ruan:last-child {
    right: -2vh;
}

.third-title {
    color: #ffefd5;
    font-family: markerfelt;
    text-indent: 2rem;
    margin-top: 3vh;
    margin-bottom: 1vh;
    font-size: 2vw;
    margin-left: 1%;
}

.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;
}

.pounding {
    position: relative;
    width: 100%;
}

.pdf-frame5 {
    position: relative;
    width: 80%;
    margin-left: 10%;
    height: 80vh;
}

.other5 {
    color: #ffb176;
    font-family: 'Arial';
}