body { padding-top: 56px; }
.left-aligned { margin-left: auto; }
.bg-dark { background-color: #343a40 !important; }
.bg-hero { background-color: #45b06cff; }

/* 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 {
    background-color: #E9EDED ;
    padding: 20px 0 ;
    margin-top: 5vh;
  }
  
  .footer h3 {
    color: purple ;
    margin-bottom: 10vh ; 
  }
  
  .footer-logo {
    width: 60% !important;
    height: auto !important; 
    margin-top: 50px !important;
    margin-left: 50px !important;
  }
  
  
  .sponsor-logo {
    width: 80% !important; 
    max-width: 300px !important; 
    height: auto !important; 
  }
  .sponsor-row {
    margin-bottom: 8vh !important; 
  }
  
  @media (max-width: 768px) {
    .sponsor-logo {
        width: 30vw !important; 
        margin-bottom: 5vh !important;
    }
  }
  
  .footer-container {
    max-width: 1200px !important; 
    margin: 0 auto !important;    
    padding: 20px !important;     
  }
    .social-media-icons {
      display: flex !important;
      flex-direction: row !important;
      margin-left: 65px !important;
    }
    
    .social-media-buttons {
      width: 50px ; 
      height: 50px ; 
      border-radius: 50% ; 
      background-color: #d48bdc ; 
      margin-right: 20px ; 
      display: flex ;
      justify-content: center ;
      align-items: center ;
      transition: box-shadow 0.3s, background-color 0.3s ;
       
    }
    .social-media-buttons:hover {
      background-color: #f7dbfa ;
      box-shadow: 0 0 15px #ab3aee ; 
    }
    
    .social-media-buttons i,
    .social-media-buttons svg {
      font-size: 24px ; 
    }

    /* Overview*/

    .background {
      position: relative;
      height: 70vh;
      display: flex;
      justify-content: center;
      align-items: center;
      background-image: url('https://static.igem.wiki/teams/5310/brainover.svg'); 
      background-size: 45%;
      background-position: center;
      background-repeat: no-repeat;
    }
    
    /* Glass effect container */
    .glass-effect {
      background: rgba(255, 255, 255, 0.3); 
      backdrop-filter: blur(5px); 
      border-radius: 20px;
      padding: 40px;
      box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1); 
      color: black;
      max-width: 800px;
      text-align: center;
    }

    /* Side nav bar */

    /* Side nv bar & Page Layout */

@media (max-width: 700px) {
  .fixed-pos {
    width: 90vw !important;
  }
}

.sdbar-photo1, .sdbar-photo2 {
  width: 4vh;
  height: auto;
  position: relative;
  transition: display 0.3s ease-out;
}

.sdbar-photo2 {
  margin-right: 0.3vw;
}

#introduction h2 {
  margin-top: 2vh !important;
}

h2 {
  margin-top: 8vh;
  margin-bottom: 1vh;
}

.spech2 {
  margin-bottom: -3vh;
}

html {
  scroll-behavior: smooth;
}

.sidebar h3 {
  padding-top: 1vh;
  position: relative;
  text-align: center;
  color: orange;
}



.sidebar ol, .sidebar ul {
  list-style-type: none;
}

.sidebar a, .sidebar a:hover {
  text-decoration: none;
  color: darkblue;
}

.fixed-pos {
  padding-right: 1vw;
  position: sticky;
  border: thin groove purple;
  border-radius: 2%;
  padding-left: 0.5vw;
  top: 15vh;
  width: 22vw;
  transform: translateY(-5%);
  margin-left: 1vw;
  overflow-y: auto;
  background-color: #f3ecff;
  
}

.fixed-pos li{
  margin-bottom: 1vh;
  font-size: medium;
}

.subcat-sdbar {
  margin-left: 2vw;
}

.container-fluid {
  margin-top: 20px;
}

#side-nav {
  position: fixed;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  width: 200px;
}

#side-nav ul {
  list-style-type: none;
  padding: 0;
}

#side-nav ul li {
  margin: 0 0;
}

#side-nav ul li a {
  text-decoration: none;
  color: #000;
  display: flex;
  align-items: center;
  padding: 10px;
  border-radius: 5px;
  position: relative;
  transition: background-color 0.3s, color 0.3s, padding-left 0.3s;
}

#side-nav ul li a.active {
  background-color: orange;
  color: white;
  padding-left: 40px !important;
}

#side-nav ul li a:hover {
  background-color: orange;
  color: white;
}

.butterfly {
  display: none;
  position: absolute;
  left: 5px;  /* Adjust position as needed */
  font-size: 1.5rem;  /* Adjust size as needed */
  transition: display 0.3s ease-out;
}

