@font-face {
    font-family: sofia-pro;
    src: url('https://static.igem.wiki/teams/4601/wiki/fonts/sofia-pro-bold-az.otf') format('opentype');
    font-weight: bold;
    font-style: normal;
}

@font-face {
    font-family: sofia-pro;
    src: url('https://static.igem.wiki/teams/4601/wiki/fonts/sofia-pro-light-az.otf') format('opentype');
    font-weight: 300; /* Light */
    font-style: normal;
}

@font-face {
    font-family: sofia-pro;
    src: url('https://static.igem.wiki/teams/4601/wiki/fonts/sofia-pro-regular-az.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: sofia-pro;
    src: url('https://static.igem.wiki/teams/4601/wiki/fonts/sofia-pro-regular-italic-az.otf') format('opentype');
    font-weight: normal;
    font-style: italic;
}

@font-face {
    font-family: sofia-pro;
    src: url('https://static.igem.wiki/teams/4601/wiki/fonts/sofia-pro-semi-bold-az.otf') format('opentype');
    font-weight: 600; /* Semi-Bold */
    font-style: normal;
}

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

html {
    scrollbar-width: thin;
}

/* Set the width of the scrollbar */
::-webkit-scrollbar {
    width: 5px;  /* vertical scrollbar */
    height: 5px; /* horizontal scrollbar */
}

/* Style the scrollbar thumb */
::-webkit-scrollbar-thumb {
    background-color: #888;
    border-radius: 2px;
}

/* Hover effect on scrollbar thumb */
::-webkit-scrollbar-thumb:hover {
    background-color: #555;
}

body { 
    background: linear-gradient(to bottom, #12181b, #1f2635); 
    background-attachment: fixed;
    padding-top: 30px;
    font-family: sofia-pro, sans-serif;
    font-size: 1.3rem !important;
    color: #d1d5db;
    font-weight: normal;
    font-style: normal;
    overflow-x: hidden !important;
}

.video-container {
    display: flex;
    justify-content: center;
    align-items: center;
}

iframe {
    border-radius: 20px;  /* Adjust this value as per your preference */
    box-shadow: 5px 5px 15px rgba(0, 0, 0, 0.4);
}

.toc {
    display: block;
    position: fixed;
    font-size: 1.2rem;
    border-top-right-radius: 10px; 
    border-bottom-right-radius: 10px;
    top: 10vh;
    left: -300px; /* Adjust this value based on the width of the TOC */
    transition: left 0.3s ease-out; /* This makes the slide-in effect */
    max-width: 200px;
    padding: 10px;
    background-color: #2a2e35;
    box-shadow: 5px 5px 15px rgba(0, 0, 0, 0.4);
    overflow-y: auto;
}
  
  .toc ul {
    padding-left: 20px;
}
  
  .toc a {
    text-decoration: none;
    cursor: pointer;
}

.toc-link {
    color: #d1d5db;  /* Light text */
    transition: transform 0.3s ease;
}

.toc-link:hover {
    background-color: #555;  /* Slightly lighter background */
    transform: scale(1.1);
    color: transparent;
    background-image: linear-gradient(to right, #f97316, #ec4899);
    background-size: 100% 100%;
    background-clip: text;
    -webkit-background-clip: text;
}

.hoverTransfo {
    transition: transform 0.6s ease;
}

.hoverTransfo:hover {
    transform: scale(1.06);
}

h1, h2, h3, h4, h5, h6 {
    text-align: center;
    font-family: cubano, sans-serif;
    color: #ffffff;
    transition: transform 0.6s ease;
}

.foot p {
    text-align: center;
    font-size: 1.2rem;
    color: #d1d5db;
}

img {
    border-radius: 20px;
}

h2 {
    margin-top: 60px;
}

h1:hover, h2:hover, h3:hover, h4:hover, h5:hover, h6:hover {
    transform: scale(1.06);
}

p, li {
    text-align: justify;
    text-justify: auto;
}

.toc li {
    text-align: none;
    text-justify: none;
}

a {
    text-decoration: none;
}

b {
    color: #ffffff;
    font-weight: 600;
}

i {
    font-style: italic;
}

table {
    color: #d1d5db !important;
}

tr {
    transition: transform 0.3s ease;
}

tr:hover, td:hover {
    transform: scale(1);
    color: #fff !important;
    filter: drop-shadow(0 0 0.1rem #75757a);
}

.gradient-loader {
    position: fixed;
    top: 0;
    left: 0;
    height: 0.375rem;
    width: 100%;
    background-image: linear-gradient(to right, #f97316, #a855f7, #ec4899);
    background-size: 200% 200%;
    animation: gradiant-move 1s infinite;
}
  
@keyframes gradiant-move {
    0% {
      background-position: left;
    }
    50% {
      background-position: right;
    }
    100% {
      background-position: left;
    }
}

/* Override dropdown menu background */
.dropdown-menu {
    background-color: #202020;  /* Dark background */
    border-radius: 8px;
    box-shadow: 5px 5px 15px rgba(0, 0, 0, 0.4); 
}

.dropdown-toggle::after {
    content: none;
}

.nav-link {
    transition: transform 0.3s ease;
    font-weight: bold;
    font-size: 1.25rem;
    color: #fff; 
}

.nav-link:hover {
    transform: scale(1.1);
    color: transparent;
    background-image: linear-gradient(to right, #f97316, #ec4899);
    background-size: 100% 100%;
    background-clip: text;
    -webkit-background-clip: text;
}

/* Make dropdown appear on hover */
.dropdown:hover .dropdown-menu {
    display: block;
}

/* Override dropdown item text color */
.dropdown-item {
    color: #fff;  /* Light text */
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

/* Override dropdown item hover state */
.dropdown-item:hover {
    background-color: #555;  /* Slightly lighter background */
    transform: scale(1.1);
    color: transparent;
    background-image: linear-gradient(to right, #f97316, #ec4899);
    background-size: 100% 100%;
    background-clip: text;
    -webkit-background-clip: text;
}

hr {
    border-radius: 20px;
    border-width: 0px;
    width: 10rem;
    height: .25rem !important;
    margin-top: 2rem;
    margin-bottom: 2rem;
    background-image: linear-gradient(to right, #f97316, #ec4899);
}

.fig-desc p{
    margin-top: 1rem;
    font-size: 1.1rem;
}

.img-fluid2 {
    box-shadow: 0 0 20px 20px #282626;
  }

.opg {
    background-image: linear-gradient(to right, #f97316, #ec4899);
    background-size: 100% 100%;
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent; /* Important, make the text color transparent so that the background shows */
}

.jog {
    background-image: linear-gradient(to right, #eab308, #f97316);
    background-size: 100% 100%;
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
}

.bbg {
    background-image: linear-gradient(to right, #2563eb, #60a5fa);
    background-size: 100% 100%;
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent; 
}

.vrg {
    background-image: linear-gradient(to bottom, #9333ea, #c084fc);
    background-size: 100% 100%;
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent; /* Important, make the text color transparent so that the background shows */
}

.vbg {
    background-image: linear-gradient(to bottom, #098338, #97c020);
    background-size: 100% 100%;
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent; /* Important, make the text color transparent so that the background shows */
}

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

.card {
    width: 250px; /* adjust this value as needed */
    height: 150px; /* adjust this value as needed */
    border-radius: 15px; /* adjust this value as needed */
    background-color: none;
    box-shadow: 5px 5px 15px rgba(0, 0, 0, 0.4); 
    transition: transform 0.4s ease;
}

.card:hover {
    transform: scale(1.1);
}

.card-img-top {
    width: 100%; /* make the image take the full width of the card */
    height: 100%; /* make the image take the full height of the card */
    object-fit: contain; /* ensures the image maintains its aspect ratio */
    border-radius: 15px; /* adjust this value as needed, to match the card's border-radius */
}

.card-title, .card-text {
    text-align: center;
}

.members-cards .card {
    width: 100%; /* make the card take the full width of the container */
    height: auto; /* adjust this value as needed */
    border-radius: 15px; /* adjust this value as needed */
    border: none;
    box-shadow: none;
    transition: transform 0.4s ease;
  }

  .members-cards .card-img-memb {
    width: 100%; /* make the image take the full width of the card */
    height: auto; /* make the image take the full height of the card */
    object-fit: cover; /* ensures the image maintains its aspect ratio and covers the entire card */
    border-radius: 15px; /* adjust this value as needed, to match the card's border-radius */
  }

/* 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 }

/* footer */
footer a { color: white; font-weight: bold; text-decoration: none; }
footer a:hover { color: white; text-decoration: underline; }
