/* 基础样式 */
body {
    overflow-x: hidden;
    background: var(--white);
    scroll-behavior: smooth;
    font-family: var(--content-font);
    font-weight: 500;
    font-size: 1.3rem;
}

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

.bg-dark {
    background-color: var(--black) !important;
}

.bg-hero {
    background: var(--white);
}

/* 颜色变量 */
:root {
    --primary-graphics-light: #97BF04;
    --primary-graphics: #699704;
    --content-text: #1E79AE;
    --heading-text: #1A4895;
    --highlights: #FACA2A;
    --accents: #EF8F83;
    --secondary-graphics-light: #F15942;
    --secondary-graphics: #EE3A23;
    --white: #fff;
    --black: #000;
}

/* 字体 */
@font-face {
    font-family: stolzl-light;
    src: url("https://static.igem.wiki/teams/4738/wiki/stolzl-light.otf");
}

@font-face {
    font-family: stolzl;
    src: url("https://static.igem.wiki/teams/4738/wiki/stolzl.otf");
}

@font-face {
    font-family: reross-quadratic;
    src: url("https://static.igem.wiki/teams/4738/wiki/reross-quadratic.otf");
}

:root {
    --heading-font: reross-quadratic, cursive;
    --content-font: stolzl-light, sans-serif;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--heading-font);
    font-weight: bold;
    color: var(--heading-text);
    scroll-margin-top: 15vh;
}

/* 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: .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: var(--primary-graphics-light);
}

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

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

/* 幻灯片样式 */
.slideshow-container {
    max-width: 800px;
    position: relative;
    margin: auto;
}

.slides {
    display: none;
}

.slideImage {
    width: 100%;
    height: auto;
}

.prev,
.next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    padding: 16px;
    margin-top: -22px;
    color: white;
    font-weight: bold;
    font-size: 20px;
    transition: 0.6s ease;
    border-radius: 0 3px 3px 0;
    user-select: none;
}

.next {
    right: 0;
    border-radius: 3px 0 0 3px;
}

.prev:hover,
.next:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

.description {
    text-align: center;
    margin-top: 20px;
}

.description h1,
.description h2,
.description p {
    margin: 10px 0;
}

.fade {
    animation-name: fade;
    animation-duration: 1.5s;
}

@keyframes fade {
    from {
        opacity: 0.4;
    }

    to {
        opacity: 1;
    }
}

/* 其他样式 */
/* 你可以根据需要添加更多的样式 */