.navbar {
  position: fixed;
  top: 0px;
  left: 0px;
  right: 0px;
  z-index: 99;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: .8rem;
  background: #fff;
  border-bottom: .01rem solid #e6e7eb;
  padding: 0 .20rem;
  box-sizing: border-box;
  z-index: 9999;
}
.navbar .logo {
  display: flex;
  align-items: center;
  color: #fff;
  font-weight: bold;
  text-align: center;
  font-size: .22rem;
  color: var(--primary-color);
}
.navbar .logo img {
  width: .35rem;
  height: .40rem;

  margin-right: .10rem;
}

.navbar .menus {
  position: relative;
  display: flex;
}
.navbar .menus li {
  position: relative;
  margin-left: .30rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  font-size: .14rem;
  font-weight: bold;
}

.navbar .menus li::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -.02rem;
  width: 0;
  height: .02rem; /* 光线的高度 */
  background:var(--primary-color) ; /* 光线的颜色 */
  transition: width 0.3s ease-in-out; /* 动画过渡 */
}

.navbar .menus li:hover::after {
  width: 100%; /* 光线宽度扩展至全宽 */
}
.navbar .menus li:hover {
 color: var(--primary-color);
}

.navbar .menus .menu-active-tab {
  color: var(--primary-color);
}
.navbar .menus .menu-active-tab::after {
  width: 100%; /* 光线宽度扩展至全宽 */
}
.menu-icon {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: .30rem;
  height: .20rem;
  cursor: pointer;
}

.menu-icon .bar {
  width: 100%;
  height: .03rem;
  background-color: var(--primary-color);
  transition: all 0.3s ease-in-out;
}

/* Transformations for active state */
.menu-icon.active .bar:nth-child(1) {
  transform: rotate(45deg) translate(.07rem, .05rem);
}

.menu-icon.active .bar:nth-child(2) {
  opacity: 0; /* 隐藏中间横线 */
}

.menu-icon.active .bar:nth-child(3) {
  transform: rotate(-45deg) translate(.07rem, -.05rem);
}

.menuPop {
  display: flex;
  align-items: center;
  flex-direction: column;
  justify-content: center;
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  background: #f2f5f9;
  transition: all 0.3s;
  transform: translateY(-100%);
  font-size: .30rem;
  font-weight: bold;
  z-index: 999;
}
.menuPop a {
  cursor: pointer;
  color: #fff;
  margin-bottom:.10rem;
}

.showMenuPop {
  transform: translateY(0%);
}

/* Responsive styles */
@media screen and (max-width: 7.68rem) {
  .menu-icon {
    display: flex;
  }
  .navbar .menus {
    display: none;
  }
}


/* From Uiverse.io by alexmaracinaru */
.cta {
  position: relative;
  margin-bottom: .30rem;
  padding: .12rem .18rem;
  transition: all 0.2s ease;
  border: none;
  background: none;
  cursor: pointer;
}

.cta:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  display: block;
  border-radius: .50rem;
  background: #b1dae7;
  width: .45rem;
  height: .45rem;
  transition: all 0.3s ease;
}

.cta span {
  position: relative;
  font-family: "Ubuntu", sans-serif;
  font-size: .18rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: #fff;
}

.cta svg {
  position: relative;
  top: 0;
  margin-left: .10rem;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke: #a3e1fb;
  stroke-width: 2;
  transform: translateX(-.05rem);
  transition: all 0.3s ease;
}

.cta:hover:before {
  width: 100%;
  background:#b1dae7;
}

.cta:hover svg {
  transform: translateX(0);
}

.cta:active {
  transform: scale(0.95);
}
