@charset "UTF-8";

@font-face {
    font-family: 'Merienda';
    src: url('Fonts/Merienda.ttf');
}

@font-face {
    font-family: 'mobilgraphics-2';
    src: url('Fonts/mobilgraphics-2.ttf');
}

/*team页字体*/
@font-face {
    font-family: 'ERASDEMI';
    src: url('Fonts/ErasDemiITC.ttf');
}

@font-face {
    font-family: LondrinaSketch-Regular, sans-serif;
}

/*Copyright 2018 The Pacifico Project Authors (https://github.com/googlefonts/Pacifico)
This Font Software is licensed under the SIL Open Font License, Version 1.1.*/
@font-face {
    font-family: 'Pacifico';
    src: url('Fonts/Pacifico-Regular.ttf');
}

/*********************************************************************************/
/* Basic                                                                         */
/*********************************************************************************/

* {
    box-sizing: border-box;
}

body {
    background-color: #FFFDF1;
    background-attachment: fixed;
    background-size: cover;
    font-family: ERA;
}

body, input, textarea, select {
    font-family: 'Merienda', sans-serif;
    line-height: 1.75em;
    font-weight: 300;
    letter-spacing: 1px;
    color: #3a3939;
    text-shadow: 0 0 0.5px rgba(58, 57, 57, 0.25);
}

/*导航栏*/
#nav-trans {
    position: fixed;
    top: 0;
    transition: top 0.15s ease;
}

.navbar-nav {
    padding-left: 10px;
    padding-right: 0;
    padding-top: 10px;
    right: 0;
    width: 100%;
    display: flex;
    align-items: center;
    height: 100%;
}

.navbar-nav li {
    margin-left: 20px; /*导航栏项之间的距离*/
}

.navbar-nav li a {
    color: inherit;
    text-shadow: none;
    text-decoration: none;
}

#nav-trans .nav-link {
    /* 导航栏字颜色 */
    font-size: 25px;
    font-weight: 600;
    font-family: "Merienda", arial, sans-serif;
    line-height: 40px;
    display: inline-block;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent !important;
}

@media (max-width: 992px) {
    #nav-trans .nav-link {
        /* 导航栏字颜色 */
        font-size: 25px;
        font-weight: 600;
        font-family: "Merienda", arial, sans-serif;
        line-height: 40px;
        display: inline-block;
        padding: 0.5rem 1rem;
        margin: 0;
    }
}

#nav-trans .dropdown-item:active {
    background-color: rgb(207, 229, 237);
}

#nav-trans .dropdown-item:hover {
    color: orange;
    border-radius: 2px;
    font-size: large;
    transition: all 0.2s;
}

.dropdown-menu {
    background-color: #f4f5f0fe;
}

@media (max-width: 992px) {

    /* 导航栏下拉菜单颜色 */
    .dropdown-menu {
        background-color: #ffffff33;
        border: 0;
    }

    .dropdown-item {
        color: #5368b4;
    }
}

/*左侧悬浮导航栏*/
.shell {
    height: auto;
    width: 13vw;
    left: 13px;
    top: 125px;
    position: fixed;
    display: none;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    background-color: rgb(207, 229, 237);
    border-radius: 10px;
}

.navbar-brand {
    font-weight: bold;
    color: rgba(71, 85, 105, 1) !important;
    font-size: 1em;
    border-radius: 3px;
    margin-left: 16px;
}

.nav-pills .nav-link {
    border-radius: 3px;
    color: #2c3034;
    font-size: 1em;
    height: 80%;
    line-height: 20px;
}

/* color change */
/* 可以改侧边栏active */
.nav-pills .nav-link.active, .nav-pills .show > .nav-link {
    color: orange !important;
    background-color: white;
    font-size: 1em;
    height: 80%;
}

.nav-pills .nav-link:hover {
    color: orange !important;
    background-color: white;
    font-size: 1em;
    height: 80%;
}

.exp-link {
    border-radius: 5px;
    border: 5px solid #1496F8;
}

.shape {
    margin: 0 auto;
    aspect-ratio: 1;
    position: relative;
    --width: 100%;
    --scale: 1;
    --opacity: 0.66;
    --top: 0;
    --left: 0;
    --path: polygon(0% 0%, 100% 0%, 100% 100%, 0% 100%);
    --background: linear-gradient(rgba(255, 134, 53, 0.3), rgba(167, 193, 220, 0.3), rgba(252, 166, 253, 0.3), rgba(255, 136, 65, 0.3));
    --offset: 0deg;
    --speed: 8000ms;
    clip-path: var(--path);
    background: var(--background);
    scale: var(--scale);
    opacity: var(--opacity);
    width: var(--width);
    top: var(--top);
    left: var(--left);
    rotate: var(--offset);
    mix-blend-mode: difference;
    animation: turn var(--speed) linear forwards infinite;
}

@keyframes turn {
    to {
        rotate: calc(var(--offset) + 1turn);
    }
}

.blur-container {
    --blur: 40px;
    filter: blur(var(--blur));
    top: 0;
    left: 0;
    height: 100vh;
    width: 100%;
    display: grid;
    overflow: hidden;
    position: fixed;
}

.blur-container > * {
    grid-column: 1/-1;
    grid-row: 1/-1;
}

.parallax-img {
    position: relative;
    width: 700px;
    height: 500px;
    overflow: hidden;
}


.anchor {
    /* 通过向需要跳转的位置插入此锚点实现向上偏移的效果 */
    display: block;
    height: 400px;
    margin-top: -400px;
    visibility: hidden;
}

