/* General body styles */
body {
    padding-top: 56px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; /* Improved font for readability */
    color: #002147; /* Better text color for readability */
    background-color: #f8f9fa; /* Slightly lighter background for better contrast */
    margin: 0;/* General body styles */
body {
    padding-top: 56px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; /* Improved font for readability */
    color: #002147; /* Better text color for readability */
    background-color: #f8f9fa; /* Slightly lighter background for better contrast */
    margin: 0;
    cursor: url('https://static.igem.wiki/teams/5465/onering-logo-no-bg-no-text-1.png') 16 16, auto; /* Sample cursor */
}

/* Container for content */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 1;
    padding: 20px;
}

/* Header styles */
header {
    background: #002147; /* Dark background for header */
    color: #fff;
    padding: 20px 0;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

header h1 {
    margin: 0;
    font-size: 2.5rem;
}

/* Hero Section */
.hero {
    padding: 60px 20px;
    color: #fff;
    text-align: center;
    background-image: linear-gradient(to bottom right, #8ea9b7, #a0b4b9);
    border-radius: 0.5rem;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.hero-content h2 {
    font-size: 2rem;
    margin-bottom: 20px;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
}

.button {
    display: inline-block;
    padding: 12px 24px;
    font-size: 18px;
    color: #fff;
    background-color: #ff7e5f;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
}

.button:hover {
    background-color: #feb47b;
    transform: scale(1.05);
}
* {box-sizing:border-box}

/* Slideshow container */
.slideshow-container {
  max-width: 1000px;
  position: relative;
  margin: auto;
}

/* Hide the images by default */
.mySlides {
  display: none;
}

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

/* Position the "next button" to the right */
.next {
  right: 0;
  border-radius: 3px 0 0 3px;
}

/* On hover, add a black background color with a little bit see-through */
.prev:hover, .next:hover {
  background-color: rgba(0,0,0,0.8);
}

/* Caption text */
.text {
  color: #f2f2f2;
  font-size: 15px;
  padding: 8px 12px;
  position: absolute;
  bottom: 8px;
  width: 100%;
  text-align: center;
}

/* Number text (1/3 etc) */
.numbertext {
  color: #f2f2f2;
  font-size: 12px;
  padding: 8px 12px;
  position: absolute;
  top: 0;
}

/* The dots/bullets/indicators */
.dot {
  cursor: pointer;
  height: 15px;
  width: 15px;
  margin: 0 2px;
  background-color: #bbb;
  border-radius: 50%;
  display: inline-block;
  transition: background-color 0.6s ease;
}

.active, .dot:hover {
  background-color: #717171;
}

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

@keyframes fade {
  from {opacity: .4}
  to {opacity: 1}
}

/* Card Styles */
.card {
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    margin-bottom: 20px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 20px rgba(0, 0, 0, 0.3);
}

.card img {
    max-width: 100%;
    border-radius: 8px;
}

.card h3 {
    margin-top: 0;
    font-size: 1.5rem;
}

/* Callout Styles */
.bd-callout {
    padding: 1.5rem;
    margin-top: 1.5rem;
    margin-bottom: 1.5rem;
    border: 1px solid #e9ecef;
    border-left-width: 0.25rem;
    border-radius: 0.5rem; /* Rounded corners for a softer look */
    background-color: #fff;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Subtle shadow for depth */
}

.bd-callout h4 {
    margin-bottom: 0.5rem; /* Increased margin for separation */
    font-size: 1.25rem;
    color: #333;
}

.bd-callout p:last-child {
    margin-bottom: 0;
}

.bd-callout code {
    border-radius: 0.25rem;
    background-color: #f8f9fa; /* Light background for code snippets */
    padding: 0.2rem 0.4rem;
}

/* Callout colors */
.bd-callout-info {
    border-left-color: #5bc0de;
    background-color: #e9f4f8; /* Light background for info callouts */
}

.bd-callout-warning {
    border-left-color: #f0ad4e;
    background-color: #fcf8e3; /* Light background for warning callouts */
}

.bd-callout-danger {
    border-left-color: #d9534f;
    background-color: #f2dede; /* Light background for danger callouts */
}

/* Footer Styles */
footer {
    background-color: #002147; /* Dark background for footer */
    color: white;
    padding: 1rem 0;
    text-align: center;
    box-shadow: 0 -4px 6px rgba(0, 0, 0, 0.1);
}

footer p {
    margin: 0;
    font-size: 1rem;
}

footer a {
    color: #f0f0f0;
    font-weight: bold;
    text-decoration: none;
    transition: color 0.3s ease; /* Smooth color transition */
}

footer a:hover {
    color: #ffd700; /* Highlight color on hover */
    text-decoration: underline;
}

/* Progress bar container */
#progress-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 5px; /* Width of the progress bar */
    height: 100vh; /* Full height of the viewport */
    background: #f3f3f3; /* Background color of the progress bar container */
    z-index: 1000; /* Ensure it's on top of other content */
}

/* Progress bar */
#progress-bar {
    height: 100%;
    width: 0;
    background: #4caf50; /* Color of the progress bar */
}

    cursor: url('https://static.igem.wiki/teams/5465/resized-bac.png') 16 16, auto; /* Sample cursor */
}

