@font-face {
  font-family: 'Montserrat';
  src: url('https://static.igem.wiki/teams/4676/montserrat-regular.ttf') format('ttf');
}

@font-face {
    font-family: 'Montserrat Bold';
    src: url('https://static.igem.wiki/teams/4676/montserrat-bold.ttf') format('ttf');
  }

@font-face {
    font-family: 'League Spartan';
    src: url('https://static.igem.wiki/teams/4676/leaguespartan-bold.ttf') format('ttf');
    font-weight: bold;
    font-style: normal;
}

/* General Styles */
body { 
    font-family: 'Montserrat', sans-serif;
    background-color: #000;
    padding-top: 56px; 
    color: #FFF; 
}

/* Bright yellow caddistick heading text */
h1 {
    color: #FAFB63;
    font-family: 'League Spartan', sans-serif;
    text-transform: uppercase;
    font-weight: 800;
}

/* White heading text for page titles (see experiments page in canva mockup */
h2 { 
    color: #FFFFFF;
    font-family: 'League Spartan', sans-serif;
    text-transform: uppercase;
    font-weight: bold;
    margin-top: 8px
}

/* Bright blue section headers (see Lucy's canva mockup) */
h3 { 
   color: #6BFFF7;
   font-family: 'League Spartan', sans-serif;
   text-transform: uppercase;
   font-weight: bold;
   margin-top: 8px;  
}

h4 {
    color: #FFFFFF;
    font-family: 'Montserrat Bold', sans-serif;
    font-weight: bolder;
}

h5, h6 {
    color:black;
    font-family: 'Montserrat', sans-serif;
    font-weight: bold;
}

p {
    color:white;
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
}

/**/
/* styles.css */
div.row ul {
    list-style-type: none;
}


/*^Ideally would like to stylize some of these headings more*/

table {
    border-collapse: collapse;
    width: 60%;
    background-color: white;
    border: 4px solid gray;
}

table th {
    border: 4px solid gray;
    padding: 8px;
    text-align: left;
    background-color: #6BFFF7; 
    color: black
}

table td {
    border: 4px solid gray;
    padding: 8px;
    text-align: left;
    color: black
}

