nav {
  width: 100%;
  height: 100px;
  padding: 10px 50px;

  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center; /* Alinha os itens no centro da `nav` */
}

.navbar{
  border-bottom: 2px solid var(--bg1) !important;
}

.navbar .nav-link.active {
  color: var(--bg1) !important; /* Azul do Bootstrap */
  font-weight: bold;
  border-bottom: 2px solid var(--bg1);
}


@media (max-width: 768px) {
  nav {
    padding: 10px 20px;
  }
}

.nav-item > a:hover {
  color: var(--bg1);
  border-bottom: 2px solid var(--bg1);
}

.buttons-messagefooter:hover {
  color: var(--bg1) !important;
  border-bottom: 2px solid var(--bg1);
}

/* Mobile menu button */
#mobile-menu-btn {
  width: 1.5rem;
  height: 1.5rem;
  display: none;
  flex-direction: column;
  justify-content: space-around;
  align-items: flex-end;
  cursor: pointer;
  z-index: 1000;
}

#mobile-menu-btn > div {
  background-color: var(--black);
  height: 0.2rem;
  width: 1.5rem;
  transition: transform 250ms ease-in 0s, opacity 250ms, width 250ms;
  transform-origin: left center;
}

#mobile-menu-btn > div:nth-child(2) {
  width: 1.3rem;
}

#mobile-menu-btn > div:nth-child(3) {
  width: 1.1rem;
}

#mobile-menu-btn.active > div:nth-child(1) {
  transform: rotate(45deg);
}

#mobile-menu-btn.active > div:nth-child(2) {
  opacity: 0;
}

#mobile-menu-btn.active > div:nth-child(3) {
  transform: rotate(-45deg);
  width: 1.5rem;
}

/* Media screens selectors */
@media (max-width: 920px) {
  #mobile-menu-btn {
    display: flex;
  }
}

.top-bar {
  background-color: var(--bg1);
  height: 28px;
}

.social-icon:hover {
  color: var(--black);
}

.collapse {
  display: none; /* Esconde o menu por padrão */
  transition: all 0.3s ease-in-out; /* Adiciona uma transição suave */
}

.collapse.show {
  display: flex; /* Mostra o menu quando a classe "show" é adicionada */
  flex-direction: row; /* Empilha os itens */
  background-color: white; /* Fundo branco para o menu */
  position: absolute; /* Fica acima do conteúdo */
  padding: 40px;
  top: 100%; /* Aparece logo abaixo da navbar */
  left: 0;
  width: 100%;
  z-index: 9999;
}
