@font-face {
    font-family: "YoungSerif-Regular";
    src: url(https://static.igem.wiki/teams/4617/wiki/fonts/youngserif-regular.ttf);
}

/* 标题 */
@font-face {
    font-family: "TiltNeon-Regular-VariableFont_XROT";
    src: url(https: //static.igem.wiki/teams/4617/wiki/fonts/tiltneon-regular-variablefont-xrot-yrot.ttf);
}

/* 标题 */
@font-face {
    font-family: "anton-regular";
    src: url(https://static.igem.wiki/teams/4617/wiki/fonts/anton-regular.ttf);
}


/* 主页 */
@font-face {
    font-family: "gluten-variablefont-slnt-wght";
    src: url(https://static.igem.wiki/teams/4617/wiki/fonts/gluten-variablefont-slnt-wght.ttf);
}

body {
    padding-top: 56px;
    cursor: url("https: //static.igem.wiki/teams/4617/wiki/fonts/icons8-peace-pigeon-24.png"),
        auto;
}

.left-aligned {
    margin-left: auto;
}

/* init */
.init-padding {
    padding: 0px;
}

/* round */
.round-16 {
    border-radius: 16px;
}

/* colors */
a {
    color: #396afc;
}

.bg-dark {
    background-color: #343a40;
}

.bg-hero {
    background-color: #7952b3;
}

.bg-light-gray {
    /* customize color: light gray */
    background-color: #859398;
}

.bg-dark-blue {
    /* customize color: dark blue */
    background-color: #2948ff;
}

/* color change */
/* 可以改侧边栏active */
.nav-pills .nav-link.active,
.nav-pills .show>.nav-link {
    color: #FFF9C4 !important;
    border-right: 3px solid #FFF9C4;
    background-color: white;
    /*change here*/
}

/* CALLOUT */
.bd-callout {
    padding: 1.25rem;
    margin-top: 1.25rem;
    margin-bottom: 1.25rem;
    border: 1px solid #e9ecef;
    border-left-width: 0.25rem;
    border-radius: 0.25rem;
}

.bd-callout h4 {
    margin-bottom: 0.25rem;
}

.bd-callout p:last-child {
    margin-bottom: 0;
}

.bd-callout code {
    border-radius: 0.25rem;
}

.bd-callout+.bd-callout {
    margin-top: -0.25rem;
}

.bd-callout-info {
    border-left-color: #5bc0de;
}

.bd-callout-warning {
    border-left-color: #f0ad4e;
}

.bd-callout-danger {
    border-left-color: #d9534f;
}

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

.float-navbar {
    position: sticky;
    margin-top: 16px;
    margin-bottom: 16px;
    top: 104px;
}

.float-navbar .level-1 {
    margin-left: 0;
}

.float-navbar .level-2 {
    margin-left: 16px;
}

.float-navbar .level-3 {
    margin-left: 32px;
}

.float-navbar .expand-title {
    margin-left: -16px;
}

.anchor {
    /* 通过向需要跳转的位置插入此锚点实现向上偏移56px的效果 */
    display: block;

    height: 56px;

    margin-top: -56px;

    visibility: hidden;
}

#nav-trans .nav-link {
    /* 导航栏字颜色 */
    color: #B2DFDB;
}

@media (max-width: 992px) {
    #nav-trans .nav-link {
        /* 导航栏字颜色 */
        color: #00BCD4;
    }
}

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

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

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

@media (max-width: 992px) {

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

    .dropdown-item {
        color: #CDDC39;
    }
}

/* 侧边导航栏背景颜色 */
#side-nav.active {
    color: #BDBDBD !important;
}

#side-nav {
    background-color: #f4f5f0;
}

/* 侧边导航栏颜色 */
#side-nav.active {
    color: #CDDC39 !important;
}

#side-nav {
    background-color: #f4f5f0;
}

.nav-pills .nav-link {
    border-radius: 0;
    border-right: 3px solid rgb(233, 230, 230);
}

.navbar-light .navbar-brand {
    /* 来自bootstrap */
    font-weight: bold;
    color: rgba(71, 85, 105, 1);
}

#side-nav .nav-pills a {
    color: rgba(100, 116, 139, 0.9);
}

#side-nav .nav-pills a:hover {
    background-color: white;
}

/* index page */

.index-scroll-text {
    box-shadow: inset 0 5px 5px rgba(175, 216, 237, 0.46),
        0 0.5rem 1rem rgb(0 0 0 / 15%);
    background-color: rgba(132, 238, 217, 0.7);
    color: rgba(108, 188, 197, 0.54);
    font-family: anton-regular, sans-serif;
    font-size: 2rem;
}

.index-scroll-text p {
    margin: 0;
    padding: 0.5rem;
    line-height: 3rem;
    text-align: center;
    width: 75%;
}

@media (max-width: 992px) {
    .index-scroll-text p {
        width: 100%;
        justify-content: left;
        padding-right: 8px !important;
    }
}

/* content */
.content-container {
    border-radius: 16px;
    background-color: #ffffff;
    font-family: YoungSerif-Regular, sans-serif;
    font-size: 20px;
    text-align: justify;
}

.simple-container {
    padding: 5rem;
    text-align: justify;
}

/* 标题 */
.page-title-container {
    position: relative;
    z-index: 10;
    height: 55%;
}

@media (max-width: 992px) {
    .page-title-container {
        height: 45%;
    }
}

.page-title-text {
    position: absolute;
    bottom: 0;
    width: 100%;
    text-align: center;
    background-color: #448AFF;
    font-family: anton-regular, sans-serif;

    letter-spacing: 0.6rem;
    font-weight: bold;
    text-shadow: -2px 2px 0 #262c6a, 2px 2px 0 #262c6a, 2px -2px 0 #262c6a,
        -2px -2px 0 #262c6a;
}

