/* Header/Navbar */
header {
    background-color: #592614;
    color: #D9CDBF;
    padding: 5px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 4px solid #8C4C27;
}

.logo img {
    width: 90px;
    height: auto;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 20px;
}

nav a {
    color: #ffff;
    text-decoration: none;
    font-weight: 500;
    display: block;
    cursor: pointer;
    &:hover{
      font-weight: 800;
    }
}

.separador_com_borda_header {
  display: none;
  position: relative;
}

.separador_com_borda_header::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  height: 3px; /* altura da "borda" */
  width: 100%;
  background: linear-gradient(to right, transparent, #8c4c28, transparent);
}

.alternar_menu_header{
  display: none;
  font-size: 30px;
  background: none;
  color: #ffff;
  border: none;
  cursor: pointer;
}

@media (max-width: 950px) {
  nav ul{
    gap: 12px;
  }
}

@media(max-width: 840px){
  .alternar_menu_header{
    display: block;
  }

  nav {
    display: flex;
    flex-direction: column;
    background-color: #582711;
    position: fixed;
    width: 250px;
    height: 100%;
    top: 0;
    left: -300px;
    padding: 0;
    transition: left 0.3s ease-in-out;
    box-shadow: 2px 0 8px rgba(0, 0, 0, 0.2);
    z-index: 1000;
  }

  nav.menu_header_aberto {
    left: 0;
  }

  nav ul {
    flex-direction: column;
  }

  .separador_com_borda_header{
    display: flex;
  }

  nav.menu_header_aberto ul li{
    padding: 10px;
  }

  nav.menu_header_aberto a{
    color: #ffff;
    text-align: center;
  }

}