.nav-icon {
  border: 5px solid red;
}
/* #search-modal.filter-sidebar {
  position: absolute;
  inset: 0;
  z-index: 100;
  background: white;
  width: 100%;
  max-width: 880px;
  border: 1px dotted #757575;
  margin: 40px auto;
  padding: 50px 40px;
  height: fit-content;
} */

.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  inset: 0;
  background: white;
  display: flex;
  justify-content: center;
  align-items: flex-start; /* Aligns to top of the screen */
  z-index: 1000;
  overflow-y: auto; /* Allows entire modal to scroll */
}

.modal-content {
  position: absolute;
  inset: 0;
  z-index: 100;
  background: white;
  width: 100%;
  max-width: 880px;
  border: 1px dotted #757575;
  margin: 40px auto;
  padding: 50px 40px;
  height: fit-content;
}

#modal-bg.show-bg {
  inset: 0;
  position: absolute;
  z-index: 50;
  background-color: white;
  transition: 0.3s all ease-in-out;
  height: 100%;
}

#search-btn {
  cursor: pointer;
}

#search-modal {
  display: flex;
  opacity: 100;
  z-index: 100;
}

#search-modal.modal-hidden {
  display: none;
  opacity: 0;
}

@media (max-width: 768px) {
  .mobile-menu {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    height: 0;
    display: hidden;
    overflow: hidden;
    transition: height 0.3s ease-in-out;
  }

  .modal-content {
    border: none;
    padding: 20px;
  }
  #search-modal #search {
    width: 100%;
  }
  #close-modal-btn {
    top: 0;
  }

  .mobile-menu.active {
    height: 270px;
  }

  .mobile-menu a {
    background: white;

    padding: 10px 20px;
    display: block;
    border-bottom: 1px dotted #afafaf;
    font-size: 13px;
    color: #333;
  }
  .mobile-menu a:first-child {
    border-top: 1px dotted #afafaf;
  }
  header {
    position: sticky;
    top: 0;
    z-index: 1000;
  }
}
.top-navbar-container .desktop-navbar-container {
  height: 60px;
}
.top-navbar-container .desktop-navbar-container a {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.top-navbar-container .search-container {
  height: 100%;
  width: 60px;
}

.mobile-navbar-container {
  font-size: 10px;
  height: 50px;
  border-bottom: 1px solid #dddd;
  position: relative;
  background-color: white;
}

.mobile-navbar-container .mobile-menu-item {
  height: 100%;
  border-left: 1px solid #dddd;
  width: 20%;
  display: flex;
  flex-direction: column;
  align-items: center;
  /* justify-content: center; */
  gap: 8px;
  padding-top: 10px;
}
.mobile-navbar-container .hamburger {
  padding-top: 0;
}

.mobile-navbar-container .mobile-menu-item a span {
  margin-top: 4px;
}

.mobile-navbar-container .mobile-menu-item:first-child {
  border-left: none;
}

/* this is for hamburger icon animation */
/* From Uiverse.io by Cevorob */
.burger {
  position: relative;
  width: 20px;
  height: 15px;
  background: transparent;
  cursor: pointer;
  display: block;
}

.burger input {
  display: none;
}

.burger span {
  display: block;
  position: absolute;
  height: 2px;
  width: 100%;
  background: black;
  border-radius: 9px;
  opacity: 1;
  left: 0;
  transform: rotate(0deg);
  transition: 0.25s ease-in-out;
}

.burger span:nth-of-type(1) {
  top: 0px;
  transform-origin: left center;
}

.burger span:nth-of-type(2) {
  top: 50%;
  transform: translateY(-50%);
  transform-origin: left center;
}

.burger span:nth-of-type(3) {
  top: 100%;
  transform-origin: left center;
  transform: translateY(-100%);
}

.burger input.burger-active ~ span:nth-of-type(1) {
  transform: rotate(45deg);
  top: 0px;
  left: 5px;
}

.burger input.burger-active ~ span:nth-of-type(2) {
  width: 0%;
  opacity: 0;
}

.burger input.burger-active ~ span:nth-of-type(3) {
  transform: rotate(-45deg);
  top: 14px;
  left: 5px;
}
