/* reset */
html,
body,
div,
span,
object,
iframe,
h1,
h2,
h3,
p,
a,
del,
img,
strong,
tt,
b,
u,
i,
dl,
dt,
dd,
ol,
ul,
li,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
embed,
figure,
figcaption,
footer,
header,
hgroup,
menu,
nav,
output,
ruby,
section,
summary,
time,
mark,
audio,
video {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font: inherit;
    vertical-align: baseline;
}

/* HTML5 display-role reset for older browsers */
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
    display: block;
}

body {
    line-height: 1;
}

ol,
ul,
li {
    list-style: none;
}

blockquote,
q {
    quotes: none;
}

blockquote:before,
blockquote:after,
q:before,
q:after {
    content: '';
    content: none;
}

table {
    border-collapse: collapse;
    border-spacing: 0;
}

a {
    text-decoration: none;
    color: inherit;
}

/* 重置文本框 */
input {
    border: none;
    outline: none;
    outline-offset: 0;
}

/* 重置按钮 */
button {
    border: none;
    outline: none;
    outline-offset: 0;
    background-color: transparent;
    padding: 0;
}

/* 结束 */

/* iconfont */
@font-face {
    font-family: "iconfont";
    /* Project id 4490352 */
    /* Color fonts */
    src:
        url('https://static.igem.wiki/teams/5304/font/iconfont.woff2') format('woff2'),
        url('https://static.igem.wiki/teams/5304/font/iconfont.woff') format('woff'),
        url('https://static.igem.wiki/teams/5304/font/iconfont.ttf') format('truetype');
}