.h1_bg {
    background-image: linear-gradient(to right, #fea311, #c78168, #75519e, #0004fb);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.h1_line {
    margin: 1.5rem 0 2.5em 0;
    background-color: grey;
    height: 2px;
    width: 100%;
}

.h2_team {
    color: #063479;
    font-family: ERASDEMI;
    font-size: 1.5em;
}

.container_opa {
    background-color: rgba(255, 255, 255, 0.5);
    padding-top: 3em;
    border-radius: 20px;
    box-shadow: 0 4px 0 -2px grey; /* 下边框灰色阴影 */
}

.content {
    opacity: 1;
    padding-top: 2em;
    filter: blur(0);
}

.body_content {
    padding: 0 2em;
}

.up_down {
    /*上下浮动*/
    animation: ud 2s ease-in-out infinite alternate-reverse both;
}

/*配合下述规则使用*/
@-webkit-keyframes ud {
    0% {
        transform: translateY(10px);
    }
    100% {
        transform: translateY(-10px);
    }
}

@keyframes ud {
    0% {
        transform: translateY(10px);
    }
    100% {
        transform: translateY(-10px);
    }
}

.row {
    margin: 0;
    padding: 0;
    width: 100%;
}

.img-mouse {
    width: 50px;
    height: 50px;
    position: fixed;
    background-image: url("https://static.igem.wiki/teams/4616/wiki/elf/elf-1.png");
    background-size: cover;
    z-index: 999;
}

#head1 {
    font-size: 3em;
    font-weight: 400;
    text-decoration: none;
    text-align: center;
    text-transform: uppercase;
    line-height: 1;
    letter-spacing: 0;
    color: transparent;
    -webkit-text-stroke: 3px black;
    text-shadow: 0 0 0 black;
    transition: all 250ms;
    font-family: "Times New Roman";
}

#head1:hover {
    text-shadow: 8px 8px 0 black;
    transform: translate(-2px, -2px);
}

.home-origin-left {
    position: relative;
    max-width: 100%;
    height: 30vh;
}

.home-origin-left h1 {
    font-size: 3em;
    font-weight: 400;
    text-align: center;
    line-height: 1;
    font-family: "Times New Roman";
    color: #282727;
    opacity: 0.7;
}

.home-origin-left img {
    width: 80%;
    height: auto;
    object-fit: cover;
    border-radius: 10px;
    transition: all 1s;
    opacity: 1;
}

.home-origin-right p {
    font-size: 1.5em;
    margin-top: 30px;
    height: 50%;
    font-weight: 100;
    text-decoration: none;
    text-align: left;
    line-height: 1;
    letter-spacing: 3px;
    font-family: "ERASDEMI";
    justify-content: center;
    color: rgba(45, 44, 44, 0.7);
    max-width: 100%;
    text-indent: 0;
}

.home-origin-right p strong {
    font-size: 1.5em;
    font-weight: 400;
    text-decoration: none;
    text-align: left;
    line-height: 1;
    letter-spacing: 3px;
    font-family: "ERASDEMI";
    opacity: 1;
    text-transform: none;
    color: #1496f8;
}

.home-origin-right h1 {
    display: inline-block;
    width: auto;
    font-size: 3em;
    font-weight: 600;
    text-align: left;
    line-height: 1;
    letter-spacing: 3px;
    font-family: ERASDEMI;
    opacity: 1;
    text-transform: none;
    background-image: linear-gradient(to right, #fea311, #c78168, #75519e, #0004fb);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    position: relative;
}

.linear-line {
    position: relative;
    width: 100%;
    height: 5px;
    background-image: linear-gradient(to right, #fea311, #c78168, #75519e, #0004fb);
    border-radius: 10px;
    transition: all 1s;
    opacity: 0.7;
}

.home-origin-center h1 {
    font-size: 2em;
    font-weight: 400;
    text-align: center;
    line-height: 1;
    letter-spacing: 0;
    font-family: "ERASDEMI";
    color: #282727;
    opacity: 0.7;
    text-transform: none;
}

.home-origin-center h1 strong {
    font-size: 2em;
    font-weight: 400;
    text-decoration: none;
    text-align: center;
    line-height: 1.5;
    letter-spacing: 0;
    -webkit-text-fill-color: transparent;
    background-image: linear-gradient(to right, #fea311, #c78168, #75519e, #0004fb);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-stroke: 3px transparent;
    text-stroke: 3px transparent;
    text-shadow: 0 0 0 transparent;
    transition: all 250ms;
    font-family: "ERASDEMI";
    text-transform: none;
}

.home-three h1 {
    font-size: 1em;
    font-weight: 200;
    text-align: center;
    line-height: 1;
    letter-spacing: 0;
    font-family: "Times New Roman";
    color: black;
    opacity: 0.7;
    text-transform: none;
}

.moveleft {
    transform: translateX(-17vh);
}

span.counter {
    display: block;
    margin: 20px auto;
    line-height: 1.5;
    font-size: 100px;
    font-family: 'Pacifico', cursive;
    justify-content: center;
    align-items: center;
    text-align: center;
}

div.million {
    line-height: 1.5;
    display: block;
    margin: 20px auto;
    font-size: 64px;
    font-family: 'Pacifico', cursive;
    justify-content: center;
    align-items: center;
    text-align: center;
}

div.market {
    line-height: 1.5;
    display: block;
    margin: 20px auto;
    font-size: 30px;
    font-family: 'ERASDEMI';
    justify-content: center;
    align-items: center;
    text-align: center;
}

#changeYButton {
    width: 130px;
    height: 40px;
    color: #fff;
    border-radius: 5px;
    padding: 10px 25px;
    font-family: 'Lato', sans-serif;
    font-weight: 500;
    background: transparent;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    display: inline-block;
    box-shadow: inset 2px 2px 2px 0px rgba(255, 255, 255, .5),
    7px 7px 20px 0px rgba(0, 0, 0, .1),
    4px 4px 5px 0px rgba(0, 0, 0, .1);
    outline: none;
}

#changeYButton {
    background: radial-gradient(circle, rgba(252, 204, 204, 0.4) 0%, rgba(246, 188, 124, 0.4) 100%);
    line-height: 42px;
    padding: 0;
    border: none;
}

#changeYButton:before,
#changeYButton:after {
    position: absolute;
    content: "";
    height: 0%;
    width: 1px;
    box-shadow: -1px -1px 20px 0px rgba(255, 255, 255, 1),
    -4px -4px 5px 0px rgba(255, 255, 255, 1),
    7px 7px 20px 0px rgba(0, 0, 0, .4),
    4px 4px 5px 0px rgba(0, 0, 0, .3);
}

