.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 1000;
  padding: 10px 30px;
  background-image: url("../img/bg1.png");
  background-size: cover;
  background-repeat: no-repeat;
  background-color: #1e1e1e;
  color: white;
}

.logo img {
  width: 70px;
  height: 70px;
}

.list-nav {
  display: flex;
  gap: 25px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.l1 button {
  background: transparent;
  border: none;
  color: #e1e1e1;
  font-weight: bold;
  font-size: 1rem;
  transition: color 0.3s ease, text-decoration 0.3s ease;
  cursor: pointer;
}

.l1 button:hover {
  color: #a3c644;
  text-decoration: underline;
}

.btnTch {
  padding: 12px 25px;
  border: 2px solid white;
  background: transparent;
  color: white;
  font-size: 1rem;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

.btnTch:hover {
  background-color: #a3c644;
  color: black;
  border-color: #a3c644;
}

/* Tablet (<= 768px) */
@media (max-width: 768px) {
  .navbar {
    flex-wrap: wrap;
    justify-content: center;
    padding: 10px 20px;
  }

  .logo img {
    width: 60px;
    height: 60px;
    margin: 10px 0;
  }

  .list-nav {
    gap: 15px;
    margin: 10px 0;
    flex-wrap: wrap;
    justify-content: center;
  }

  .btnTch {
    margin: 10px 0;
    padding: 10px 20px;
    font-size: 0.9rem;
  }
}

/* Mobile (<= 480px) */
@media (max-width: 480px) {
  .navbar {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .list-nav {
    flex-direction: column;
    gap: 10px;
  }

  .btnTch {
    width: 80%;
    max-width: 200px;
  }
}