.iconfont {
    font-family: "iconfont" !important;
    font-size: 16px;
    font-style: normal;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.icon-bofang:before {
    content: "\e696";
}

.icon-lingying:before {
    content: "\e73f";
}

.icon-a-wujiaoxingxingxing:before {
    content: "\e63c";
}

.icon-huidaodingbu:before {
    content: "\e695";
}

.icon-qianjin-shi:before {
    content: "\e654";
}

.icon-back:before {
    content: "\e609";
}

.icon-prevsong:before {
    content: "\e603";
}

.icon-prev:before {
    content: "\e605";
}

.icon-xijun:before {
    content: "\e604";
}

.icon-xibaoyinhang_xibaodengji:before {
    content: "\e64e";
}

.icon-shengwu:before {
    content: "\e6c2";
}

.icon-xijun1:before {
    content: "\e6b7";
}

.icon-virus:before {
    content: "\e85b";
}

.icon-cell:before {
    content: "\e600";
}

.icon-xibao:before {
    content: "\e602";
}

.icon-weixin:before {
    content: "\e665";
}

.icon-bilibili:before {
    content: "\e601";
}

/* 结束 */

@font-face {
    font-family: "dancing";
    src: url("https://static.igem.wiki/teams/5304/font/dancingscriptbold.woff");
}

@font-face {
    font-family: "Rowdies";
    src: url("https://static.igem.wiki/teams/5304/font/rowdiesregular.woff");
}

@font-face {
    font-family: "Roboto1";
    src: url("https://static.igem.wiki/teams/5304/font/mn.woff");
}

@font-face {
    font-family: "Roboto2";
    src: url("https://static.igem.wiki/teams/5304/font/librefranklinlightitalic.woff");
}

@font-face {
    font-family: "Roboto3";
    src: url("https://static.igem.wiki/teams/5304/font/robotoserif28ptsemibold.woff");
}

@font-face {
    font-family: "Roboto4";
    src: url("https://static.igem.wiki/teams/5304/font/robotoserif28ptsemibolditalic.woff");
}

@font-face {
    font-family: "Aileron1";
    src: url("https://static.igem.wiki/teams/5304/font/aileronblack.woff");
}

@font-face {
    font-family: "Aileron2";
    src: url("https://static.igem.wiki/teams/5304/font/aileronblackitalic.woff");
}

html {
    scroll-behavior: smooth;
}

body {
    background: url("https://static.igem.wiki/teams/5304/bigbg.webp") center center;
    overflow: hidden;
}

.float-left {
    float: left;
}

.float-right {
    float: right;
}

.clearfix::after {
    content: "";
    display: block;
    clear: both;
}

.hidden {
    display: none;
}

.m-n,
.m-i,
.m-b,
.m-bi {
    font-size: 16px;
    color: #242223f5;
    line-height: 1.8;
    text-align: justify;
}

.img-p .m-i{
    font-size: 12px;
}

.m-n {
    font-family: 'Roboto1';
}

.m-i {
    font-family: 'Roboto2';
}

.m-b {
    font-family: 'Roboto3';
}

.model .m-b{
    color: #1b4c9d;
}

.m-bi {
    font-family: 'Roboto4';
}

.h-n,
.h2-n,
.h3-n {
    font-family: 'Aileron1';
    font-weight: bold;
    color: #342762;
}

.h-i,
.h2-i,
.h3-i {
    font-family: 'Aileron2';
}

.h-n,
.h-i{
    font-size: 30px;
}

.h2-n,
.h2-i {
    font-size: 24px;
}

.h3-n,
.h3-i{
    font-size: 20px;
}


.figure {
    font-weight: bold;
    color: #000000c2;
}

.img-p {
    font-family: 'Roboto2';
    font-size: 12px;
    color: #453c41;
    margin-top: 10px;
}

.dot {
    position: relative;
    padding-left: 10px;
}

.dot::before {
    position: absolute;
    content: "\2022";
    width: 10px;
    height: 10px;
    left: 0;
}

.a-tz {
    position: relative;
    cursor: pointer;
    font-weight: bold;
    color: #274e62;
}

.a-tz::after {
    transform-origin: center;
    transition: all .2s ease-in-out 0s;
    content: "";
    height: 2px;
    background-color: #ffffff;
    width: 100%;
    transform: scaleX(0);
    position: absolute;
    bottom: -3px;
    left: 0;
}

.a-tz:hover::after {
    transform: scaleX(1);
}

/* 顶部滚动条 */
.progress-bar {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 5px;
    background-color: #450f75b8;
    z-index: 1000;
    transition: .2s;
}

/* 结束 */

/* 回到顶部按钮开始 */
#scrollTopButton,
.totopBtn {
    display: none;
    position: fixed;
    bottom: 4vh;
    right: 3vw;
    border: none;
    cursor: pointer;
    border-radius: 50%;
    z-index: 1000;
}

.to-top img {
    width: 5vw;
}

@keyframes toTop {
    from {
        transform: translateY(0);
    }

    to {
        transform: translateY(-800px);
    }
}

.move {
    animation: toTop 1s ease-out forwards;
}

/* 回到顶部按钮结束 */

/* 顶部导航栏开始 */
.top-nav {
    position: fixed;
    width: 100%;
    height: 100px;
    box-sizing: border-box;
    background-image: linear-gradient(#fef0e5 0, #fef0e5 83%, transparent 100%);
    top: 0;
    padding-top: 5px;
    font-family: "Rowdies";
    transition: all 0.4s;
    z-index: 999;
}

.top-nav.fff,
.top-nav.home {
    background-image: linear-gradient(#eff0f7 0, #eff0f7 83%, transparent 100%);
}

.top-nav.stretch {
    overflow-y: scroll;
}

.top-nav .container {
    display: flex;
    justify-content: space-between;
    perspective: 1000px;
    padding: 0 5vw;
}

.top-nav .container .top-nav-logo {
    width: 115px;
    display: inline-block;
    flex-shrink: 0;
}

.top-nav .container .top-nav-logo img {
    width: 100%;
}

.top-nav .container input {
    display: none;
}

.top-nav .container label {
    position: absolute;
    top: 15px;
    right: 100px;
    width: 50px;
    height: 50px;
    cursor: pointer;
    border-radius: 50%;
    transition: all 0.5s ease-out;
    display: none;
}

.top-nav .container label::before,
.top-nav .container label::after,
.top-nav .container label .hg {
    content: "";
    position: absolute;
    left: 8px;
    width: 35px;
    height: 4px;
    border-radius: 6px;
    background-color: #e95d78;
    transition: transform 0.3s ease-out, top 0.3s ease-out 0.3s;
}

.top-nav .container label::before {
    top: calc(50% - 13px);
}

.top-nav .container label::after {
    top: calc(50% + 9px);
}

.top-nav .container label .hg {
    top: calc(50% - 2px);
}

.top-nav .container input:checked+label::before {
    top: calc(50% - 2px);
    transform: rotate(-45deg);
    transition: top 0.3s ease-out, transform 0.3s ease-out 0.3s;
}

.top-nav .container input:checked+label::after {
    top: calc(50% - 2px);
    transform: rotate(45deg);
    transition: top 0.3s ease-out, transform 0.3s ease-out 0.3s;
}

.top-nav .container input:checked+label .hg {
    transform: scaleX(0);
    transition: .3s;
}

.top-nav .container .top-nav-link {
    flex-direction: row;
    gap: 1vw;
}

.top-nav .container .top-nav-link .link-li {
    box-sizing: border-box;
    text-align: center;
    line-height: 55px;
    margin: 15px 0;
    padding: 0 15px;
}

.top-nav .container .top-nav-link .link-li a {
    color: #342762;
    font-size: 24px;
}

.top-nav .container .top-nav-link .link-li:hover a {
    color: #274e62;
}

.top-nav .container .top-nav-link .top-submenu {
    text-align: justify;
    transition: all .5s;
    display: none;
    opacity: 0;
    flex-direction: column;
    gap: 15px;
}

.top-nav .top-nav-link .link-li .submenu-img {
    width: 100px;
    padding-left: 10px;
}

.top-nav .top-nav-link .link-li .submenu-img img {
    width: 100%;
}

.top-nav .container .top-nav-link .top-submenu ul {
    display: flex;
    flex-direction: column;
}

.top-nav .container .top-nav-link .top-submenu a {
    font-size: 21px;
    white-space: nowrap;
    transition: font-size 0.5s ease;
    position: relative;
}

.top-nav .top-nav-link .top-submenu a::after {
    transform-origin: center;
    transition: all .2s ease-in-out 0s;
    content: "";
    height: 3px;
    background-color: #31135e;
    width: 100%;
    transform: scaleX(0);
    position: absolute;
    bottom: 0;
    left: 0;
}

.top-nav .top-nav-link .top-submenu a:hover::after {
    transform: scaleX(1);
}

.top-nav .container .top-nav-link .top-submenu li {
    line-height: 1.8;
}

.link-li:nth-child(1) {
    width: 116px;
}

.link-li:nth-child(2) {
    width: 135px;
}

.link-li:nth-child(3) {
    width: 105px;
}

.link-li:nth-child(4) {
    width: 240px;
}

.link-li:nth-child(5) {
    width: 100px;
}

.link-li:nth-child(6) {
    width: 128px;
}

@media (max-width: 1250px) {
    #scrollTopButton {
        top: 25px;
        bottom: unset;
        right: 35px;
    }

    #scrollTopButton img {
        width: 32px;
    }

    .top-nav.stretch {
        height: 600px !important;
    }

    .top-nav .container {
        display: block;
    }

    .top-nav .top-nav-link {
        margin-top: 40px;
        opacity: 0;
        transition: all 0.5s ease-out;
        justify-content: space-around;
        gap: 0;
        display: none;
    }

    .top-nav .container label {
        display: block;
    }

    .top-nav .container .top-nav-link .link-li {
        margin: 0;
        padding: 0;
        line-height: 20px;
        text-align: justify;
        flex-shrink: 0;
    }

    .top-nav .container input:checked~.top-nav-link {
        opacity: 1;
    }
}

@media (max-width: 870px) {
    .top-nav.stretch {
        height: 800px !important;
    }

    .top-nav .container .top-nav-link {
        flex-direction: column;
        gap: 20px;
        text-align: center;
        padding-bottom: 50px
    }

    .top-nav .container .top-nav-link .link-li {
        width: 100%;
        text-align: center;
        border-bottom: 2px solid #381e4252;
        padding-bottom: 20px;
    }

    .top-nav .container .top-nav-link .link-li:nth-last-child(1) {
        border-bottom: none;
    }

    .top-nav .container .top-nav-link .top-submenu {
        display: flex !important;
        opacity: 1 !important;
        text-align: center;
        align-items: center;
        margin-top: 20px;
    }

    .top-nav .top-nav-link .link-li .submenu-img {
        padding: 0;
    }
}

@media (min-width: 1250px) {
    .top-nav .container .top-nav-link {
        display: flex;
    }
}

/* 顶部导航栏结束 */

/* 顶部背景开始 */
.top-bg {
    width: 100%;
    margin-top: 85px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.top-bg .top-img {
    display: flex;
    justify-content: center;
    align-items: center;
}

.top-bg .top-img img {
    width: 100%;
    object-fit: contain;
}

/* 顶部背景结束 */

/* 页脚开始 */
.footer {
    background-color: #342762;
    line-height: 2;
    color: #ffffff;
    font-weight: bold;
    width: 100%;
    padding: 5px 0;
    position: relative;
    z-index: 98;
}

.footer .container {
    display: flex;
    justify-content: center;
    padding: 20px 0;
}

.footer .container .footer-contact {
    margin: 0 60px 0 120px;
}

.footer .container .footer-nav .footer-nav-header {
    font-size: 25px;
    font-weight: 700;
}

.footer .container .footer-nav ul {
    font-size: 17px;
    font-weight: 500;
}

.footer .container .footer-nav .iconfont {
    font-size: 16px;
}

.footer .container .footer-nav li a {
    border: 1px solid transparent;
    margin-left: 6px;
    position: relative;
    color: #fff;
}

.footer .footer-nav li a:hover::after {
    transform: scaleX(1);
}

.footer .footer-contact .footer-contact-header {
    font-size: 25px;
    font-weight: bold;
    margin-bottom: 25px;
}

.footer .footer-contact p {
    font-size: 17px;
    font-weight: bold;
    line-height: 3;
}

.footer .footer-contact .footer-iconfont {
    margin-top: 15px;
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    width: 100%;
}

.footer .footer-contact .footer-iconfont .iconfont {
    font-size: 45px;
    cursor: default;
}

.footer .footer-img {
    text-align: center;
}

.footer .footer-img .footer-logo {
    margin: 30px auto 40px auto;
}

.footer .footer-img .footer-logo img {
    width: 180px;
    height: 120px;
}

.footer .footer-img .footer-sp {
    width: 345px;
    height: 64px;
    overflow: hidden;
    text-align: initial;
}

.footer .footer-sp .img-box {
    width: 2450px;
    height: 64px;
    margin: initial;
}

.footer .footer-sp .img-box img {
    width: 345px;
    height: 64px;
}

.footer.none{
    display: none;
}

@media (max-width: 1100px) {
    @media (min-width: 960px) {
        .footer .container .footer-contact {
            margin: 10px 0 10px 20px;
        }
    }
}

@media (max-width: 960px) {
    .footer .container {
        text-align: center;
        flex-direction: column;
    }

    .footer .container .footer-nav,
    .footer .container .footer-contact,
    .footer .container .footer-img {
        float: none;
        border-bottom: 1px solid #7270704d;
        margin-right: auto;
        margin-left: auto;
        width: 50vh;
    }

    .footer .footer-contact .footer-iconfont .iconfont {
        margin: 0 20px;
    }

    .footer .container .footer-img {
        border-bottom: none;
    }

    .footer .footer-img .footer-sp {
        margin-left: 30px;
    }
}

/* 页脚结束 */

/* 加载开始 */
.loader {
    height: 100vh;
    width: 100vw;
    position: fixed;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    z-index: 99999;
    opacity: 1;
    transition: opacity 1s;
}

.loader .inner{
    width: 100%;
    height: 100%;
    background-color: #fff;
}

.loader .inner img{
    width: 100%;
    height: 100%;
}

/* 加载结束 */

/* 顶部介绍 */
.flex {
    display: flex;
    align-items: center;
    justify-content: center;
}

.top-intro {
    background-color: transparent;
    width: 100%;
    padding: 70px 80px 50px 80px;
    box-sizing: border-box;
}

.top-intro .button-area {
    display: flex;
    gap: 80px;
}

.top-intro .button-area .button {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 100px;
}

.top-intro .button-area .button button {
    padding: 10px 25px;
    font-weight: bold;
    transition: all .3s;
    height: 55px;
    border-radius: 15px;
    cursor: pointer;
    transition: all .5s;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: rgb(249 242 255 / 32%);
    box-shadow: 3px 3px 10px rgb(0 0 0 / 22%);
    color: #342762ad;
}

.top-intro .button-area .button button:hover,
.top-intro .button-area .button button.but-active {
    box-shadow: 3px 3px 10px rgba(0, 0, 0, 0.6);
    background-color: #1d004436;
    transform: translateY(-3px);
    color: #342762;
}

/* 结束 */


/* 滚动条 */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-thumb {
    background-color: rgb(208, 208, 208);
    border-radius: 8px;
    border: 2px solid transparent;
    background-clip: content-box;
    cursor: pointer;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background-color: #afafaf;
}