#changeYButton:before {
    right: 0;
    top: 0;
    transition: all 500ms ease;
}

#changeYButton:after {
    left: 0;
    bottom: 0;
    transition: all 500ms ease;
}

#changeYButton:hover {
    background: transparent;
    color: #76aef1;
    box-shadow: none;
}

#changeYButton:hover:before {
    transition: all 500ms ease;
    height: 100%;
}

#changeYButton:hover:after {
    transition: all 500ms ease;
    height: 100%;
}

.blog-slider {
    width: 100%;
    position: relative;
    margin: 1em 1.5em;
    background: #fff;
    box-shadow: 0px 14px 80px rgba(34, 35, 58, 0.2);
    padding: 25px;
    border-radius: 25px;
    height: 75vh;
    transition: all 0.3s;
}

@media screen and (max-width: 992px) {
    .blog-slider {
        max-width: 680px;
        height: 400px;
    }
}

@media screen and (max-width: 768px) {
    .blog-slider {
        min-height: 500px;
        height: auto;
        margin: 180px auto;
    }
}

@media screen and (max-height: 500px) and (min-width: 992px) {
    .blog-slider {
        height: 350px;
    }
}

.blog-slider__item {
    display: flex;
    align-items: center;
}

@media screen and (max-width: 768px) {
    .blog-slider__item {
        flex-direction: column;
    }
}

.blog-slider__item.swiper-slide-active .blog-slider__img img {
    opacity: 1;
    transition-delay: 0.3s;
}

.blog-slider__item.swiper-slide-active .blog-slider__content > * {
    opacity: 1;
    transform: none;
}

.blog-slider__item.swiper-slide-active .blog-slider__content > *:nth-child(1) {
    transition-delay: 0.3s;
}

.blog-slider__item.swiper-slide-active .blog-slider__content > *:nth-child(2) {
    transition-delay: 0.4s;
}

.blog-slider__item.swiper-slide-active .blog-slider__content > *:nth-child(3) {
    transition-delay: 0.5s;
}

.blog-slider__item.swiper-slide-active .blog-slider__content > *:nth-child(4) {
    transition-delay: 0.6s;
}

.blog-slider__item.swiper-slide-active .blog-slider__content > *:nth-child(5) {
    transition-delay: 0.7s;
}

.blog-slider__item.swiper-slide-active .blog-slider__content > *:nth-child(6) {
    transition-delay: 0.8s;
}

.blog-slider__item.swiper-slide-active .blog-slider__content > *:nth-child(7) {
    transition-delay: 0.9s;
}

.blog-slider__item.swiper-slide-active .blog-slider__content > *:nth-child(8) {
    transition-delay: 1s;
}

.blog-slider__item.swiper-slide-active .blog-slider__content > *:nth-child(9) {
    transition-delay: 1.1s;
}

.blog-slider__item.swiper-slide-active .blog-slider__content > *:nth-child(10) {
    transition-delay: 1.2s;
}

.blog-slider__item.swiper-slide-active .blog-slider__content > *:nth-child(11) {
    transition-delay: 1.3s;
}

.blog-slider__item.swiper-slide-active .blog-slider__content > *:nth-child(12) {
    transition-delay: 1.4s;
}

.blog-slider__item.swiper-slide-active .blog-slider__content > *:nth-child(13) {
    transition-delay: 1.5s;
}

.blog-slider__item.swiper-slide-active .blog-slider__content > *:nth-child(14) {
    transition-delay: 1.6s;
}

.blog-slider__item.swiper-slide-active .blog-slider__content > *:nth-child(15) {
    transition-delay: 1.7s;
}

.blog-slider__img {
    width: 300px;
    flex-shrink: 0;
    height: 300px;
    /*background-image: linear-gradient(147deg, #fe8a39 0%, #fd3838 74%);*/
    box-shadow: 4px 13px 30px 1px rgba(0, 0, 128, 0.2);
    border-radius: 20px;
    transform: translateX(-80px);
    overflow: hidden;
}

.blog-slider__img:after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /*background-image: linear-gradient(147deg, #fe8a39 0%, #fd3838 74%);*/
    border-radius: 20px;
    opacity: 0.8;
}

.blog-slider__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    opacity: 0;
    border-radius: 20px;
    transition: all 0.3s;
}

@media screen and (max-width: 768px) {
    .blog-slider__img {
        transform: translateY(-50%);
        width: 90%;
    }
}

@media screen and (max-width: 576px) {
    .blog-slider__img {
        width: 95%;
    }
}

@media screen and (max-height: 500px) and (min-width: 992px) {
    .blog-slider__img {
        height: 270px;
    }
}

.blog-slider__content {
    padding-right: 25px;
}

@media screen and (max-width: 768px) {
    .blog-slider__content {
        margin-top: -80px;
        text-align: center;
        padding: 0 30px;
    }
}

@media screen and (max-width: 576px) {
    .blog-slider__content {
        padding: 0;
    }
}

.blog-slider__content > * {
    opacity: 0;
    transform: translateY(25px);
    transition: all 0.4s;
}

.blog-slider__code {
    color: #7b7992;
    margin-bottom: 15px;
    display: block;
    font-weight: 500;
}

.blog-slider__title {
    font-size: 24px;
    font-weight: 700;
    color: #0d0925;
    margin-bottom: 20px;
}

