/**
 * Colors
 * -------------------------------------------------------------------------- */

 :root {
  --vp-c-brand: #1453f5;

  --vp-c-brand-light: #2C67FF;
  --vp-c-brand-lighter: #60a5fa;
  --vp-c-brand-lightest: #93c5fd;
  --vp-c-brand-dark: #1d4ed8;
  --vp-c-brand-darker: #1e40af;
  --vp-c-brand-dimm: rgba(100, 108, 255, 0.08);


  --vp-c-brand-1: var(--vp-c-brand);
  --vp-c-brand-2: var(--vp-c-brand-light);

  --vp-c-bg: #fbfdff;
  --vp-c-bg-soft: #e6e9f1;
  --vp-c-bg-alt: #F8F9FD;
  --vp-c-text-1: rgba(30, 30, 30);
  --vp-c-text-2: rgba(30, 30, 30, 0.78);
  --vp-c-text-3: rgba(30, 30, 30, 0.56);

  --vp-nav-logo-height: 32px;
}

.dark{
  --vp-c-brand-1: #60a5fa;
  --vp-c-bg: #0e0f11;
  --vp-c-bg-soft: #131519;
  --vp-c-bg-alt: #0A0B0D;
  --vp-c-text-1: rgba(255, 255, 255, 0.86);
  --vp-c-text-2: rgba(255, 255, 255, 0.6);
  --vp-c-text-3: rgba(255, 255, 255, 0.38);
}

/**
 * Component: Button
 * -------------------------------------------------------------------------- */

:root {
  --vp-button-brand-border: var(--vp-c-brand-light);
  --vp-button-brand-text: var(--vp-c-white);
  --vp-button-brand-bg: var(--vp-c-brand);
  --vp-button-brand-hover-border: var(--vp-c-brand-light);
  --vp-button-brand-hover-text: var(--vp-c-white);
  --vp-button-brand-hover-bg: var(--vp-c-brand-light);
  --vp-button-brand-active-border: var(--vp-c-brand-light);
  --vp-button-brand-active-text: var(--vp-c-white);
  --vp-button-brand-active-bg: var(--vp-button-brand-bg);
}

/**
 * Component: Home
 * -------------------------------------------------------------------------- */

:root {
  --vp-home-hero-name-color: transparent;
  --vp-home-hero-name-background: -webkit-linear-gradient(
    120deg,
    #1453f5 20%,
    #1453f5
  );

  --vp-home-hero-image-background-image: linear-gradient(
    -45deg,
    #1453f5 50%,
    #47caff 50%
  );
  --vp-home-hero-image-filter: blur(40px);
}

.dark{
  --vp-home-hero-name-background: var(--vp-c-text-3);
}

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

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

/**
 * Component: Custom Block
 * -------------------------------------------------------------------------- */

:root {
  --vp-custom-block-tip-border: var(--vp-c-brand);
  --vp-custom-block-tip-text: var(--vp-c-brand-darker);
  --vp-custom-block-tip-bg: var(--vp-c-brand-dimm);
}

.dark {
  --vp-custom-block-tip-border: var(--vp-c-brand);
  --vp-custom-block-tip-text: var(--vp-c-brand-lightest);
  --vp-custom-block-tip-bg: var(--vp-c-brand-dimm);
}

/**
 * Component: Algolia
 * -------------------------------------------------------------------------- */

.DocSearch {
  --docsearch-primary-color: var(--vp-c-brand) !important;
}

/**
 * VitePress: Custom fix
 * -------------------------------------------------------------------------- */

/*
  Use lighter colors for links in dark mode for a11y.
  Also specify some classes twice to have higher specificity
  over scoped class data attribute.
*/
.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;
}

