.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background-color: #000;
  color: #fff;
  padding: 10px 0;
  z-index: 1000;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 1.5em;
  font-weight: bold;
}

.nav {
  display: flex;
  align-items: center;
}

.navList {
  list-style-type: none;
  padding: 0;
  margin: 0;
  display: flex;
}

.navList li {
  margin-left: 20px;
}

.navList li a {
  color: #fff;
  text-decoration: none;
  padding: 5px 10px;
  transition: color 0.3s ease;
}

.navList li a:hover {
  color: #ff6600;
}

.hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-around;
  width: 30px;
  height: 25px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 10;
}

.hamburger span {
  width: 30px;
  height: 3px;
  background: #fff;
  border-radius: 10px;
  transition: all 0.3s linear;
  position: relative;
  transform-origin: 1px;
}

.hamburger.active span:first-child {
  transform: rotate(45deg);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg);
}

@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }

  .nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.9);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease-out;
  }

  .navVisible {
    opacity: 1;
    pointer-events: auto;
  }

  .navList {
    flex-direction: column;
    align-items: center;
  }

  .navList li {
    margin: 15px 0;
    opacity: 0;
    transform: translateY(-20px);
    transition: opacity 0.3s ease-out, transform 0.3s ease-out;
  }

  .navVisible .navList li {
    opacity: 1;
    transform: translateY(0);
  }

  .navVisible .navList li:nth-child(1) { transition-delay: 0.1s; }
  .navVisible .navList li:nth-child(2) { transition-delay: 0.2s; }
  .navVisible .navList li:nth-child(3) { transition-delay: 0.3s; }
  .navVisible .navList li:nth-child(4) { transition-delay: 0.4s; }
  .navVisible .navList li:nth-child(5) { transition-delay: 0.5s; }

  .navList li a {
    font-size: 1.5em;
    padding: 10px 0;
  }
}