/* General Body */

@font-face {
    font-family: 'LatoRegular';
    src: url('https://static.igem.wiki/teams/5179/fonts/lato-regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

body {
    font-family: 'LatoRegular', sans-serif;
    overflow-x: hidden;
    position: relative;
    padding-top: 56px;
    background-color: #F0EACE;
}

/* Navigation */
.left-aligned {
    margin-left: auto;
}

.navbar-dark .dropdown:hover .dropdown-menu {
    display: block;
    margin-top: 0;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.5);
}

.navbar-dark .dropdown-item:hover {
    background-color: #b5e0ff;
    color: #1e1d1d !important;
}

.navbar {
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.4);
    height: 70px; /* Set the desired height for the navbar */
}

.navbar-dark .navbar-nav{
    color: #b5e0ff !important;
}

.navbar-brand img {
    height: 100%; /* Makes the image fill the height of the navbar */
    max-height: 5vh; /* Ensures it doesn't exceed the navbar height */
    width: auto; /* Keeps the aspect ratio */
}

.nav-link{
    color: #b5e0ff;
}

.navbar-dark .navbar-brand {
    color: #b5e0ff !important;
}

.navbar-dark .dropdown-item {
    color: #1e1d1d !important;
}

.bg-dark {
    background-color: #1c1b1b !important;
}

header {
    position: relative;
    background-image: url('path_to_your_image.jpg'); /* Replace with the actual image path */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    height: 50vh;
}

.text-blue {
    color: #F0EACE !important;
}

header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6); /* Dark overlay */
    backdrop-filter: blur(4px); /* Blurry effect */
    z-index: 1; /* Ensures it stays behind the content */
}

.header-container {
    position: relative;
    z-index: 2; /* Keeps content above the overlay */
    color: white;
}

.header-container h1.display-4 {
    font-size: clamp(3rem, 8vw, 7rem);
}

h1, p {
    position: relative;
    z-index: 2; /* Ensures text stays above background and blur effect */
}

hr {
    clear: both;
    visibility: hidden;
}

p {
    z-index: 2; /* Ensures text stays above background and blur effect */
    text-indent: 4em;
    font-size: 1.3rem !important;
    line-height: 1.5; /* Increase the line spacing between paragraphs */
}

.bg-hero {
    background-color: #27272b;
}

.sidebar {
    position: sticky;
    top: 20px;
    height: calc(100vh - 40px);
    overflow-y: auto;
    padding-right: 20px;
    font-size: 1.5rem !important;
    .nav-link{
        color: #322d8c !important;!important;
    }
    .active-link {
        font-weight: bold;
        color: #1c1b1b !important;
    }
}

@media (max-width: 767px) {
    .sidebar {
        position: relative !important; margin-bottom: 1rem;
    }
    .header-container {
        margin-bottom: 1rem !important;
    }
}


.active-link {
    font-weight: bold;
    color: #1c1b1b !important;
}

.container-fluid {
    max-width: 100%;
    padding-right: 30px;
}

main {
    padding-right: 30px;
}

.col-md-9, .col-lg-10 {
    padding-right: 60px;
}
.box-container {
    border: 2px solid #fff9db;
    padding: 20px; /* Adds space inside the box */
    margin: 15px 0; /* Adds space above and below the box */
    border-radius: 8px; /* Rounds the corners */
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
    background-color: #fff9db;
}

html {
    scroll-behavior: smooth;
}

.collapsible {
    background-color: #233280;
    color: #F0EACE;
    cursor: pointer;
    padding: 15px;
    width: 100%;
    border: none;
    text-align: left;
    border-radius: 5px;
    outline: none;
    transition: background-color 0.3s ease;
    line-height: 1.5; /* Increase the line spacing between paragraphs */
}

.collapsible:hover {
    background-color: #50a4eb;
}

.content {
    padding: 0 18px;
    display: none;
    overflow: hidden;
    background-color: #fff9db;
    border-radius: 0 0 5px 5px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    margin-top: 5px;
}

.content p {
    padding: 10px 0;
    color: #1e1d1d;
}

/* Callout Section */
.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: #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;
}

.italicize {
    font-style: italic;
}
