/**
 * 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.
 */
@tailwind base;
@tailwind components;
@tailwind utilities;

@import url('https://fonts.googleapis.com/css2?family=Be+Vietnam+Pro:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

body {
  font-family: 'Be Vietnam Pro', serif;
  font-optical-sizing: auto;
  /* font-size: 1.125rem;
  ascent-override: 106.25%;
  size-adjust: 106.25%; */
}

.breadcrumbs__link {
  font-weight: 500;
  font-size: 0.875rem;
  padding: 8px 16px 8px 16px;
}

img {
  border-radius: 15px;
}

/* You can override the default Infima variables here. */
:root {
  --ifm-color-primary: #4250af;
  --ifm-color-primary-dark: #4250af;
  --ifm-color-primary-darker: #4250af;
  --ifm-color-primary-darkest: #4250af;
  --ifm-color-primary-light: #4250af;
  --ifm-color-primary-lighter: #4250af;
  --ifm-color-primary-lightest: #4250af;
  --docusaurus-highlighted-code-line-bg: rgba(0, 0, 0, 0.1);
}

/* For readability concerns, you should choose a lighter palette in dark mode. */
[data-theme='dark'] {
  --ifm-color-primary: #adcbfa;
  --ifm-color-primary-dark: #85b2f8;
  --ifm-color-primary-darker: #71a5f6;
  --ifm-color-primary-darkest: #357ff3;
  --ifm-color-primary-light: #d5e4fc;
  --ifm-color-primary-lighter: #e9f1fe;
  --ifm-color-primary-lightest: #ffffff;
  --docusaurus-highlighted-code-line-bg: rgba(0, 0, 0, 0.3);
  --ifm-background-color: #000000;
}

div[class^='announcementBar_'] {
  min-height: 2rem;
  background-color: #2b3336;
  color: white;
}

.menu__link {
  padding: 10px;
  padding-left: 16px;
  border-radius: 24px;
  margin-right: 16px;
}

.menu__list-item-collapsible {
  border-radius: 10px;
  margin-right: 16px;
  border-radius: 24px;
}

.menu__link--active {
  font-weight: 500;
}

/* workaround for version switcher PR 15894 */
div[class*='navbar__items'] > li:has(a[class*='version-switcher-34ab39']) {
  display: none;
}

code {
  font-weight: 600;
}
