
header {
  /* background-color: #592614; */
  color: #D9CDBF;
  padding: 5px 40px;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  margin-top: 20px;
}

.items_header{
  display: flex;
  width: 90%;
  background-color: #e5e5e55e;
  justify-content: space-between;
  padding: 10px 45px 10px 45px;
  align-items: center;
  border-radius: 50px;
  box-shadow: 0 0 8px rgba(89, 38, 20, 0.15);
}

.logo_home img {
  width: 80px;
  height: auto;
}

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

nav a{
  color: #8c4c28;
  font-size: 18px;
  &:hover{
    text-decoration: underline;
    font-weight: 600;
  }
}

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

.separador_com_borda::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{
  display: none;
  font-size: 30px;
  background: none;
  color: #8c4c28;
  border: none;
  cursor: pointer;
}

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

@media (max-width: 840px) {

  .alternar_menu{
    display: block;
  }

  nav {
    display: flex;
    flex-direction: column;
    background-color: #592614;
    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_aberto {
    left: 0;
  }

  nav ul {
    flex-direction: column;
  }

  .separador_com_borda{
    display: flex;
  }

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

  nav.menu_aberto a{
    color: #D9CDBF;
  }
  
}

@media (max-width: 640px) {

  header{
    padding: 5px 15px;
  }
}