.blog-slider__text {
    color: #4e4a67;
    margin-bottom: 30px;
    line-height: 1.5em;
    text-align: justify;
}

.blog-slider__button {
    display: inline-flex;
    background-image: linear-gradient(147deg, #fe8a39 0%, #fd3838 74%);
    padding: 15px 35px;
    border-radius: 50px;
    color: #fff;
    box-shadow: 0px 14px 80px rgba(252, 56, 56, 0.4);
    text-decoration: none;
    font-weight: 500;
    justify-content: center;
    text-align: center;
    letter-spacing: 1px;
}

@media screen and (max-width: 576px) {
    .blog-slider__button {
        width: 100%;
    }
}

.blog-slider .swiper-container-horizontal > .swiper-pagination-bullets, .blog-slider .swiper-pagination-custom, .blog-slider .swiper-pagination-fraction {
    bottom: 10px;
    left: 0;
    width: 100%;
}

.blog-slider__pagination {
    position: absolute;
    z-index: 21;
    right: 20px;
    width: 11px !important;
    text-align: center;
    left: auto !important;
    top: 50%;
    bottom: auto !important;
    transform: translateY(-50%);
}

@media screen and (max-width: 768px) {
    .blog-slider__pagination {
        transform: translateX(-50%);
        left: 50% !important;
        top: 205px;
        width: 100% !important;
        display: flex;
        justify-content: center;
        align-items: center;
    }
}

.blog-slider__pagination.swiper-pagination-bullets .swiper-pagination-bullet {
    margin: 8px 0;
}

@media screen and (max-width: 768px) {
    .blog-slider__pagination.swiper-pagination-bullets .swiper-pagination-bullet {
        margin: 0 5px;
    }
}

.blog-slider__pagination .swiper-pagination-bullet {
    width: 11px;
    height: 11px;
    display: block;
    border-radius: 10px;
    background: #062744;
    opacity: 0.2;
    transition: all 0.3s;
}

.blog-slider__pagination .swiper-pagination-bullet-active {
    opacity: 1;
    background: #fd3838;
    height: 30px;
    box-shadow: 0px 0px 20px rgba(252, 56, 56, 0.3);
}

@media screen and (max-width: 768px) {
    .blog-slider__pagination .swiper-pagination-bullet-active {
        height: 11px;
        width: 30px;
    }
}

.clip-circle {
    width: 20vw;
    height: 25vh;
    background-size: 100% 100%;
    background-position: center center;
}

/*图片大小适应小屏幕*/
@media (max-width: 992px) {
    .clip-circle {
        width: 50vw;
        height: 20vh;
        object-fit: cover;
        border-radius: 50%;
        transition: all 1s;
        opacity: 1;
    }
}

/*参考文献*/
ol, ul {
    padding: 0;
}

.refer li {
    list-style: none;
    font-family: "Times New Roman", sans-serif;
    font-size: 1em;
    font-weight: 400;
    text-decoration: none;
    text-align: justify;
    word-break: keep-all;
}

.refer li strong {
    font-weight: bold;
    color: #1496F8;
    font-family: ERASDEMI, sans-serif;
}

#banner li {
    margin: 1em 2em;
}

/*首行缩进*/
.text-2 {
    text-indent: 2em;
}

table {
    caption-side: top;
    width: 100%;
}

.table-users, .table-users-long {
    border: 1px solid #E5E3D8;
    border-radius: 10px;
    margin: 1em auto;
    overflow-x: auto;
    padding: 0;
    table-layout: auto;
}

.table-users::-webkit-scrollbar {
    height: 2px; /* 设置滚动条的高度 */
}

.table-users::-webkit-scrollbar-track {
    background-color: #E5E3D8; /* 设置滚动条的背景颜色 */
}

.table-users::-webkit-scrollbar-thumb {
    background-color: #FFA500; /* 设置滚动条的颜色 */
    border-radius: 1px; /* 设置滚动条的圆角 */
}

.table-users::-webkit-scrollbar-thumb:hover {
    background-color: #FFA500; /* 设置鼠标悬停时滚动条的颜色 */
}

.table-users-long::-webkit-scrollbar {
    width: 2px; /* 设置滚动条的宽度 */
}

.table-users-long::-webkit-scrollbar-track {
    background-color: #F1F1F1; /* 设置滚动条的背景颜色 */
}

.table-users-long::-webkit-scrollbar-thumb {
    background-color: #FFA500; /* 设置滚动条的颜色 */
    border-radius: 1px; /* 设置滚动条的圆角 */
}

.table-users-long::-webkit-scrollbar-thumb:hover {
    background-color: #FFA500; /* 设置鼠标悬停时滚动条的颜色 */
}

table caption {
    font-size: 1em;
    font-weight: 100;
    text-decoration: none;
    text-align: center;
    line-height: 1;
    letter-spacing: 0;
    font-family: "Times New Roman", sans-serif;
    color: black;
    opacity: 1;
    text-transform: none;
    table-layout: fixed;
}

/*图像底部标签*/
figcaption {
    font-size: 1em;
    font-weight: 100;
    text-decoration: none;
    text-align: center;
    line-height: 1;
    letter-spacing: 0;
    font-family: "Times New Roman", sans-serif;
    color: black;
    opacity: 1;
    text-transform: none;
}

td, th {
    color: black;
    padding: 10px;
    font-family: "Times New Roman", sans-serif;
    font-size: 1em;
    font-weight: 100;
    text-decoration: none;
    line-height: 1;
}

td {
    text-align: center;
    vertical-align: middle;
}

th {
    background-color: rgba(222, 221, 221, 0.5);
    font-weight: 100;
    border-right: 1px solid #E5E3D8;
}

tr {
    &:nth-child(2n) {
        background-color: white;
        border-bottom: 1px solid #E5E3D8;
    }


    &:nth-child(2n+1) {
        background-color: #F6F7F8;
        border-bottom: 1px solid #E5E3D8;
    }
}

