:root {
  --theme-color: #3654EA;
  --nav-height: 72px;
}

.app-nav {
  position: fixed;
  right: 0;
  left: 300px;
  transition: left .25s ease;
  text-align: left;
  margin: 0;
  padding: 0;
  align-items: center;
  background-color: #fff;
  /* border-bottom: 1px solid #EDEDED; */
}

.app-nav::after {
  content: ' ';
  position: absolute;
  width: 100%;
  height: 0;
  bottom: 0;
  border-bottom: 1px solid #EDEDED;
}

.app-nav ul {
  padding-left: 72px;
  height: var(--nav-height);
  display: flex;
}

.app-nav ul li {
  height: 100%;
  padding: 0;
  margin-right: 56px;
  margin-left: 0;
}

.app-nav ul li a {
  height: 100%;
  display: flex;
  align-items: center;
  color: #606266;
  font-size: 18px;
}

.app-nav ul li a.active {
  border: none;
  color: #303133;
}

.app-nav ul li a.active::after {
  content: ' ';
  position: absolute;
  width: 100%;
  height: 0;
  bottom: 0;
  border-bottom: 3px solid var(--theme-color,#42b983);
}

body.close .app-nav {
  left: 0;
}

.content {
  padding-top: var(--nav-height);
}

.search {
  height: var(--nav-height);
  display: flex;
  align-items: flex-end;
}

.github-corner {
  display: none;
}

section.cover {
  z-index: 11;
  background-image: url(/assets/images/home_bg.png) !important;
  background-color: rgb(244, 246, 255) !important;
  background-size: cover !important;
  background-position: center !important;
}
section.cover .cover-main {
  margin-left: 12.5vw;
  text-align: left;
}
section.cover .cover-main h1 {
  text-align: left;
  font-size: 96px;
  font-family: PingFang SC-Regular, PingFang SC;
  font-weight: 400;
  color: #303133;
  line-height: 96px;
}
section.cover .cover-main h3 {
  font-size: 48px;
  font-family: PingFang SC-Regular, PingFang SC;
  font-weight: 400;
  color: #303133;
  line-height: 48px;
  margin-top: 48px;
  margin-bottom: 76px;
}
section.cover .cover-main>p:last-child a:last-child {
  /* width: 168px; */
  /* height: 56px; */
  padding: 16px 36px;
  background: #3654EA;
  border-radius: 59px;
  margin: 0;
}
section.cover .cover-main>p:last-child a:last-child:hover {
  color: #fff;
}

/*----------------------------*/

.sidebar-nav-parent-li {
    position: relative;
}

.sidebar-nav {
    padding-right: 10px;
}

.sidebar-nav .ul-after {
    content: '';
    width: 10px;
    height: 30px;
    /* background: red; */
    position: absolute;
    right: 10px;
    top: 0px;
    display: flex;
    align-items: center;
}

.ul-after-sanjiao {
    width: 0;
    height: 0;
    border-left: 8px solid #cecece;
    border-top: 8px solid transparent;
    border-bottom: 8px solid transparent;
    transition: transform 0.3s;
    position: relative;

}

.ul-after-sanjiao::after {
    content: '';
    width: 0;
    height: 0;
    position: absolute;
    top: -8px;
    left: -11px;
    border-left: 8px solid #fff;
    border-top: 8px solid transparent;
    border-bottom: 8px solid transparent;
}

.ul-after-sanjiao:hover {
    border-left: 8px solid #42b983;
}

.sidebar-nav-parent-li-shouqi .ul-after-sanjiao {
    transform: rotate(90deg);
    transition: transform 0.3s;
}

/* 自定义搜索框样式 */
.search-box {
    background-color: #f2f2f2; /* 搜索框背景颜色 */
    border: 1px solid #ddd; /* 搜索框边框颜色 */
    border-radius: 20px; /* 搜索框圆角 */
    padding: 5px; /* 内边距 */
}

/* 搜索框输入字段的样式 */
.search-box input {
    border: none; /* 输入字段边框颜色 */
    padding: 5px; /* 输入字段内边距 */
    outline: none; /* 去除点击输入框时的默认边框 */
}

/* 搜索结果列表的样式 */
.search-results {
    border: 1px solid #ddd; /* 搜索结果列表边框颜色 */
    border-radius: 0 0 20px 20px; /* 圆角 */
    margin-top: 5px; /* 与搜索框的间距 */
}

/* 搜索结果列表中项目的样式 */
.search-results ul li {
    list-style: none; /* 移除列表项前的点 */
    padding: 5px; /* 内边距 */
}

/* 搜索结果列表中项目的样式（鼠标悬浮时） */
.search-results ul li:hover {
    background-color: #f9f9f9; /* 鼠标悬浮项的背景颜色 */
}
