/* 自定义导航栏 */

/* 一级菜单居中 */
#nav .menus_items {
  position: absolute !important;
  width: fit-content !important;
  left: 50% !important;
  bottom: 16% !important;
  transform: translateX(-50%) !important;
}

/* 子菜单横向展示 */
#nav .menus_items .menus_item:hover .menus_item_child {
  display: flex !important;
}

/* 这里的2是代表导航栏的第2个元素，即有子菜单的元素，可以按自己需求修改 */
.menus_items .menus_item:nth-child(2) .menus_item_child {
  left: -125px;
}

/* #nav *::after {
  background-color: transparent !important;
  filter: blur(1px);
} */


/* 导航栏动画 */

#nav a:hover {
  color: white !important;
  background: #ed709b;
  border-radius: 16px;
  padding: 8px 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

#nav a {
  border-radius: 16px;
  color: rgba(255, 255, 255, 0.8);
  transition: all 0.3s ease;
  /* 设置平滑的过渡效果 */
}

