/* Diego Medina */

/* For the issues the Sticky Header */

/* === Header === */
/* === Sticky Header === */

header {
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}
  
  /* Social Media Icons */
  .socials-icon {
    font-size: 1.2rem;
  }
   
  /* Search Wrapper */
  .search-wrapper {
    display: flex;
    align-items: center;
    margin-left: 15px; /* Add small spacing between search and icons */
    transition: 0.3s ease-in-out;
  }
  
  .search-btn {
    background-color: transparent;
    border: none;
    color: #333;
    font-size: 1rem;
    cursor: pointer;
  }
  
  .search-btn:focus {
    outline: none;
  }
  
  .search-input {
    width: 0;
    opacity: 0;
    transition: all 0.3s ease-in-out;
    font-size: 0.85rem;
    border: none;
  }
  
  .search-wrapper:hover .search-input,
  .search-wrapper.active .search-input {
    width: 200px; /* Adjust the width for the expanded state */
    opacity: 1;
    margin-left: 5px; /* Add spacing between input and search button */
  }
  
  .search-input:focus {
    outline: none;
    box-shadow: none;
  }
  
  .search-wrapper:hover .search-btn i {
    color: #007bff; /* Highlight the search icon on hover */
  }

/* Style for the search notification */
#searchNotification {
    z-index: 1050; /* Ensure it's above other elements */
    max-width: 300px;
    text-align: center;
    animation: fadeInOut 3s ease-in-out;
  }
  
  /* Fade-in and fade-out animation */
  @keyframes fadeInOut {
    0%, 100% {
      opacity: 0;
      transform: translateY(-20px);
    }
    20%, 80% {
      opacity: 1;
      transform: translateY(0);
    }
  }
  
  /* Style for the search-wrapper alignment */
  .search-wrapper {
    display: flex;
    align-items: center;
  }
  
  .search-wrapper .search-btn {
    border: none;
    padding: 5px 10px;
    border-radius: 4px;
  }
  
  .search-wrapper .search-btn i {
    font-size: 16px;
  }
  
  .search-wrapper .search-input {
    margin-left: 10px;
    padding: 5px;
    border-radius: 4px;
    border: 1px solid #ddd;
  }
  

  /* menu for the Hamburger and Offcanvas */


#navbar-menuDrawer .menu-header {
    padding: 1.5rem 1.5rem; /* More padding */
    border-bottom: 1px solid #ddd; /* Lighter border */
}
#navbar-menuDrawer .menu-header h5 {
    font-weight: 700; /* Bolder font */
    font-size: 1.25rem;
}
#navbar-menuDrawer a.nav-link {
    display: block;
    padding: 1rem 1.5rem; /* Increased side padding */
    border-bottom: none; /* Remove border from links */
    color: #444;
    text-decoration: none;
    font-weight: 500;
    transition: background-color 0.2s ease, color 0.2s ease;
}
#navbar-menuDrawer a.nav-link:hover,
#navbar-menuDrawer a.nav-link:focus { /* Include focus state */
    background-color: var(--primary-color);
    color: white; /* White text on hover for contrast */
}

/* Overlay behind the drawer */

header {
  position: sticky;
  top: 0;
  z-index: 1100;
  background-color: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

#navbar-menuDrawer {
  position: fixed;
  top: 0;
  left: 0;
  width: 260px;
  height: 100vh;
  background-color: rgba(255,255,255,0.97);
  box-shadow: 2px 0 8px rgba(0, 0, 0, 0.25);
  transform: translateX(-100%);
  transition: transform 0.3s ease;
  z-index: 1200;
}

#navbar-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.4);
  display: none;
  z-index: 1150;
}
   