/**
 * Any CSS included here will be global. The classic template
 * bundles Infima by default. Infima is a CSS framework designed to
 * work well for content-centric websites.
 */

/* Import Questrial font from Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Questrial&display=swap');

/* Import custom scrollbar styles */
@import './scrollbar.css';

/* Import sidebar styles */
@import './sidebar.css';

/* Import Radix UI color system */
@import '../components/Color/colors.css';


/* You can override the default Infima variables here. */
:root {
  /* Iris color scheme from Radix UI */
  --ifm-color-primary: #5B5BD6;
  --ifm-color-primary-dark: #4D4DCC;
  --ifm-color-primary-darker: #4040C8;
  --ifm-color-primary-darkest: #3333B3;
  --ifm-color-primary-light: #7373DE;
  --ifm-color-primary-lighter: #8F8FE6;
  --ifm-color-primary-lightest: #ABABEF;
  --ifm-code-font-size: 95%;
  --docusaurus-highlighted-code-line-bg: rgba(0, 0, 0, 0.1);
  --my-color-text-black: #111827;
  
  /* Additional colors */
  --ifm-navbar-background-color: var(--ifm-background-color);
  --ifm-background-color: #ffffff;
  --ifm-footer-background-color: #ffffff;
  --ifm-menu-color: #374151;
  --ifm-toc-link-color: #374151;

  /* Navbar colors */
  --navbar-background-color: var(--ifm-background-color);
  --navbar-link-color: #1f2328;
  --navbar-mobile-button-hover: rgba(0, 0, 0, 0.05);
  
  /* Theme colors for breadcrumbs */
  --theme-color-text-light: #6b7280;
  --theme-color-text-default: #111827;
  --theme-color-keyline: #e5e7eb;
}

/* For readability concerns, you should choose a lighter palette in dark mode. */
[data-theme='dark'] {
  --ifm-color-primary: #8F8FE6;
  --ifm-color-primary-dark: #7373DE;
  --ifm-color-primary-darker: #5B5BD6;
  --ifm-color-primary-darkest: #4D4DCC;
  --ifm-color-primary-light: #ABABEF;
  --ifm-color-primary-lighter: #C4C4F5;
  --ifm-color-primary-lightest: #E1E1FF;
  
  --docusaurus-highlighted-code-line-bg: rgba(0, 0, 0, 0.3);
  --my-color-text-black: #f9fafb;
  
  /* Dark mode specific colors */
  --ifm-navbar-background-color: var(--ifm-background-color);
  --ifm-background-color: #111827;
  --ifm-footer-background-color: var(--ifm-background-color);
  --ifm-menu-color: #f3f4f6;
  --ifm-toc-link-color: #f3f4f6;

  /* Navbar colors - dark mode */
  --navbar-background-color: var(--ifm-background-color);
  --navbar-link-color: var(--ifm-font-color-base);
  --navbar-mobile-button-hover: rgba(255, 255, 255, 0.1);
  
  /* Dark mode theme colors for breadcrumbs */
  --theme-color-text-light: #9ca3af;
  --theme-color-text-default: #f9fafb;
  --theme-color-keyline: #374151;
}

.navbar__logo{
  height: 24px;
  line-height: 24px;
  margin-right: 4px;
}

.navbar__title {
  font-size: 1.125rem; /* 18px */
  color: var(--my-color-text-black);
  font-weight: bold;
  font-family: 'Helvetica Neue', Arial, sans-serif;
}

.navbar {
  box-shadow: none;
  font-size: 0.875rem; /* 14px */
  border-bottom: 1px solid var(--ifm-color-emphasis-200);
}

.navbar__items {
  font-family: 'Questrial', sans-serif;
}
.navbar__item{
  margin-top: 3px;
}

.navbar__item.navbar-github-link{
  display: block;
  width: 120px;
}

@media (min-width: 769px) and (max-width: 996px) {
  .navbar__item.navbar-github-link {
    margin-right: 160px;
  }
}

@media (max-width: 768px) {
  .navbar__item.navbar-github-link {
    margin-right: 40px;
  }
}
