body {
    /* padding-top: 80px; */
    /* background-color: #000000; */
    /* background-color: rgb(99, 118, 135); */
    /* background: linear-gradient(120deg,
            #000 0%,
            #181818 50%,
            #391F27 100%); */
    background-color: #211f21;
}

@font-face {
    font-family: "iconfont logo";
    src: url('https://at.alicdn.com/t/font_985780_km7mi63cihi.eot?t=1545807318834');
    src: url('https://at.alicdn.com/t/font_985780_km7mi63cihi.eot?t=1545807318834#iefix') format('embedded-opentype'),
        url('https://at.alicdn.com/t/font_985780_km7mi63cihi.woff?t=1545807318834') format('woff'),
        url('https://at.alicdn.com/t/font_985780_km7mi63cihi.ttf?t=1545807318834') format('truetype'),
        url('https://at.alicdn.com/t/font_985780_km7mi63cihi.svg?t=1545807318834#iconfont') format('svg');
}


@font-face {
    font-family: 'Kanit';
    src: url('https://static.igem.wiki/teams/5778/fonts/kanit-semibold.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'KanitBold';
    src: url('https://static.igem.wiki/teams/5778/fonts/kanit-bold.ttf') format('truetype');
    font-weight: bold;
    font-style: normal;
}

@font-face {
    font-family: 'CourierBold';
    src: url('https://static.igem.wiki/teams/5778/fonts/courierbold.otf') format('truetype');
    font-weight: bold;
    font-style: normal;
}

@font-face {
    font-family: 'RadvinBold';
    src: url('https://static.igem.wiki/teams/5778/fonts/radvin.otf') format('truetype');
    font-weight: bold;
    font-style: normal;
}

@font-face {
    font-family: 'SuperShinyBold';
    src: url('https://static.igem.wiki/teams/5778/fonts/supershiny.ttf') format('truetype');
    font-weight: bold;
    font-style: normal;
}

@font-face {
    font-family: 'NunitoLight';
    src: url('https://static.igem.wiki/teams/5778/fonts/nunito-light.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'NunitoBold';
    src: url('https://static.igem.wiki/teams/5778/fonts/nunito-semibold.ttf') format('truetype');
    font-weight: bold;
    font-style: normal;
}

@font-face {
    font-family: 'NunitoBolder';
    src: url('https://static.igem.wiki/teams/5778/fonts/nunito-bold.ttf') format('truetype');
    font-weight: bolder;
    font-style: normal;
}


body,
html {
    scroll-padding-top: 70px;
    /* 为整个页面的滚动容器设置 padding-top */
    scroll-behavior: smooth;
    /* 可选：添加平滑滚动效果 */
}

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

/* .bg-dark { background-color: #343a40 !important; }
.bg-hero { background-color: #45b06cff; } */

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

.bd-callout h4 {
    margin-bottom: 1.25rem
}

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

.bd-callout code {
    border-radius: .25rem
}

.bd-callout+.bd-callout {
    margin-top: -.25rem
}

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

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

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

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

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

#fireflies {
    position: fixed;
    left: 0;
    top: 0;
    z-index: -1;
}



/* 整个滚动条 */
::-webkit-scrollbar {
    width: 12px;
    /* 垂直滚动条宽度 */
    height: 12px;
    /* 水平滚动条高度 */
}

/* 滚动条轨道 */
::-webkit-scrollbar-track {
    background: #f1f1f1;
    /* 轨道背景色 */
    border-radius: 6px;
    /* 轨道圆角 */
}

/* 滚动条滑块 */
::-webkit-scrollbar-thumb {
    background: #888;
    /* 滑块颜色 */
    border-radius: 6px;
    /* 滑块圆角 */
}

/* 滑块悬停状态 */
::-webkit-scrollbar-thumb:hover {
    background: #555;
    /* 滑块悬停颜色 */
}

/* 滑块激活状态（拖动时） */
::-webkit-scrollbar-thumb:active {
    background: #333;
    /* 滑块激活颜色 */
}

/* 滚动条角落（水平和垂直滚动条交汇处） */
::-webkit-scrollbar-corner {
    background: #ddd;
    /* 角落背景色 */
}

.scroll-container {
    scrollbar-width: thin;
    /* 滚动条宽度：auto | thin | none */
    scrollbar-color: #888 #f1f1f1;
    /* 滑块颜色 轨道颜色 */
}