svg {
    position: relative;
    width: 100%;
    height: 100%;

}

.label {
    fill: #FFFCF9;
    font-size: 1.3em;
    font-family: "din-condensed-web", sans-serif;
    /* font-family: "filson-soft", sans-serif; */
    text-anchor: middle;
    letter-spacing: 1px;
}


.tubeLabel {
    fill: #FCEFD6;
    font-size: 1.4em;
    font-family: "din-condensed-web", sans-serif;
    /* font-family: "filson-soft", sans-serif; */
    text-anchor: middle;
}

.dragger {
    -webkit-tap-highlight-color: transparent;
}


/*
.open-door-1 {
    position: relative;
    height: 500px;
    width: 100%;
    background-image: url("https://static.igem.wiki/teams/4616/wiki/home/home-1.gif");
    background-size: cover;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.open-door-2, .open-door-3, .open-door-4, .open-door-5 {
    position: absolute;
    height: 500px;
    width: 50%;
    filter: drop-shadow(4px 4px 12px rgba(0, 0, 0, 0.5));
    transition: all 1s;
    background-size: cover;
    opacity: .7;
}

.open-door-2::after, .open-door-3::after, .open-door-4::after, .open-door-5::after {
    content: "";
    position: absolute;
    height: 100%;
    width: 100%;
    background-image: url("https://static.igem.wiki/teams/4616/wiki/home/home-1.gif");
    transition: all 1s;
}

.open-door-2 {
    left: -200px;
    transform: rotateZ(100deg);
    overflow: hidden;
}

.open-door-2::after {
    transform: rotateZ(-100deg);
}

.open-door-3 {
    left: -200px;
    transform: rotateZ(-100deg);
    overflow: hidden;
}

.open-door-3::after {
    transform: rotateZ(100deg);
}

.open-door-4 {
    right: -200px;
    transform: rotateZ(100deg);
    overflow: hidden;
}

.open-door-4::after {
    transform: rotateZ(-100deg);
}

.open-door-5 {
    right: -200px;
    transform: rotateZ(-100deg);
    overflow: hidden;
}

.open-door-5::after {
    transform: rotateZ(100deg);
}

.open-door-6 {
    opacity: 0;
    font: 900 50px '';
    letter-spacing: 10px;
    color: #333132;
    transition: 1.5s;
    font-family: ERASDEMI;
}

.open-door-1:hover .open-door-2 {
    left: -300px;
}

.open-door-1:hover .open-door-3 {
    left: -350px;
}

.open-door-1:hover .open-door-4 {
    right: -300px;
}

.open-door-1:hover .open-door-5 {
    right: -350px;
}

.open-door-1:hover .open-door-6 {
    opacity: 1;
}

.rotate-circle-1 {
    position: relative;
    height: 450px;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.rotate-circle-2 {
    position: absolute;
    height: 100%;
    width: 100%;
    border: 3px solid #333132;
    transition: all 1s;
    border-radius: 38% 62% 63% 37% / 41% 45% 56% 60%;
    animation: rotate-circle-animation 9s infinite linear;
}

.rotate-circle-2::after, .rotate-circle-2::before {
    content: "";
    position: absolute;
    height: 100%;
    width: 100%;
    border: 3px solid #333132;
    transition: all 1s;
    border-radius: 38% 62% 63% 37% / 41% 45% 56% 60%;
    animation: rotate-circle-animation 8s infinite linear;
}

.rotate-circle-2::before {
    animation: rotate-circle-animation 7s infinite linear;
}

@keyframes rotate-circle-animation {
    0% {
        transform: rotateZ(0deg);
    }
    100% {
        transform: rotateZ(360deg);
    }
}

.rotate-circle-1:hover .rotate-circle-2, .rotate-circle-1:hover .rotate-circle-2::after, .rotate-circle-1:hover .rotate-circle-2::before {
    background-color: rgba(255, 255, 255, 0.3);
}

.rotate-circle-3 {
    position: absolute;
    height: 60%;
    width: 60%;
    border: 3px solid #333132;
    background-image: url("https://static.igem.wiki/teams/4616/wiki/home/home-1.gif");
    background-size: cover;
}
*/

.footer-font p {
    font-size: 1.5em;
    font-weight: bold;
    color: black;
    font-family: ERASDEMI;
    text-transform: none;
    letter-spacing: 2px;
    text-align: center;
}

.footer-image {
    max-width: 100%;
    transition: transform 0.3s, box-shadow 0.3s;
}


.footer-image:hover {
    transform: scale(1);
    box-shadow: 0 0 2px rgba(50, 69, 255, 0.4);
}

/*右下方小精灵*/
.wizard {
    width: 10%;
    height: auto;
    right: 30px;
    bottom: 100px;
    position: fixed;
    display: none;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    background-color: transparent;
    border-radius: 10px;
}

.wizard img {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    max-width: 100%;
    height: auto;
}

.wizard:hover {
    animation: hoverBounce 1.5s infinite;
}

@keyframes hoverBounce {
    0%,
    7%,
    25%,
    36%,
    45%,
    50% {
        animation-timing-function: ease-out;
        transform: translate3d(0, 0, 0);
    }

    15%,
    16% {
        animation-timing-function: ease-in;
        transform: translate3d(0, -42px, 0);
    }

    30% {
        animation-timing-function: ease-in;
        transform: translate3d(0, -24px, 0);
    }

    41% {
        animation-timing-function: ease-in;
        transform: translate3d(0, -12px, 0);
    }

    47% {
        animation-timing-function: ease-in;
        transform: translate3d(0, -3px, 0);
    }
}

.inverted-opacity {
    filter: invert(100%);
}

.fadeoutright {
    animation-name: fadeOutRight;
    animation-duration: 1s;
}

