@charset "UTF-8";

/* .vitepress/theme/custom.css */
/* Medium Zoom */
.medium-zoom-overlay {
  z-index: 20;
}

.medium-zoom-image {
  z-index: 21;
}

.VPNav {
  z-index: 22;
}

/* SideBar scrollbar */
.VPSidebar::-webkit-scrollbar {
  display: none;
}

/* Color Variables */
:root {
  --vp-c-brand: #646cff;
  --vp-c-brand-light: #747bff;
  --vp-c-brand-lighter: #9499ff;
  --vp-c-brand-lightest: #bcc0ff;
  --vp-c-brand-dark: #535bf2;
  --vp-c-brand-darker: #454ce1;
  --vp-c-brand-dimm: rgba(100, 108, 255, 0.08);
}

/* Home Component */
:root {
  --vp-home-hero-name-color: transparent;
  --vp-home-hero-name-background: -webkit-linear-gradient(120deg, #bd34fe 30%, #41d1ff);
  --vp-home-hero-image-background-image: linear-gradient(-45deg, #bd34fe 50%, #47caff 50%);
  --vp-home-hero-image-filter: blur(40px);
}

@media (min-width: 640px) {
  :root {
    --vp-home-hero-image-filter: blur(56px);
  }
}

@media (min-width: 960px) {
  :root {
    --vp-home-hero-image-filter: blur(72px);
  }
}

/* Dark Mode
 * lighter color for links
*/
.dark .vp-doc a,
.dark .vp-doc a>code,
.dark .VPNavBarMenuLink.VPNavBarMenuLink:hover,
.dark .VPNavBarMenuLink.VPNavBarMenuLink.active,
.dark .link.link:hover,
.dark .link.link.active,
.dark .edit-link-button.edit-link-button,
.dark .pager-link .title {
  color: var(--vp-c-brand-lighter);
}

.dark .vp-doc a:hover,
.dark .vp-doc a>code:hover {
  color: var(--vp-c-brand-lightest);
  opacity: 1;
}

/* Transition by color instead of opacity */
.dark .vp-doc .custom-block a {
  transition: color 0.25s;
}

.flex p {
  display: flex;
  flex-wrap: wrap;
}

.flex p img {
  margin-right: 5px;
  margin-bottom: 10px;
}

html {
  overflow-y: scroll;
}

.task-list {
  list-style: none !important;
  padding-left: 0 !important;
}

/* .medium-zoom-image {
  z-index: 9999 !important;
} */
.vp-btn {
  margin-top: 40px;
}

.vp-btn a {
  color: var(--vp-c-brand-darker);
}

.vp-btn a:hover {
  text-decoration: underline;
}

.vp-btn hr {
  margin: 16px 0;
  border: none;
  border-top: 1px solid var(--vp-c-divider);
}

.vp-doc h1 {
  font-size: 28px;
}

/* 自定义侧边栏 */
.VPSidebarItem.collapsible {
  margin-top: 10px;
  padding: 12px 0 12px;
}

.VPSidebarItem.collapsible:nth-child(n+2) {
  border-top: 1px solid var(--vp-c-divider);
}

.VPSidebarItem.collapsible>.item .text {
  font-weight: 700;
  color: var(--vp-c-text-1);
}

.VPSidebarItem>.items {
  border-left: none !important;
  padding-left: 0 !important;
}

.VPSidebarItem>.items .indicator {
  display: none;
}

/* 自定义侧边栏 */