body {
  font-family: 'Inter', sans-serif;
}

.slider-container {
  position: relative;
  height: 100vh;
  min-height: 600px;
  overflow: hidden;
}

.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.slide::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.600);
  z-index: 1;
}

.slide.active {
  opacity: 1;
}

.slide-text {
  color: white;
  padding: 1.25rem;
  border-radius: 0.5rem;
  position: absolute;
  top: 50%;
  left: 1%;
  transform: translateY(-50%);
  width: auto;
  max-width: 80%;
  text-align: left;
  z-index: 2;
  animation-duration: 1s;
  animation-fill-mode: both;
  opacity: 0;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

.slide.active .slide-text {
  animation-name: slideIn;
  opacity: 1;
}

.slide-text.slide-out {
  animation-name: slideOut;
  opacity: 0;
}

.slide-text h2 {
  font-size: 4em;
  font-weight: 900;
  color: #007BFF;
  margin-bottom: 0.625rem;
}

.slide-text p {
  font-size: 2em;
}

header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 10;
  background-color: white;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 0; /* No top padding */
  padding-right: 20px; /* Right padding of 20px */
  padding-bottom: 0; /* No bottom padding */
  padding-left: 0; /* No left padding */
}

/* This creates the blue line directly below the header */
header::after {
  content: ""; /* Necessary for pseudo-elements to show */
  position: absolute;
  left: 0;
  bottom: -3px; /* Position it 3px below the bottom edge of the header. Adjust thickness here. */
  width: 100%;
  height: 2px;    /* This is the thickness of the line. Match with 'bottom' value. */
  background-color: #2563EB; /* This is Tailwind's blue-600. Or use any blue you like e.g., 'blue' */
  z-index: 10; /* Same z-index as header, or 9 if you want it visually "under" any header box-shadows */
}

.map-container {
  width: 100%;
  height: 200px;
  margin-top: 1.25rem;
}

@keyframes slideIn {
  from {
      transform: translateY(-100%);
      opacity: 0;
  }

  to {
      transform: translateY(-50%);
      opacity: 1;
  }
}

@keyframes slideOut {
  from {
      transform: translateY(-50%);
      opacity: 1;
  }

  to {
      transform: translateY(-100%);
      opacity: 0;
  }
}

/* Hide the parallax section on mobile */
@media (max-width: 768px) {
  #parallax-section {
      display: none;
  }
}

#parallax-section {
  position: relative;
  height: 400px;
  width: 100%;
  overflow: hidden;
  margin-bottom: 1.25rem;
}

#parallax-section #parallax-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
  background-attachment: fixed;
  background-repeat: no-repeat;
  background-position: center center;
  background-image: url('images/2000x2000.svg');
}

#unternehmen {
  position: relative;
  z-index: 1;
  background-color: rgba(255, 255, 255, 0.8);
  padding: 1.25rem;
}

@media (max-width: 768px) {
  .slide-text h2 {
      font-size: 3em;
  }

  .slide-text p {
      font-size: 1.5em;
  }

  .map-container {
      height: 300px;
  }
}

footer {
  position: relative;
  z-index: 2;
}

main {
  margin-bottom: 50px;
}

#hamburger-btn {
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 11;
  position: relative;
  color: #2563EB;
}

#mobile-menu {
  z-index: 9999;
}

/* Style for the mobile navigation */
.mobile-nav {
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background-color: white;
  /* Semi-transparent background */
  z-index: 1000;
  /* Ensure it's on top */
  padding-top: 60px;
  /* Add some space below the header */
  transform: translateY(-100%);
  transition: transform 0.3s ease-in-out;
  /* Slide animation */
}

@media (max-width: 768px) {
  .mobile-nav {
      /* The mobile-nav element is handled by JavaScript to show */
      display: flex;
      flex-direction: column;
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100vh;
      background-color: white;
      /* Semi-transparent background */
      z-index: 1000;
      /* Ensure it's on top */
      padding-top: 60px;
      /* Add some space below the header */
      transform: translateY(-100%);
      transition: transform 0.3s ease-in-out;
      /* Slide animation */
  }

  .mobile-nav ul {
      list-style: none;
      padding: 0;
      margin: 0;
      text-align: center;
      /* Center the list items */
  }

  .mobile-nav li {
      padding: 20px 0;
  }

  .mobile-nav li a {
      color:  #2563eb;
      text-decoration: none;
      font-size: 1.5em;
  }

  /* Style the button to close the mobile navigation */
  .close-button {
      position: absolute;
      top: 20px;
      right: 20px;
      font-size: 2em;
      color:  #2563eb;
      cursor: pointer;
  }
}

/* Add a class to show/hide the mobile navigation */
.mobile-nav.active {
  transform: translateY(0);
  display: flex;
  /*The JavaScript will make the display block*/
}

/* Hide the desktop navigation on mobile */
@media (max-width: 768px) {
  nav.hidden {
      display: none;
  }
}

/* Hide Hamburger Button on Desktop */
@media (min-width: 769px) {
  #hamburger-btn {
      display: none;
  }
}

/* NEW STYLES TO MAKE NAV STICK TO RIGHT */
/* .header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 6000px;
  margin: 0 auto;
  padding: 0 20px;
} */

/* Style the logo image */
.logo-image {
  max-height: 60px;
  width: auto;
  display: block;
}

nav ul {
  display: flex;
  align-items: center;
  list-style: none;
  padding: 0;
  margin: 0;
}

nav li {
  margin-left: 1.5rem;
}

nav a {
  text-decoration: none;
  font-weight: bold;
  color:  #2563eb;
  font-size: 20px;
  transition: color 0.3s ease;
}

nav a:hover {
  color: #ddd;
}