/**
 * 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.
 */

/* You can override the default Infima variables here. */
:root {
  --ifm-color-primary: #ff6a7b;
  --ifm-color-primary-dark: #e85968;
  --ifm-color-primary-darker: #d14d5b;
  --ifm-color-primary-darkest: #b43e4b;
  --ifm-color-primary-light: #ff8593;
  --ifm-color-primary-lighter: #ffa1ac;
  --ifm-color-primary-lightest: #ffdbd8;
  --ifm-code-font-size: 95%;
  --docusaurus-highlighted-code-line-bg: rgba(0, 0, 0, 0.1);

  --shadow-light: rgba(0, 0, 0, 0.04);
  --shadow-medium: rgba(0, 0, 0, 0.1);
  --shadow-dark: rgba(0, 0, 0, 0.3);

  /* Typography Scale */
  --font-size-h1: 2rem; /* 32px - Page titles */
  --font-size-h2: 1.5rem; /* 24px - Section titles */
  --font-size-h3: 1.125rem; /* 18px - Subsection titles */
  --font-size-h4: 1rem; /* 16px - Minor titles */
  --font-size-large: 1.125rem; /* 18px - Large body text */
  --font-size-body: 0.95rem; /* 15px - Regular body text */
  --font-size-small: 0.875rem; /* 14px - Small text */
  --font-size-caption: 0.8rem; /* 13px - Captions, code */

  /* Spacing Scale */
  --spacing-xs: 0.25rem; /* 4px */
  --spacing-sm: 0.5rem; /* 8px */
  --spacing-md: 0.75rem; /* 12px */
  --spacing-lg: 1rem; /* 16px */
  --spacing-xl: 1.5rem; /* 24px */
  --spacing-2xl: 2rem; /* 32px */
  --spacing-3xl: 3rem; /* 48px */
  --spacing-4xl: 4rem; /* 64px */

  /* Border Radius Scale */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
}

/* For readability concerns, you should choose a lighter palette in dark mode. */
[data-theme="dark"] {
  --ifm-color-primary: #fcd1c3;
  --ifm-color-primary-dark: #fab2a0;
  --ifm-color-primary-darker: #f99783;
  --ifm-color-primary-darkest: #f7785e;
  --ifm-color-primary-light: #fee7e0;
  --ifm-color-primary-lighter: #ffede7;
  --ifm-color-primary-lightest: #ffebc2;
  --docusaurus-highlighted-code-line-bg: rgba(0, 0, 0, 0.3);
}

/* Page title customization */
h1 {
  font-size: var(--font-size-h1);
}

h2 {
  font-size: var(--font-size-h2);
}

h3 {
  font-size: var(--font-size-h3);
}

h4 {
  font-size: var(--font-size-h4);
}

/* Footer */
.footer {
  background-color: var(--ifm-background-color);
  position: relative;
  padding-top: 3rem;
}

.footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: min(1000px, 100vw);
  height: 1px;
  background: var(--ifm-color-emphasis-200);
}

.footer .container {
  max-width: 900px;
  margin: 0 auto;
}

.footer-copyright {
  display: flex;
  flex-direction: column-reverse;
  padding-top: 0.75rem;
}

.footer-copyright-content {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ifm-color-emphasis-600);
}

.footer-copyright-flag {
  margin-left: 0.5rem;
  height: 1em;
  display: inline-block;
  vertical-align: text-bottom;
}

/* Sidebar Method labels */
.api-method > .menu__link {
  align-items: center;
  justify-content: start;
}

.api-method > .menu__link::before {
  width: 50px;
  height: 20px;
  font-size: 12px;
  line-height: 20px;
  text-transform: uppercase;
  font-weight: 600;
  border-radius: 0.25rem;
  border: 1px solid;
  margin-right: var(--ifm-spacing-horizontal);
  text-align: center;
  flex-shrink: 0;
  border-color: transparent;
  color: var(--ifm-color-white);
}

.get > .menu__link::before {
  content: "get";
  background-color: var(--ifm-color-primary);
}

.put > .menu__link::before {
  content: "put";
  background-color: var(--openapi-code-blue);
}

.post > .menu__link::before {
  content: "post";
  background-color: var(--openapi-code-green);
}

.delete > .menu__link::before {
  content: "delete";
  background-color: var(--openapi-code-red);
}

.patch > .menu__link::before {
  content: "patch";
  background-color: var(--openapi-code-orange);
}

/* Mobile Footer */
@media (max-width: 768px) {
  .footer {
    padding-top: var(--spacing-xl);
  }

  .footer__links {
    margin-bottom: 0rem;
  }

  .footer-copyright {
    padding-top: 0rem;
  }
}
