* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

nav {
  background-color: #5d3543;
  color: white;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: fixed;
  top: 0;
  width: 100%;
  padding: 20px 20px;
}

.nav-links {
  list-style: none;
  display: flex;
  font-size: 18px;
  gap: 20px;
}

a {
  color: white;
  text-decoration: none;
}

a:hover {
  padding: 5px 10px;
  background-color: #351d25;
  border-radius: 5px;
}
.fa-bars,
.fa-xmark {
  font-size: 26px;
  cursor: pointer;
  display: none;
}

@media (max-width: 768px) {
  .fa-bars {
    display: block;
  }
  .nav-links {
    position: fixed;
    font-size: 22px;
    top: 67px;
    left: -100%;
    width: 70%;
    height: 100vh;
    background-color: #785964;
    flex-direction: column;
    padding: 30px;
    transition: 0.6s;
  }
  .nav-links.active {
    left: 0;
  }
  a:hover {
    padding: 5px 10px;
    background-color: #5d3543;
    border-radius: 5px;
  }
}
