body {
  margin: 0;
  font-family: Arial, sans-serif;
  background-color: #333;
  color: #eee;
}

header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 20px;
  background-color: #000;
  position: relative;
  z-index: 1000;
}

.logo img {
  height: 40px;
}

.logo .mobile {
  display: none;
}

@media (max-width: 768px) {
  .logo .desktop {
    display: none;
  }
  .logo .mobile {
    display: block;
  }
}

.search-box {
  position: relative;
  display: flex;
  align-items: center;
}

.search-box input {
  background-color: #111;
  color: #eee;
  border: none;
  padding: 8px 10px;
  border-radius: 10px;
  outline: none;
  font-size: 14px;
}

.search-box input::placeholder {
  color: #444;
}

.hamburger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  z-index: 2000;
}

.hamburger div {
  width: 25px;
  height: 3px;
  background-color: #eee;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.menu {
  position: fixed;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background-color: #000;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  transform: translateX(-100%);
  transition: transform 0.3s ease;
}

.menu ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.menu ul li {
  margin: 20px 0;
}

.menu ul li a {
  color: #eee;
  font-size: 18px;
  text-decoration: none;
}

.menu.active {
  transform: translateX(0);
}

.hamburger.active div:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active div:nth-child(2) {
  opacity: 0;
}

.hamburger.active div:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

@media (min-width: 769px) {
  header {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  .search-box {
    flex: 1;
    max-width: 80%;
    display: flex;
    justify-content: flex-end;
  }

  .search-box input {
    width: 100%;
  }
}
