/* AlexandriaFLF Font Family */
@font-face {
    font-family: 'AlexandriaFLF';
    src: url('https://static.igem.wiki/teams/5776/fonts/alexandriaflf.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'AlexandriaFLF';
    src: url('https://static.igem.wiki/teams/5776/fonts/alexandriaflf-italic.ttf') format('truetype');
    font-weight: normal;
    font-style: italic;
}

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

@font-face {
    font-family: 'AlexandriaFLF';
    src: url('https://static.igem.wiki/teams/5776/fonts/alexandriaflf-bolditalic.ttf') format('truetype');
    font-weight: bold;
    font-style: italic;
}

@font-face {
    font-family: 'TTMilksCasualTrial';
    src: url('https://static.igem.wiki/teams/5776/fonts/tt-milks-casual-trial.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'GillSansBoldCondensed';
    src: url('https://static.igem.wiki/teams/5776/fonts/gill-sans-bold-condensed.otf') format('opentype');
    font-weight: bold;
    font-style: normal;
}

body {
    padding-top: 56px;
    color: #000;
}

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;
}

footer .footer-content {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

footer .footer-content img {
    width: 100%;
}

footer .footer-desc {
    position: absolute;
    left: 40px;
    bottom: 30px;
    width: 38%;
    display: flex;
    flex-direction: column;
    justify-self: center;
    align-items: flex-start;
    font-weight: bolder;
}

footer .footer-desc a {
    color: rgb(147, 72, 2);
    font-weight: bold;
    text-decoration: none;
}

.theme-page {
    min-height: 1000px;
    background-image: url("https://static.igem.wiki/teams/5776/images/theme-bg-min.webp");
    background-size: 100%;
    background-repeat: repeat;
}


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

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

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

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

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

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

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

.h5 {
    font-size: 22px;
    font-weight: bold;
    color: #d97c0b;
}