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: 1.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; }

/* ====================================
   FONT IMPORTS - Merriweather Local
   ==================================== */

@font-face {
  font-family: 'Merriweather';
  src: url('https://static.igem.wiki/teams/5583/font/merriweather-v33-latin-regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Merriweather';
  src: url('https://static.igem.wiki/teams/5583/font/merriweather-v33-latin-italic.woff2') format('woff2');
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: 'Merriweather';
  src: url('https://static.igem.wiki/teams/5583/font/merriweather-v33-latin-700.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Merriweather';
  src: url('https://static.igem.wiki/teams/5583/font/merriweather-v33-latin-700italic.woff2') format('woff2');
  font-weight: 700;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: 'Merriweather';
  src: url('https://static.igem.wiki/teams/5583/font/merriweather-v33-latin-900.woff2') format('woff2');
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Merriweather';
  src: url('https://static.igem.wiki/teams/5583/font/merriweather-v33-latin-900italic.woff2') format('woff2');
  font-weight: 900;
  font-style: italic;
  font-display: swap;
}

/* NAVBAR ANFANG */
/* NAVBAR ANFANG */
/* NAVBAR ANFANG */

.navbar { 
  background-color: #000000 !important;
  padding: 0 !important;
  height: 56px;
}

/* Logo Container */
.logo-container {
  position: relative;
  padding: 0 !important;
  margin-right: 2rem;
  z-index: 1050;
}

.navbar-logo {
  height: 100px; /* Logo ragt über die Navbar hinaus */
  width: auto;
  position: relative;
  top: 25px; /* Logo ragt nach oben über die Navbar */
  transition: transform 0.3s ease;
}

.navbar-logo:hover {
  transform: scale(1.05);
}

/* Navbar Items Spacing */
.navbar-nav {
  gap: 3.5rem; /* Abstand zwischen den Menüpunkten */
}

.navbar-nav .nav-item {
  display: flex;
  align-items: center;
}

.navbar-nav .nav-link {
  padding: 1rem 0 !important;
  font-size: 1rem;
  font-weight: 500;
  color: #ffffff !important;
  transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover {
  color: #B7B3FE !important;
}

/* Dropdown Menu - Schwarzer Hintergrund */
.dropdown-menu-dark {
  background-color: #000000 !important;
  border: 1px solid #333 !important;
  margin-top: 0 !important;
}

.dropdown-menu-dark .dropdown-item {
  color: #ffffff !important;
  padding: 0.5rem 1.5rem;
  transition: background-color 0.3s ease;
}

.dropdown-menu-dark .dropdown-item:hover {
  background-color: #1a1a1a !important;
  color: #B7B3FE !important;
}

/* Container anpassen */
.navbar .container {
  display: flex;
  align-items: center;
  height: 56px;
}

/* Navbar font */
.navbar, .navbar-nav .nav-link, .dropdown-menu-dark, .dropdown-item, .navbar-brand {
  font-family: 'Merriweather', serif !important;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

.navbar-nav .nav-link {
  font-weight: 900; /* Oder 500, je nach Präferenz */
  letter-spacing: 0.3px; /* Leicht erhöhter Buchstabenabstand */
}

/* Navbar animation */
.navbar-scroll {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1), 
              opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  transform: translateY(0);
  opacity: 1;
}

.navbar-hidden {
  transform: translateY(-100%);
  opacity: 0;
  pointer-events: none; /* Verhindert Klicks auf versteckte Navbar */
}

/* Hide logo when navbar is hidden */
.navbar-hidden .navbar-logo {
  display: none;
}


/* Responsive Design */
@media (max-width: 991px) {
  .navbar-logo {
    height: 60px;
    top: -8px;
  }
  
  .navbar-nav {
    gap: 0;
    margin-top: 1rem;
  }
  
  .navbar-nav .nav-link {
    padding: 0.5rem 0 !important;
  }
}

/* NAVBAR ENDE */
/* NAVBAR ENDE */
/* NAVBAR ENDE */


/* Footer ANFANG */
/* Footer ANFANG */
/* Footer ANFANG */

.footer {
  background: #ffffff;
  padding: 4rem 0 2rem 0;
  text-align: center;
  font-family: 'Merriweather', serif;
}

/* Contact Section */
.contact-section {
  margin-bottom: 2rem;
}

.contact-title {
  font-size: 2.5rem;
  font-weight: 900;
  color: #000;
  margin-bottom: 2rem;
}

.contact-highlight {
  color: #23F65B;
}

.social-links {
  display: flex;
  gap: 2rem;
  justify-content: center;

}

.social-link img {
  width: 60px;
  height: 60px;
  transition: transform 0.3s ease;
}

.social-link img:hover {
  transform: scale(1.15);
} 


/* Copyright */
.footer-copyright {
  border-top: 1px solid #eee;
  padding-top: 2rem;
  font-size: 0.9rem;
  color: #666;
  line-height: 1.6;
}

.footer-copyright a {
  color: #23F65B;
  text-decoration: none;
}

.footer-copyright a:hover {
  color: #23F65B !important;
  text-decoration: underline; 
}

/* Responsive Design */
@media (max-width: 768px) {
  .nav-cards {
    flex-direction: column;
    align-items: center;
  }
  
  .nav-card {
    width: 100%;
    max-width: 400px;
  }
  
  .explore-header {
    flex-direction: column;
    gap: 1rem;
  }
  
  .explore-title {
    font-size: 2.5rem;
  }
  
  .contact-title {
    font-size: 2rem;
  }
}

/* Footer ENDE */
/* Footer ENDE */
/* Footer ENDE */

