.navbar {
  background-color: var(--black-color);
  border-bottom: 1px solid #7373731e;
  color: white;
  position: sticky;
  top: 0;
  width: 100%;
  z-index: 10;
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.navbar .container .logo img {
  height: 50px;
  width: 100%;
  object-fit: contain;
}

.navbar .container ul {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: start;
  gap: 1.4rem;
}

.navbar .container ul li {
  font-weight: 500;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.navbar .container ul li:hover {
  color: var(--primary-color);
}

.navbar .container ul .active {
  color: var(--primary-color);
}

.mb-menu {
  display: none;
  cursor: pointer;
}

.navbar .container .menu {
  transition: left 0.3s ease-in-out;
}

@media only screen and (max-width: 900px) {
  .navbar .container .mb-menu {
    display: block !important;
    cursor: pointer;
  }

  .navbar .container .mb-menu svg {
    fill: white !important;
    height: 1.5rem;
  }

  .navbar .container .menu {
    display: none;
  }

  .navbar .container .show {
    display: flex;
    gap: 2rem;
    padding: 2rem 5vw;
    flex-direction: column;
    align-items: start;
    justify-content: flex-start;
    background-color: var(--black-color);
    width: 50%;
    height: 100vh;
    position: absolute;
    top: 4rem;
    left: 0;
    bottom: 0;
    border-right: 3px solid var(--primary-color);
    border-top-right-radius: 3px;
    border-bottom-right-radius: 3px;
    transition: left 0.3s ease-in-out; /* Smooth slide animation */
  }

  .navbar .container .menu .hidden {
    display: block;
    transition: left 0.3s ease-in-out; /* Smooth slide animation */
  }
}

@media only screen and (max-width: 560px) {
  .navbar .container .logo img {
    height: 40px;
  }

  .navbar .container .show {
    padding: 2rem 5vw;
    width: 80%;
    top: 4rem;
  }
}