/* Container for content */
.container {
    width: 80%;
    max-width: 1200px;
    margin: auto;
    padding: 20px;
}

/* Header styles */
header {
    background: #002147; /* Dark background for header */
    color: #fff;
    padding: 20px 0;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

header h1 {
    margin: 0;
    font-size: 2.5rem;
}

/* Hero Section */
.hero {
    padding: 60px 20px;
    color: #fff;
    text-align: center;
    background-image: linear-gradient(to bottom right, #8ea9b7, #a0b4b9);
    border-radius: 0.5rem;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.hero-content h2 {
    font-size: 2rem;
    margin-bottom: 20px;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
}

.button {
    display: inline-block;
    padding: 12px 24px;
    font-size: 18px;
    color: #fff;
    background-color: #ff7e5f;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
}

.button:hover {
    background-color: #feb47b;
    transform: scale(1.05);
}

/* Card Styles */
.card {
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    margin-bottom: 20px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 20px rgba(0, 0, 0, 0.3);
}

.card img {
    max-width: 100%;
    border-radius: 8px;
}

.card h3 {
    margin-top: 0;
    font-size: 1.5rem;
}

/* Callout Styles */
.bd-callout {
    padding: 1.5rem;
    margin-top: 1.5rem;
    margin-bottom: 1.5rem;
    border: 1px solid #e9ecef;
    border-left-width: 0.25rem;
    border-radius: 0.5rem; /* Rounded corners for a softer look */
    background-color: #fff;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Subtle shadow for depth */
}

.bd-callout h4 {
    margin-bottom: 0.5rem; /* Increased margin for separation */
    font-size: 1.25rem;
    color: #333;
}

.bd-callout p:last-child {
    margin-bottom: 0;
}

.bd-callout code {
    border-radius: 0.25rem;
    background-color: #f8f9fa; /* Light background for code snippets */
    padding: 0.2rem 0.4rem;
}

/* Callout colors */
.bd-callout-info {
    border-left-color: #5bc0de;
    background-color: #e9f4f8; /* Light background for info callouts */
}

.bd-callout-warning {
    border-left-color: #f0ad4e;
    background-color: #fcf8e3; /* Light background for warning callouts */
}

.bd-callout-danger {
    border-left-color: #d9534f;
    background-color: #f2dede; /* Light background for danger callouts */
}

/* Footer Styles */
footer {
    background-color: #002147; /* Dark background for footer */
    color: white;
    padding: 1rem 0;
    text-align: center;
    box-shadow: 0 -4px 6px rgba(0, 0, 0, 0.1);
}

footer p {
    margin: 0;
    font-size: 1rem;
}

footer a {
    color: #f0f0f0;
    font-weight: bold;
    text-decoration: none;
    transition: color 0.3s ease; /* Smooth color transition */
}

footer a:hover {
    color: #ffd700; /* Highlight color on hover */
    text-decoration: underline;
}

/* Progress bar container */
#progress-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: #f3f3f3; /* Background color of the progress bar container */
    z-index: 1000; /* Ensure it's on top of other content */
}

/* Progress bar */
#progress-bar {
    height: 100%;
    width: 0;
    background: #4caf50; /* Color of the progress bar */
}

/* Timeline */
.timeline {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-top: 40px;
    position: relative;
  }

  .timeline-item {
    flex: 1;
    margin: 0 10px;
    position: relative;
    text-align: center;
    padding: 20px;
  }

  .timeline-item:before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 2px;
    background-color: #FFD700;
    z-index: -1;
  }

  .timeline-item:first-child:before,
  .timeline-item:last-child:before {
    background: none;
  }

  details {
    background-color: #003366;
    border-radius: 8px;
    padding: 10px;
  }

  summary {
    font-size: 1.1em;
    text-align: center;
  }

  p {
    margin-top: 10px;
  }