@keyframes fadeoutright {
    0% {
        opacity: 1;
        transform: translateX(0);
    }
    100% {
        opacity: 0;
        transform: translateX(100%);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translate3d(0, 15px, 0);

        to {
            opacity: 1;
            transform: translate3d(0, 0, 0);
        }
    }
}

#canvas {
    display: block;
    width: 100%;
    height: 60vh;
    aspect-ratio: auto 3160 / 1028;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    text-transform: none;
    line-height: 1.75em;
    letter-spacing: 0;
    align-content: center;
    text-align: center;
    font-family: "ERASDEMI", Sans-serif;
}

h1 a, h2 a, h3 a, h4 a, h5 a, h6 a {
    color: inherit;
    text-decoration: none;
}

h1 {
    font-size: 2em;
    letter-spacing: 0;
}

h2 {
    font-size: 2.5em;
    font-weight: 600;
    text-align: center;
    line-height: 1.3;
    letter-spacing: 3px;
    font-family: Merienda, arial, sans-serif;
    opacity: 1;
    text-transform: none;
    background-image: linear-gradient(to right, #fea311, #c78168, #75519e, #0004fb);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    position: relative;
    display: inline-block;
}

/*h2下面有一条线，长度与h2相同，颜色与h2相同*/
h2::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 100%;
    height: 5px;
    background-image: linear-gradient(to right, #fea311, #c78168, #75519e, #0004fb);
    border-radius: 10px;
    transition: all 1s;
    opacity: 0.7;
}

h3 {
    font-size: 1.5em;
    letter-spacing: 1px;
    line-height: 1.1;
    font-family: "Merienda", arial, sans-serif;
}

h4 {
    font-size: 1.2em;
    letter-spacing: 1px;
    text-align: center;
    line-height: 1.1em;
}

/*小屏幕中h1字体设置成0.6em*/
@media (max-width: 576px) {
    .home-origin-center h1, .home-origin-right h1 {
        font-size: 0.8em;
    }

    .home-origin-right p {
        font-size: 0.5em;
    }
}

.height_50 {
    height: 50px;
}

.height_75 {
    height: 75vh;
}

.height_85 {
    height: 85vh;
}

.height_90 {
    height: 90vh;
}

.height_100 {
    height: 100vh;
}

@media (max-width: 576px) {
    .height_50 {
        height: 0;
    }

    .height_75 {
        height: 30vh;
    }

    .height_85 {
        height: 30vh;
    }

    .height_90 {
        height: 30vh;
    }

    .height_100 {
        height: 33vh;
    }
}

.card-body p {
    font-size: 0.6em;
    letter-spacing: 2px;
    text-align: justify;
    line-height: 1.2em;
}

.card {
    border-radius: 20px;
    border: none;
    box-shadow: 5px -5px 10px rgba(0, 0, 0, 0.5);
    transition: transform 800ms cubic-bezier(0.165, 0.84, 0.44, 1);
    width: 100%;
}

.card .card-header {
    border-radius: 20px;
    background-color: transparent;
    border: none;
    padding: 0;
    width: 100%;
    position: relative;
}

.card .card-footer {
    border-radius: 20px;
    background-color: transparent;
    border: none;
    width: 100%;
    padding: 1rem;
}

.card .card-footer .card-footer-text {
    font-size: 1em;
    text-align: justify;
    line-height: 1.2em;
    font-family: "ERASDEMI", Sans-serif;
    color: #fe6a29;
    width: 100%;
}

.card .card-body {
    padding: 1rem;
}

.image-container {
    position: relative;
    width: 100%;
    padding-top: 120%;
    overflow: hidden;
    border-radius: 20px;
}

.image-container img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.bottom-image {
    clip-path: circle(0% at 50% 50%);
}

.card-header .description-box_right_to_left {
    display: none;
    position: absolute;
    padding: 10px;
    border-radius: 10px;
    width: 130%;
    transform: translate(-22rem, -13rem);
    background-color: rgba(76, 76, 76, 0.8);
    z-index: 10;
}

.card-header .description-box_left_to_right {
    display: none;
    position: absolute;
    padding: 10px;
    border-radius: 10px;
    width: 130%;
    transform: translate(16rem, -13rem);
    background-color: rgba(76, 76, 76, 0.8);
    z-index: 10;
}

.card:hover .description-box_right_to_left {
    display: block;
    position: absolute;
    padding: 10px;
    border-radius: 10px;
    width: 130%;
    transform: translate(-20rem, -13rem);
    background-color: rgba(31, 31, 31, 0.8);
    z-index: 10;
}

.card:hover .description-box_left_to_right {
    display: block;
    position: absolute;
    padding: 10px;
    border-radius: 10px;
    width: 130%;
    transform: translate(16rem, -13rem);
    background-color: rgba(31, 31, 31, 0.8);
    z-index: 10;
}


.card-header h4 {
    color: white;
    font-size: 1em;
    font-family: "ERASDEMI", Sans-serif;
    font-style: italic;
    letter-spacing: 2px;
    text-align: justify;
    line-height: 1.2em;
}

.card-header p {
    color: white;
    font-size: 0.6em;
    font-family: "ERASDEMI", Sans-serif;
    letter-spacing: 2px;
    text-align: left;
    line-height: 1.2em;
    word-break: keep-all;
}


.badge {
    border-radius: .5rem;
    padding: .2rem .4rem;
    font-family: ERASDEMI;
    font-size: 0.6em;
    font-weight: 700;
}

.badge.badge-edu {
    background-color: white;
    color: #611F6A;
    border: 1px solid rgba(97, 31, 106, 0.4)
}

.badge.badge-lab {
    background-color: #fff;
    color: #5781fc;
    border: 1px solid rgb(87, 129, 252);
}

.badge.badge-wiki {
    background-color: white;
    color: #007A5B;
    border: 1px solid rgba(0, 122, 91, 0.4)
}

.badge.badge-hp {
    background-color: white;
    color: #ECB22F;
    border: 1px solid rgba(236, 178, 47, 0.4)
}

.badge.badge-art {
    background-color: white;
    color: #E01E5B;
    border: 1px solid rgba(224, 30, 91, 0.4)
}

.badge.badge-model {
    background-color: white;
    color: #c4570a;
    border: 1px solid rgba(196, 87, 10, 0.4)
}

strong, b {
    font-weight: 400;
}

em, i {
    font-style: italic;
}

a {
    color: yellow;
    text-shadow: 0 0 0.5px rgba(53, 184, 143, 0.25);
    -moz-transition: border-color 0.35s ease-in-out, color 0.35s ease-in-out;
    -webkit-transition: border-color 0.35s ease-in-out, color 0.35s ease-in-out;
    -o-transition: border-color 0.35s ease-in-out, color 0.35s ease-in-out;
    -ms-transition: border-color 0.35s ease-in-out, color 0.35s ease-in-out;
    transition: border-color 0.35s ease-in-out, color 0.35s ease-in-out;
    text-decoration: none;
}

sub {
    position: relative;
    top: 0.5em;
    font-size: 0.8em;
}

sup {
    position: relative;
    top: -0.5em;
    font-size: 0.8em;
}

.container-fluid {
    padding: 0;
    margin: 0;
}

hr {
    border: 0;
    margin: 2em 0 2em 0;
}

blockquote {
    border-left: solid 0.5em #e9e8ec;
    padding: 1em 0 1em 2em;
    font-style: italic;
}

/*自动断句*/
p {
    margin-bottom: 1em;
    text-align: left;
    word-break: keep-all;
    hyphens: auto;
    text-indent: 0;
    font-family: "Times New Roman", sans-serif;
}

p strong {
    font-weight: bold;
    color: #1496F8;
    font-family: ERASDEMI, sans-serif;
}

.p-title {
    color: #5368b4;
    font-family: ERASDEMI, sans-serif;
    margin: 1em 0;
}

.footer-bg {
    background-image: url('https://static.igem.wiki/teams/4616/wiki/footer/footer-bg.png');
    background-position: 50% 50%;
    background-color: white;
}

.footer li {
    font-size: 0.8em;
    font-weight: normal;
    text-align: left;
    line-height: 1.5em;
    font-family: "Times New Roman";
}

a {
    color: black;
    font-weight: bold;
}

a:hover {
    text-decoration: underline;
}

header {
    margin-bottom: 1em;
}

header p {
    display: block;
    margin: -0.5em 0 0 0;
    padding: 0 0 1.5em 0;
}

footer {
    margin-top: 1em;
}

br.clear {
    clear: both;
}

/* Sections/Articles */

section,
article {
    margin-bottom: 3em;
    width: 100%;
}

section:last-child,
article:last-child {
    margin-bottom: 2em;
}

.row > section,
.row > article {
    margin-bottom: 2em;
}

/* Images */

.image_wid4, .image_wid6, .image_wid8 {
    justify-content: center;
    align-items: center;
    align-content: center;
    border: 0;
    margin: 10px 0 5px 0;
}

.image_wid4 img {
    border: 1px solid black;
    width: 40%;
}

.image_wid6 img {
    border: 1px solid black;
    width: 60%;
}

.image_wid8 img {
    border: 1px solid black;
    width: 100%;
}

.image-text {
    font-size: 0.6em;
    align-content: center;
}

/* Buttons */

.button {
    position: relative;
    display: inline-block;
    border: 0;
    background: #35b88f;
    color: #fff;
    text-shadow: 0 0 0.5px rgba(255, 255, 255, 0.25);
    cursor: pointer;
    text-decoration: none;
    outline: 0;
    padding: 0.7em 2em 0.7em 2em;
    text-align: center;
    border-radius: 3em;
    font-weight: 400;
    -moz-transition: background-color 0.35s ease-in-out, color 0.35s ease-in-out;
    -webkit-transition: background-color 0.35s ease-in-out, color 0.35s ease-in-out;
    -o-transition: background-color 0.35s ease-in-out, color 0.35s ease-in-out;
    -ms-transition: background-color 0.35s ease-in-out, color 0.35s ease-in-out;
    transition: background-color 0.35s ease-in-out, color 0.35s ease-in-out;
    z-index: 100;
}

.button:hover {
    background: #45c89f;
}

.button.style2 {
    background: #fff;
    box-shadow: inset 0 0 0 1px #9c628f;
    font-size: 1.5em;
    font-family: ERASDEMI, sans-serif;
    font-weight: 500;
    color: #1496F8;
    z-index: 100;
}

.button.style2:hover {
    /*鼠标悬浮0.1透明白色*/
    background: rgba(255, 255, 255, 0.1);
    color: #212120 !important;
    text-shadow: 0 0 0.5px rgba(255, 255, 255, 0.25) !important;
}

.button.style3 {
    background: none;
    color: #3a3939;
    box-shadow: inset 0 0 0 1px #dad9d9;
    border-radius: 1em;
    float: left;
    margin-left: 50px;
    padding: 0.5em 1.5em;
    width: 30%;
    height: auto;
    font-size: 1.3em;
    font-weight: 500;
    z-index: 100;
}

.button.style3:hover {
    background: rgba(58, 57, 57, 0.025);
}

.button.style4 {
    background: none;
    color: #3a3939;
    box-shadow: inset 0 0 0 1px #dad9d9;
    border-radius: 1em;
    float: right;
    margin-right: 50px;
    padding: 0.5em 1.5em;
    width: 30%;
    height: auto;
    font-size: 1.3em;
    font-weight: 500;
    z-index: 100;
}

.button.style4:hover {
    background: rgba(58, 57, 57, 0.025);
}


/* Box */

.box {
    position: relative;
    margin-top: 9em;
    margin-bottom: 0;
    width: 70%;
    border-radius: 1em;
    box-shadow: 0 0 1em 0 #858484;
    text-align: center;
}

.box:after {
    content: '';
    display: block;
    position: absolute;
    top: -9em;
    left: 50%;
    height: 9em;
    border-left: solid 1px #212120;
}

.box:before {
    content: '';
    display: block;
    width: 90px;
    height: 66px;
    position: absolute;
    left: 50%;
    top: -4.5em;
    margin-left: -45px;
    margin-top: -33px;
}

.box :last-child {
    margin-bottom: 0;
}

.box.style3 {
    padding: 3em;
    background-color: rgba(255, 255, 255, 0.85);
}

/*控制小屏幕*/
@media (max-width: 576px) {
    .box.style3 {
        padding: 20px;
        width: 90%;
    }
}

.box.style3 header {
    text-align: center;
}

.box.style3 p {
    text-align: justify;
    font-size: 1.2em;
    font-family: ERASDEMI,sans-serif;
}

/*********************************************************************************/
/* Header                                                                        */
/*********************************************************************************/

#header {
    position: relative;
    color: black;
    text-shadow: 0 0 0.5px rgba(255, 255, 255, 0.25);
    text-align: center;
    margin: 0;
    padding: 9em 0 12em 0;
    cursor: default;
}

