header {
  width: 100%;
  height: max-content;
  background-color: transparent;
  position: fixed;
  transition: 0.5s;
  /* background-color: pink; */
  z-index: 100;
}

header.active {
  background-color: #101010;
  transition: 0.5s;
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  padding-left: 0;
  padding-right: 7vw;
  height: 50px;
}

.nav-logo {
  background-color: #101010;
  width: 10vw;
  height: 100%;
  text-align: center;
  line-height: 50px;
}

.nav-logo a {
  color: white;
  font-weight: 900;
  font-size: 1.2rem;
}

.nav-logo a:active {
  color: #ff9900;
}

.logo a span {
  color: #50d8d7;
}

.logo a span:active {
  color: #ff9900;
}

nav ul {
  list-style: none;
  width: 35%;
  height: 100%;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  transition: none;
}

nav ul li a {
  color: #101010;
  font-size: 0.8rem;
  display: inline-block;
  line-height: 50px;
  height: 100%;
  /* background-color: orchid; */
  padding: 0 5px;
  transition: none;
}

.nav-item.active {
  color: white;
  /* transition: 0.5s; */
}

nav ul li a:hover {
  font-weight: bold;
  border-bottom: solid 2px #ff9900;
}

nav ul li a:active {
  font-weight: bold;
  border-bottom: solid 2px #ff9900;
  background-color: #50d8d7;
  color: white;
}

/* bar coba */

.menu-bar {
  width: 23px;
  height: 29px;
  flex-direction: column;
  /* background-color: pink; */
  display: none;
  justify-content: space-evenly;
  align-items: space;
  position: relative;
  cursor: pointer;
}

.menu-bar span {
  width: 100%;
  height: 3px;
  background-color: white;
  transition: 0.4s;
}

.bar1.active {
  background-color: white;
  transform: rotate(45deg);
  position: absolute;
}

.bar2.active {
  display: none;
  transform: scaleX(0.5);
}

.bar3.active {
  background-color: white;
  transform: rotate(-45deg);
  position: absolute;
}
