/* estilização padrão para o header */
#navbar {
  position: sticky;
  top: 0;
  width: 100%;
  display: flex;
  align-items: center;
  font-weight: bold;
  box-shadow: var(--shadow);
  transition: padding-left 0.4s ease;
  z-index: 998;
  justify-content: space-between;
}

#navbar-toggle {
  display: none !important;
  cursor: pointer;
}

.navbar-expanded {
  padding: 1rem 1rem 1rem 17rem !important; /* Padding expandido */
}

.navbar-collapsed {
  padding: 1rem 1rem 1rem 5rem !important; /* Padding colapsado */
}

#navbar-user-profile {
  width: 50px;
}

#navbar-user-profile:hover {
  cursor: pointer;
}

#navbar-user-profile > img {
  width: 100%;
  height: 100%;
  border-radius: 100%;
  border: 1px solid var(--border-color);
}

.profile-options {
  display: none;
  max-width: 200px;
  border-radius: var(--border-radius);
  border: 1px solid var(--primary);
  height: auto;
  padding: 0.5rem !important;
  background-color: #fff;
  position: absolute;
  top: 9%;
  right: 0.9rem;
  z-index: 999;
}

.profile-options > ul {
  list-style: none;
}

.profile-options > ul > li {
  padding: 0.5rem !important;
}

.profile-options > ul > li > a {
  display: flex;
  align-items: center;
  font-size: 20px;
  gap: var(--gap);
}

/* media queries */

/* navbar */
@media (max-width: 768px) {

  #navbar {
    padding: 1rem !important;
    justify-content: center;
  }

  #navbar-toggle {
    position: absolute;
    left: 1rem;
    display: block !important;
    font-size: 28px;
  }

  #navbar-user-profile {
    position: absolute;
    top: 0.5rem;
    right: 0.9rem;
  }
}