#header header {
    display: inline-block;
    padding: 0 0 2.5em 0;
    text-align: center;
    margin: 0;
}

#header header h1 {
    font-weight: bold;
    font-size: 5em;
    color: #FFFDF1;
    letter-spacing: 0.6rem;
    font-family: ERASDEMI, sans-serif;
    text-shadow: -2px 2px 0 #262c6a, 2px 2px 0 #262c6a, 2px -2px 0 #262c6a, -2px -2px 0 #262c6a;
}

/*控制小屏幕*/
@media (max-width: 576px) {
    #header header h1 {
        font-size: 3em;
    }
}

#header p {
    border-top: solid 2px rgba(0, 0, 0, 0.5);
    color: rgba(0, 0, 0, 0.75);
    text-shadow: 0 0 0.5px rgba(255, 255, 255, 0.1875);
    font-size: 1.5em;
    text-transform: uppercase;
    letter-spacing: 3px;
    padding: 0;
    margin-top: 0.35em;
    font-family: LondrinaSketch-Regular, sans-serif;
    text-align: center;
}

#header p:before {
    content: '';
    display: block;
    border-top: solid 2px rgba(0, 0, 0, 0.5);
    margin: 4px 0 0.8em 0;
}

#header footer {
    position: absolute;
    bottom: 9em;
    margin: 0;
    width: 100%;
}