@media (min-width: 992px) {
    .page-title-text {
        font-size: 6rem;
    }
}

.page-title-font {
    font-family: anton-regular, sans-serif;
    font-size: 6rem;
    letter-spacing: 0.6rem;
    font-weight: bold;
    text-shadow: -2px 2px 0 #262c6a, 2px 2px 0 #262c6a, 2px -2px 0 #262c6a,
        -2px -2px 0 #262c6a;
}

.title-1 {
    margin-top: 40px;
    margin-left: 32px;
    margin-right: 32px;
    margin-bottom: 16px;
    padding-top: 16px;
    padding-bottom: 16px;
    border-radius: 16px;
    text-align: center;
    font-family: TiltNeon-Regular-VariableFont_XROT, sans-serif;
    font-size: 56px;
    letter-spacing: 5px;
    background-color: #7dbbd0;
    color: #fff;
}

.title-2 {
    margin-top: 32px;
    margin-bottom: 16px;
    margin-left: 104px;
    margin-right: 104px;
    padding-top: 16px;
    padding-bottom: 16px;
    border-radius: 16px;
    text-align: center;
    font-family: TiltNeon-Regular-VariableFont_XROT, sans-serif;
    font-size: 48px;
    letter-spacing: 5px;
    background-color: #74b8c999;
    color: #fff;
}

.title-3 {
    margin-top: 24px;
    margin-bottom: 16px;
    font-size: 32px;
    text-align: center;
    color: #00BCD4;
}

.with-title {
    margin-bottom: 16px;
    font-size: 24px;
    text-align: center;
    color: #859398;
}

@media (max-width: 992px) {


    .title-1 {
        margin-left: 0px;
        margin-right: 0px;
    }

    .title-2 {
        margin-left: 0px;
        margin-right: 0px;
    }
}

/* 加粗小标题 */
.strong-title {
    font-size: 24px;
    font-weight: bold;
}

/* 加粗小型副标题 */
.with-strong-title {
    padding-left: 8px;
    padding-bottom: 16px;
    font-size: 16px;
    color: #859398;
}

/* 图名 */
.img-title {
    padding-bottom: 16px;
    text-align: center;
    font-size: 16px;
    color: #9E9E9E;
}

/* 公式专用居中 */
.expression-center {
    padding-top: 8px;
    padding-bottom: 8px;
    text-align: center;
    white-space: nowrap;
    overflow-x: auto;
}

/* 正文字体 */
.high-light-text {
    color: #1599ba;
}

.content-text {
    padding-top: 16px;
    padding-left: 32px;
    padding-right: 32px;
}

/* 图片放大处理 */
.img-scale {
    display: block;
    width: 85%;
    margin: 0 auto;
    height: auto;
    padding-top: 16px;
    padding-bottom: 16px;
}

.img-long {
    display: block;
    width: 50%;
    height: auto;
    margin: 0 auto;
    padding-top: 16px;
    padding-bottom: 16px;
}

.iframe-container {
    overflow: hidden;
    position: relative;
    width: 75%;
    margin: 0 auto;
    padding-top: 42.1875%;
}

.iframe-container iframe {
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 100%;
    border: 0;
}

/* footer */
footer a {
    color: white;
    font-weight: bold;
    text-decoration: none;
}

footer a:hover {
    color: white;
    text-decoration: underline;
}

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

#load-img img {
    height: 400px;
    width: 600px;
}

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

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

/* team 页面style */
.team .col h5 {
    font-size: 1.5rem;
    font-weight: bold;
}

.team .col .card:hover {
    transform: scale(1.04);
    transition: 0.2s ease;
}

/* slides */
.swiper {
    width: 100%;
    padding-top: 50px;
    padding-bottom: 50px;
}

.swiper-slide {
    background-position: center;
    background-size: cover;
    width: 300px !important;
    height: 277px;
}

.swiper-slide a {
    display: block;
    width: 100%;
    text-decoration: none;
    color: orange;
}

/* homepage page links */
#page-link img {
    width: 300px;
    height: 300px;
}

#page-link .col {
    display: flex;
    justify-content: center;
}

#page-link img:hover {
    transform: scale(1.1) rotate(1turn);
    transition: 0.8s ease;
}

/* oxygen haunter style */
@media (max-width: 992px) {
    #title-gif {
        padding-bottom: 0 !important;
        width: 90% !important;
        margin-top: 15rem !important;
    }
}



/* animation delay */
/* :root {
  
  --animate-delay: 2s;
} */
.animate__animated.animate__zoomInDown {
    --animate-duration: 1s;
    --animate-delay: 3s;
}

.animate__animated.animate__rotateInDownLeft {
    --animate-duration: 2s;
    --animate-delay: 5s;
}

.animate__animated.animate__fadeIn {
    --animate-duration: 1.8s;
    --animate-delay: 3s;
}

@media (max-width: 992px) {
    .peekingBug {


        margin-top: -20px !important;

    }

    .fork {


        margin-top: 270px !important;

    }
}
.home-page-text {
    font-family: gluten-variablefont-slnt-wght, sans-serif;
    font-size: 24px;
}

/* 图片注解 */
.img-caption {
    text-align: center;
    font-size: 16px;
    margin-top: 0;
    margin-bottom: 2rem;
    color: lightblue !important;
}

/* protocol */
.protocol {
    width: 100%;
    height: 700px;
}

@media (max-width: 992px) {
    .huiben {
        width: 100%;
        height: 250px;
    }
}