.left-aligned { margin-left: auto; }
.bg-dark { background-color: #000000 !important; }
.bg-hero { background-color: #45b06cff; }
.pure-white { color: #FFFFFF; }

/* 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:#5bc0de }
.bd-callout-warning { border-left-color:#f0ad4e }
.bd-callout-danger { border-left-color:#d9534f }

/* Progress Bar */

#main-progress-container {
    width: 100%;
    height: 10px;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
    background-color: #FAFB63; /* original color */
}
  
#main-progress-bar {
    height: 100%;
    width: 0%;
    background-color: #9538FF;  /* color to change to*/
    transition: width 0.2s ease;
}
  

/* Navbar font */
.navbar .nav-link, .navbar .dropdown-item {
    font-family: 'Montserrat', sans-serif;
    margin-bottom: 200;
}

/* Navbar spacing */
.nav-item-spaced {
    margin-right: 30px; 
}

/* Solid white bold uppercase nav links */
.nav-link {
    color: #FFFFFF !important;
    text-transform: uppercase;
    font-weight: bolder;
}

.nav-link:hover, .nav-link:focus {
    color: #DDDDDD !important; 
}

/* footer */
footer a { color: rgb(255, 255, 255); font-weight: bold; text-decoration: none; }
footer a:hover { color: white; text-decoration: underline; }

.py-6 {
    padding-top: 4rem;
    padding-bottom: 4rem;
}

/* control footer image size */
.img-fluid {
    max-height: 300px;
}

/* Main page image (background img) css */ 
.bg-hero {
    background-color: #45b06cff;
    height: 600px;  
}

.bg-hero .container {
    max-width: 100%;
}

.bg-hero .row {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%; 
    flex-direction: column; 
}

.display-4 {
    text-align: center; 
    font-family: 'Montserrat', sans-serif;
    font-size: 8rem;
    font-weight: 700;
}

body.homepage header.bg-hero { background-color: black; }

body.homepage header h1.display-4 {
    text-align: left; 
    font-size: 5rem; 
    padding-left: 210px;
}

/* background image for content blocks */
.header-background {
    background-image: url('https://static.igem.wiki/teams/4676/wiki/background/background/top.png');
    background-size: cover;  /* To make sure your image covers the whole header */
    background-position: center;  /* To center your image */
    position: relative;
    z-index: 500;
}

/* Title option text */
body.homepage header p.lead {
    text-align: left; 
    color: white !important;
    font-size: 2rem; 
    padding-left: 225px;
    line-height: 1.3;
    padding-top: 20px;
    font-family:'Courier New', Courier, monospace
}

/* Subtitle text styling */
.centered-text { text-align: center; }

/* Main Content */
.main-content {
    display: flex;
    align-items: start;
    flex-direction: row;
    width: 100%;
    margin-left: 250px;
    margin-top: 250px;
}

.main-container {
    display: flex;
    align-items: start;
}

/* Sidebar */
.sidebar {
    display: flex;
    flex-direction: row;  
    align-items: start;
    position: sticky;
    top: 20%;
    width: 180px;  
    height: 500px;
    background-color: #000000;
    padding: 1px;
    border-radius: 10px;
    padding-right: 160px;
}

.sidebar, .sidebar a {
    color: #FFFFFF;
    text-decoration: none;
    transition: color 0.3s ease;
}

.sidebar a {
    display: block;
    margin: 0.5px 0; 
    padding: 2px 5px;
}

.sidebar a:hover { background-color: #7bbdd7; }

.progress-container {
    width: 100%;
    overflow: hidden;
    position: relative;
    border-right: 1px solid white;
}

/* What does this container actually do? */

.caddisfly {
    width: 180px;
    height: auto;
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
}

/* redundant?
.progress-container {
    width: 100%;
    overflow: hidden;
    position: relative;
    border-right: 1px solid white;
}
*?

/* Lightbox for readability on attributions page */
.iframe-container {
    background: rgba(255,255,255,0.9);  /* Slightly translucent white */
    padding: 20px;  /* Space around the iframe */
    border-radius: 10px;  /* Rounded corners (optional) */
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);  /* Subtle shadow for depth (optional) */
    margin: 20px 0;  /* Vertical spacing (optional) */
    position: relative;  /* Establishes stacking context */
    z-index: 2;  /* Appears above the page content (if necessary) */
}

/* Image carousel in experiments page*/
#imageCarousel {
    margin-top: 20px;  /* Add space above the carousel */
    margin-bottom: 20px;  /* Add space below the carousel */
}

#imageCarousel img {
    max-height: 500px;  /* Limit the height of images */
    width: auto;  /* Maintain the aspect ratio */
    margin: auto;  /* Center the image */
}

#imageCarousel .carousel-item {
    transition: transform 2s ease;  /* Smooth transition between slides */
}

/* Used in Edgar's hardware page (not the collapsibles in experiments page) */
.content {
    flex-grow: 1;
    margin-left: 100px; /* Spacing between sidebar and content */
    flex-direction: column; 
}

.rounded-box {
    border: 7px solid #ffffff;
    background-color: #7bbdd7;
    border-radius: 10px;
    padding: 20px;
    margin: 20px 0;
    box-sizing: border-box;
    overflow: hidden;
}

.link-container {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-start;
    margin-left: 15px;
    height: 70vh;
}

/*Classes for collapsible box elements in experiments page*/

.collapsible {
    background-color: #ffffff;
    color: black;
    cursor: pointer;
    padding: 18px;
    width: 100%;
    border: none;
    text-align: left;
    outline: none;
    font-size: 18px;
    margin-bottom: 10px;
    text-transform: uppercase;
    font-weight: bolder;
    font-family: 'Montserrat', sans-serif;
}
  
.active, .collapsible:hover {
    background-color: #FAFB63; /*Color of the hover*/
}
  
.content-collapsible {
    padding-left: 18 px;
    padding-top: 20 px; 
    margin-left: 10 px;
    margin-bottom: 8 px;
    display: none;
    overflow: hidden;
    background-color: #D9D9D9;
    border: 3px solid gray;
    border-radius: 3px;
    color: black;
}
  
.collapsible:after {
    content: '\02795'; /* Plus sign on the right */
    font-size: 14px;
    float: right;
    margin-left: 5px;
    color:black;
    font-weight:bold
}

.homepage-spacer {
    background-color: #6BFFF7;
    height: 50px; 
  }
  
.bioreactor-image {
    margin-right: -4px;
}