body { 
  padding-top: 56px; 
  cursor: url(https://static.igem.wiki/teams/5060/real-drop.png), auto;
}
a, .hover, .navbar, .nav-item, .dropdown, button, input, [role="button"] {
  cursor: url(https://static.igem.wiki/teams/5060/output-onlinepngtools-1.png), auto !important;
}
.left-aligned {
  margin-left: auto;
}
.bg-hero {
  background-color: rgb(112, 6, 89);
}
.bg-cream {
  background-color: #FAF9F6;
}

nav.navbar {
  background: #faf9f6;
  z-index: 10000;
}

@media screen and (max-width: 768px) {
  .navbar-nav {
    padding: 1rem !important;
  }
}

.navbar-toggler {
  box-shadow: none !important;
  background: #faf9f6;
  border-radius: 1rem;
}

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


/* Grid*/
html {
  box-sizing: border-box;
}

*, *:before, *:after {
  box-sizing: inherit;
}

.column {
  float: left;
  width: 25%;
  margin-bottom: 16px;
  padding: 0 8px;
}

@media screen and (max-width: 650px) {
  .column {
    width: 100%;
    display: block;
  }
}

/*Gallery*/
div.gallery {
  border: 1px solid #ccc;
}

div.gallery:hover {
  border: 1px solid #777;
}

div.gallery img {
  width: 100%;
  height: auto;
}

* {
  box-sizing: border-box;
}

.responsive {
  padding: 0 6px;
  float: left;
  width: 24.99999%;
}

@media only screen and (max-width: 700px) {
  .responsive {
    width: 49.99999%; /* why? */
    margin: 6px 0;
  }
}

@media only screen and (max-width: 500px) {
  .responsive {
    width: 100%;
  }
}

.clearfix:after {
  content: "";
  display: table;
  clear: both;
}

/* Side navbar */

html {
  --sidenav-width: 200px;
}

@media screen and (max-width: 1000px) {
  aside#sidenav  {
    display: none !important;
  }

  aside#sidenav + main {
    margin-left: revert !important;
  }
}

/* Side navbar styling */
aside#sidenav {
  float: left;
  width: var(--sidenav-width);
  position: sticky;
  top: 150px;
  bottom: 220px;
  left: 0;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: .5rem;
  max-height: 90dvh;
  overflow-y: auto;
}

aside#sidenav a {
  text-decoration: none;
  font-size: 1.2rem;
  color: #00407A;
  padding: 1rem .75rem;
  border-radius: .5rem;
}

aside#sidenav a.current {
 background: linear-gradient(135deg, rgba(181,135,227,1), rgba(82,189,236,1));
 color: white;
}

aside#sidenav a:hover:not(.current) {
  background: linear-gradient(135deg, rgba(181,135,227,0.8), rgba(82,189,236,0.8));
  color: white;
}

aside#sidenav + main {
  margin-left: calc(var(--sidenav-width) + 1rem);
}


.row img {
  width: 50%;
  border-radius: 15px;
}
/* Styling for the 'Find Out More' link with a line */
.btn-link-with-line {
  position: relative;
  color: #007bff;
  text-decoration: none;
  font-weight: 500;
  font-size: 1rem;
  align-self: flex-start;
}
.btn-link-with-line::after {
  content: '';
  position: absolute;
  left: 100%;
  margin-left: 10px;
  top: 50%;
  width: 30px;
  height: 1px;
  background-color: #007bff;
  transform: translateY(-50%);
  transition: width 0.3s ease;
}
.btn-link-with-line:hover::after {
  width: 50px;
}
.btn-link-with-line:hover {
  color: #0056b3;
}


/* Section styling for visual separation */
section {
  width: 100%;
  padding: 20px;
  margin: 20px 0;
  background-color: #fbf9f4;
}

/* Smooth scrolling */
html {
  scroll-behavior: smooth;
}