@font-face {
    font-family: "UNSII";
    src: url("https://static.igem.wiki/teams/5938/fonts/unsii-2.ttf");
}

@font-face {
    font-family: "HFPuff";
    src: url("https://static.igem.wiki/teams/5938/fonts/hfpuff-2.ttf");
}

@font-face {
    font-family: "Brush Up Life";
    src: url("https://static.igem.wiki/teams/5938/fonts/brushuplife-2.ttf");
}

body {
    padding-top: 56px;
    font-family: "UNSII", "Times New Roman", serif;
    background-color: #FFFBE5;
}

#navbar {
    background-color: #4A7B4E;
    font-family: HFPuff, "Comic Sans MS", cursive;
    font-size: 18px;
}

.navbar-brand img {
    height: 60px;
}

.navbar-brand, .nav-link, .nav-item {
    color: #FFFBE5;
}

#progress-container {
    position: fixed;
    top: 86px;
    width: 100%;
    height: 4px;
    z-index: 500;
}

#progress-bar {
    width: 0;
    height: 100%;
    background-image: linear-gradient(to right, #d7d7d7, #bfbfbf, #a5a5a5, #7f7f7f);
    margin-right: auto;
    border-radius: 0 10px 10px 0;
}

#progress-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 30px;
    transform: translate(-50%, -50%);
}

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

header {
    position: relative;
}

.header-title {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    font-family: "Brush Up Life", "Comic Sans MS", cursive;
    font-size: clamp(40px, 16vw, 150px);
    text-align: center;
}

.header-lead {
    font-size: clamp(10px, 4vw, 37px);
}

.bg-hero img {
    display: block;
    width: 100%;
    margin: 0 auto;
}

/* 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 {
    background-color: #6B8246;
}

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

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

#sponsor-container, #school-container {
    overflow: hidden;
}

.scroll {
    display: flex;
    width: max-content;
    gap: 2em;
    animation: scroll-left 10s linear infinite;
}

.scroll:hover {
    animation-play-state: paused;
}

#sponsor-container img, #school-container img {
    display: block;
    width: auto;
    height: 100px;
    padding: 5px;
    border-radius: 10px;
    background-color: rgba(255, 251, 229, 0.5);
}

footer #contact img {
    width: 30px;
    height: auto;
}

@keyframes scroll-left {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-50%);
    }
}
