.top-bar {
  background: #290a40;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 101;
  padding: 10px 5px;
}
.top-bar__text {
  font-family: "Montserrat", sans-serif;
  font-weight: 800;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: #fff;
  text-align: center;
}
.site-header {
  position: absolute;
  top: 32px;
  left: 0;
  right: 0;
  z-index: 100;
}
.site-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px 40px;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
}

.site-nav__menu {
  display: flex;
  gap: 48px;
  align-items: center;
  justify-content: center;
  list-style: none;
  margin: 0;
  padding: 0;
}
.site-nav__menu li a {
  font-family: "Mochiy Pop One", sans-serif;
  font-size: 16px;
  color: #fff;
  padding: 8px 4px;
  display: block;
  border-bottom: 4px solid transparent;
  transition: border-color 0.3s;
}
.site-nav__menu li.current-menu-item a,
.site-nav__menu li.current_page_item a {
  border-bottom-color: #31c1ff;
}
.hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 200;
}
.hamburger span {
  display: block;
  width: 28px;
  height: 3px;
  background: #fff;
  margin: 5px 0;
  border-radius: 2px;
  transition: all 0.3s;
}
.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(6px, 6px);
}
.hamburger.active span:nth-child(2) {
  opacity: 0;
}
.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

@media (max-width: 768px) {
  .top-bar {
    padding: 5px;
  }
  .top-bar__text {
    font-size: 10px;
  }
  .site-header {
    position: fixed;
    top: 32px;
    left: 0;
    right: 0;
    z-index: 100;
  }
  .top-bar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 101;
  }
  .site-nav {
    padding: 8px 20px;
    justify-content: flex-end;
  }
  .hamburger {
    display: block;
  }
  .site-nav__menu {
    display: none;
    position: fixed;
    flex-direction: column;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    background: rgba(41, 10, 64, 0.97);
    justify-content: center;
    align-items: center;
    gap: 32px;
    z-index: 150;
  }
  .site-nav__menu.active {
    display: flex;
  }
  .site-nav__menu li a {
    font-size: 20px;
  }
}
