* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
a {
    text-decoration: none;
    color: inherit;
}
svg {
    background-color: transparent;
}
li {
    list-style: none;
}
@font-face {
    font-family: ink_free;
    src: url('./font/Ink-Free.ttf');
}
/* 顶部导航栏 */

@font-face {
    font-family: 'indie_flowerregular';
    src: url('./font/indieflower-1-webfont.woff2') format('woff2'),
         url('./font/indieflower-1-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}
.my_nav{
    font-family: 'indie_flowerregular';
    border-bottom:1px solid #0C4B54; 
    background-color: #e9f4ee;
    height: 4.4vw;
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 10;
}
.my_nav div{
    display: inline-block;
}
.my_nav div.nav-img{
    width: 15%;
    height: 100%;
}
.my_nav div.nav-img img{
    vertical-align:top;
    width: 100%;
}
.my_nav .nav-item{
  height: 100%;
  position: absolute;
  top: 0;
  right: 2vw;
}
.my_nav a{
    display: inline-block;
    text-decoration: none;
    height: auto;
    margin: 0;
}
.my_nav a div{
   height: 2.6vw;
   margin-right: 1vw;
   color:#0C4B54;
   font-size: 1.5vw;
   font-weight:700;
   margin: 1.7vw 0.6vw;
}
.my_nav li {
    height: 4.4vw;
    line-height: 4.4vw;
    overflow: hidden;
    color: rgb(190, 188, 188);
    text-align: center;
    font-size: 1.2vw;
}
.my_nav li a {
    display: block;
    padding: 0 5px;
    width: 100%;
    height: 100%;
    cursor: pointer;
    transition: all .3s;
}
.nav_ul>li {
    float: right;
    position: relative;
}
.nav_ul>li>a {
    font-weight: bold;
}
.nav_ul .unfold ul {
    display: block;
    background-color: #8fc6be;
}
.unfold ul li {
    color: #fff;
    height: 3vw;
    line-height: 3vw;
}
.unfold ul li:hover {
    color: #0a4a53;
}
.nav_ul>li:hover {
    height: auto;
    color: #0a4a53;
}

/* 背景与标语 */
.my_background {
    position: fixed;
    width: 100%;
    top: 4.4vw;
    z-index: -1;
    box-sizing: border-box;
}
.mask {
    height: 1000px;
    background-color: rgba(0, 0, 0, .2);
}
.my_slogan {
    position: fixed;
    top: 33vw;
    left: 50%;
    transform: translate(-50%, 0);
    font-size: 8vw;
    font-weight: bold;
    font-style: italic;
    color: #FFFFFF;
    z-index: -1;
    word-break:keep-all;
    white-space:nowrap;
}

/* 主要内容 */
.my_container {
    width: 100%;
    height: auto;
    background-color: #FFFFFF;
    /* margin-top: -5px; */
    margin-top: -0.3rem;
    background-image: url(https://static.igem.wiki/teams/4146/wiki/wiki-test/bg.png);
    background-size:  100% auto;
    background-repeat: no-repeat;
}
.my_layout {
    width: 88%;
    height: auto;
    border-radius: 0.24rem;
    padding: 6vw 6vw 6vw 10vw;
}
.my_content {
    width: 100%;
    height: auto;
    border: 1px solid #888888;
    border-radius: 0.48rem;
    padding: 1.2rem 1.2rem 4rem;
    transition: all .3s;
}
.my_content:hover {
    box-shadow: 0 0 10px 1px #888;
    transition: all .3s;
}
.section {
    width: 95%;
    height: auto;
    margin: 0 auto;
}
.section h1 {
    text-align: center;
    margin-bottom: 1em;
    padding-top: 1.1em;
    font-size: 3.5em;
}
.section h2 {
    padding-top: 2em;
    margin-bottom: 1em;
    font-size: 2em;
}
.section h3 {
    margin-top: 1.5em;
    font-size: 1.6em;
}
.section h4 {
    margin-top: 7px;
    text-indent: 2em;
    font-size: 1.3em;
}
.section .att_h2 {
    padding-top: 4rem;
}
.section>p {
    font-size: 1.1rem;
    font-weight: 400;
    letter-spacing: 0.03125rem;
    font-family: Source Sans Pro,sans-serif!important;
    text-align: justify;
    text-indent: 2em;
    margin: 16px 0;
    line-height: 1.4rem;
}
.section>div {
    width: 100%;
    margin: 3em 0;
    text-align: center;
}
.section div img {
    margin: 0 auto;
    width: 40%;
}
.section table {
    border-spacing: 0;
    text-align: left;
    margin: 2.5em auto;
}
.section table th {
    padding: 0 20px 0 10px;
    line-height: 1.5em;
}
.section table th a {
    text-decoration: underline;
    color: #119f98;
}
.section .outer_div {
    position: relative; 
    height: 400px;
    overflow: hidden;
}
.section .inner_div {
    position: absolute; 
    bottom: 0; 
    left: 30%; 
    width: 40%;
    height: 40px;
    line-height: 40px;
    border: 1px solid #D9D9D9;
    background-color: #f3f3f3;
    cursor: pointer;
}
.section .inner_div::before {
    content: '\21E9';
    margin-right: 10px;
}
.section .inner_div:hover {
    text-decoration: underline;
}
.section .fig {
    font-size: 1rem;
    font-weight: 300;
    font-style: italic;
    text-align: center;
}
.section .jump {
    display: inline-block;
    width: 12px;
    height: 12px;
    background-image: url('data:image/svg+xml,%3C%3Fxml version=%221.0%22 encoding=%22UTF-8%22 standalone=%22no%22%3F%3E%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%2212%22 height=%2212%22%3E%3Cpath fill=%22%23fff%22 stroke=%22%2306c%22 d=%22M1.5 4.518h5.982V10.5H1.5z%22/%3E%3Cpath d=%22M5.765 1H11v5.39L9.427 7.937l-1.31-1.31L5.393 9.35l-2.69-2.688 2.81-2.808L4.2 2.544z%22 fill=%22%2306f%22/%3E%3Cpath d=%22M9.995 2.004l.022 4.885L8.2 5.07 5.32 7.95 4.09 6.723l2.882-2.88-1.85-1.852z%22 fill=%22%23fff%22/%3E%3C/svg%3E');
}
.section .contribution {
    text-align: left;
    padding: 1.5em 0;
    overflow: hidden;
}
.section .contribution p {
    width: 70%;
    float: left;
    margin-right: 10%;
    font-size: 1.05vw;
    line-height: 1.5vw;
}
.section .contribution p b {
    display: block;
    margin-bottom: .5rem;
    list-style: circle;
}
.section .contribution p b::before {
    content: '\2022';
    margin-right: .2rem;
}
.section .contribution img {
    width: 20%;
}

/* 成员样式 */
.members {
    width: 100%;
    height: auto;
    padding: 4em 10%;
}
.samebox p {
    position: relative;
    text-align: center;
    font-size: 2.6vw;
    font-family:Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
    font-weight: bold;
    padding: 1em;
}
.samebox p:before {
    content: '';
    background: #000;
    width: 15vw;
    height: 2px;
    display: inline-block;
    position: absolute;
    left: 15vw;
    top: 4vw;
}
.samebox p:after {
    content: '';
    background: #000;
    width: 15vw;
    height: 2px;
    display: inline-block;
    position: absolute;
    left: 49vw;
    top: 4vw;
}
.samebox>img {
    display: block;
    height: 5vw;
    margin: 2vw auto;
}
.mybox1 {
    width: 100%;
    height: auto;
}
.mybox1 span {
    position: relative;
    display: inline-block;
    width: 13vw;
    height: 19.5vw;
    /* margin: 2em 4.25%; */
    margin: 2em 3.25vw;
    padding: 10px;
    overflow: hidden;
    background: rgba(166, 217, 152, 0.26);
    border: 1.5px solid #FFFFFF;
    box-shadow: 4px 4px 43px rgba(166, 217, 152, 0.11), 0px 0px 39px rgba(13, 83, 91, 0.09);
    border-radius: 16px;
}
.mybox1 span:hover div {
    bottom: 0;
    transition: all .6s;
}
.mybox1 img {
    width: 100%;
    border-radius: 6% 6% 0 0;
}
.mybox1 footer {
    padding: 5px;
    font-size: 1vw;
    border-radius: 0 0 6% 6%;
    text-align: center;
}
.mybox1 span div {
    position: absolute;
    bottom: -20.5rem;
    width: 100%;
    height: auto;
    min-height: 35%;
    background-color: #343a40;
    transition: all 1s;
    color: #fff;
    padding: 5px;
    font-size: .9rem;
    margin-left: -10px;
    text-align: center;
    line-height: 1.5rem;
}


/* 侧边导航 */
.side-nav {
    position: fixed;
    top: 40%;
    right: 2.4vw;
    transform: translate(0, -500%);
    min-width: 10.5vw;
    max-width: 13vw;
    height: auto;
    border: 1px solid #888888;
    border-radius: 10px;
    overflow: hidden;
    transition: transform 1s 0s, box-shadow .3s;
    z-index: 2;
}
.side-nav:hover {
    box-shadow: 0 0 10px 1px #888;
    transition: box-shadow .3s;
}
.side-nav div {
    display: flex;
    width: 100%;
    height: 50px;
    padding: 0 20px;
    align-items: center;
    
}
.side-nav div a {
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
    flex: 1;
    height: 30px;
    line-height: 30px;
    cursor: pointer;
    text-align: center;
    text-decoration: none;
    font-size: 1.03vw;
    max-width: 100%;
}
.side-nav div a::before {  
    transform: scaleX(0);
    transform-origin: bottom right;
}
.side-nav div a:hover::before {
    transform: scaleX(1);
    transform-origin: bottom left;
}
.side-nav div a::before {
    content: " ";
    display: block;
    position: absolute;
    top: 0; right: 0; bottom: 0; left: 0;
    inset: 0 0 0 0;
    background: hsl(200 100% 80%);
    z-index: -1;
    transition: transform .3s ease;
}
.side-nav div a {
    position: relative;
}
.current {
    background-color: hsl(200 100% 80%);
}
.show {
    transform: translate(0, -50%);
}

/* 返回顶部 */
.toTop {
    position: fixed;
    right: 6vw;
    bottom: -100px;
    width: 50px;
    height: 50px;
    transition: all .8s 0s;
    z-index: 4;
}
.toTop i {
    display: block;
    width: 100%;
    height: 100%;
    background-image: url(https://static.igem.wiki/teams/4146/wiki/wiki-test/backtop.png);
}
.move {
    bottom: 40px;
}

/* 页脚 */
.footer {
    position: relative;
    width: 100%;
    height: auto;
    background-color: #fff;
    z-index: 3;
}
.footer div {
    position: relative;
    width: 100%;
    background-color: #fff;
    border: 1px solid #888888;
    overflow: hidden;
    /* box-shadow: 0 -2px 5px 2px #888888;; */
    border-radius: 2% 2% 0 0 / 5% 5% 0 0;
}