#header footer:after {
    content: '';
    display: block;
    position: absolute;
    bottom: -4em;
    left: 50%;
    height: 4em;
    border-left: solid 1px black;
}

/*只有在大屏幕上，shell可见*/
@media screen and (min-width: 1200px) {
    .shell, .wizard {
        display: flex;
    }
}

/*********************************************************************************/
/* Banner                                                                        */
/*********************************************************************************/

#banner {
    position: relative;
    width: 70%;
    left: 50%;
    transform: translateX(-50%);
    margin-top: -5em;
    color: #212120;
    border-radius: 1em;
    text-shadow: 0 0 0.5px rgba(255, 255, 255, 0.25);
    text-align: center;
    background-color: rgba(255, 255, 255, 0.85);
    padding: 3em 0 1.5em 0;
    background-size: 125% auto;
    box-shadow: 0 0 1em 0 #858484;
}

/*控制小屏幕*/
@media (max-width: 576px) {
    #banner {
        width: 90%;
    }
}


#banner .button {
    color: #212120;
    text-shadow: 0 0 0.5px rgba(45, 44, 44, 0.2);
    width: 30%;
}

#banner header {
    margin: 0 0 1.2em 0;
}

#banner header h2 {
    font-weight: 400;
    font-size: 2em;
    letter-spacing: 4px;
}

#banner p {
    margin: 1em 2em;
    font-weight: 200;
    font-size: 1.2em;
    text-align: left;
    font-family: ERASDEMI, sans-serif;
}

#banner p strong {
    font-weight: bold;
    color: #1496F8;
    font-family: ERASDEMI, sans-serif;
}

#banner footer {
    margin: 1em 0 1em 0;
}

#banner a {
    color: inherit;
    font-size: 1em;
    border-bottom-color: rgba(255, 255, 255, 0.5);
}

#banner a:hover {
    border-bottom-color: rgba(255, 255, 255, 0);
}

.edu-collapse-text {
    font-size: 1em;
    font-weight: 200;
    font-family: ERASDEMI, sans-serif;
    text-align: justify;
    line-height: 1.2em;
    color: rgba(78, 74, 103, 0.8);
    margin-bottom: 30px;
    background-color: rgba(245, 245, 245, 0.7);
    border-radius: 30px;
    padding: 30px;
}

/* preloader */
#load-img {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    display: flex;
    background-color: #f4f5f0;
    justify-content: center;
    align-items: center;
    text-align: center;
    z-index: 9999;
}

#load-img img {
    height: 96px;
    width: 96px;
}

.load-disappear {
    animation: fadeout 1s forwards;
}

@keyframes fadeout {
    100% {
        opacity: 0;
        visibility: hidden;
        border-radius: 50%;
        transform: scale(0) translateY(-100%);
    }
}

.loading-bar {
    width: 200px;
    height: 4px;
    background: #cfcfcf;
    margin-top: 26px;
    position: relative;
    overflow: hidden;
}

.loading-bar::before {
    content: "";
    width: 72px;
    height: 4px;
    background: #0073b1;
    position: absolute;
    left: -34px;
    animation: bluebar 1.5s infinite ease;
}

@keyframes bluebar {
    50% {
        left: 170px;
    }
}

figcaption {
    color: gray;
}