/**
 * Customize default theme styling by overriding CSS variables:
 * https://github.com/vuejs/vitepress/blob/main/src/client/theme-default/styles/vars.css
 */

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

:root {
  --vp-c-brand: #7b2bf9;
  --vp-c-brand-light: #9350fa;
  --vp-c-brand-lighter: #a970fb;
  --vp-c-brand-lightest: #bf90fc;
  --vp-c-brand-dark: #6902e0;
  --vp-c-brand-darker: #5801c9;
  --vp-c-brand-dimm: rgba(123, 43, 249, 0.08);
}

/**
 * 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,
    #7b2bf9 30%,
    #fd63d9
  );

  --vp-home-hero-image-background-image: linear-gradient(
    -45deg,
    #7b2bf9 50%,
    #fd63d9 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);
  }
}

/**
 * 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);
  --tab-text-color: #000;
}

.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);
  --tab-text-color: #fff;
}

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

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

@font-face {
  font-family: "Untitled-Sans";
  src: url("/fonts/untitled-sans/untitled-sans-regular.woff2") format("woff2");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Untitled-Sans";
  src: url("/fonts/untitled-sans/untitled-sans-medium.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Youth";
  src: url("/fonts/youth/Youth-Regular.woff2") format("woff2");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

:root {
  --font-primary: "Youth", sans-serif;
  --font-body: "Untitled-Sans", sans-serif;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-primary);
}

.youtube-wrapper {
  position: relative;
  overflow: hidden;
  width: 100%;
  padding-top: 56.25%;
}

.youtube-video {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  width: 100%;
  height: 100%;
  border: none;
}

body {
  font-family: var(--font-body);
}

.VPDoc {
  font-family: var(--font-body);
}

.VPHome {
  font-family: var(--font-body);
}

.VPSidebar {
  font-family: var(--font-body) !important;
}

.VPSidebarItem .text,
.VPSidebarGroup .title,
.VPSidebarGroup .items,
.VPSidebarGroup .VPLink,
.VPDocAsideOutline .outline-title,
.VPDocAsideOutline .outline-link {
  font-family: var(--font-body) !important;
  font-weight: 400 !important;
}

.VPSidebarItem.is-active .text {
  color: var(--vp-c-brand);
}
