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

 * Here, you should put any CSS that concerns auto-generated by Docusaurus content. If you're coding new or override content, create a new stylesheet with the page or component.
 */

/* You can override the default Infima variables here. */
:root {
  --ifm-code-font-size: 95%;
  --docusaurus-highlighted-code-line-bg: rgba(0, 0, 0, 0.1);
  /* ==== COLORS ==== */
  --coollab-gradient: linear-gradient(
    90deg,
    #f4ad7f 0%,
    #8656d7 50%,
    #30a7f5 100%
  );
  --coollab-gradient-vertical: linear-gradient(
    180deg,
    #f4ad7f 0%,
    #8656d7 50%,
    #30a7f5 100%
  );
  --coollab-gradient-reverse: linear-gradient(
    90deg,
    #30a7f5 0%,
    #8656d7 50%,
    #f4ad7f 100%
  );
  --coollab-primary-color: #27272a;
  --coollab-secondary-color: #1b1b1d;
  --coollab-light-color: #ffff;
  --coollab-accent-color: #30a7f5;
  /* ==== FONTS ==== */
  --font-title: "League Spartan", sans-serif;
  --font-body: "Roboto", sans-serif;
  /* ==== RADIUS ==== */
  --radius-mid: 10px;
  --radius-max: 25px;
}

/* For readability concerns, you should choose a lighter palette in dark mode. */
[data-theme="dark"] {
  --ifm-color-primary: #25c2a0;
  --ifm-color-primary-dark: #21af90;
  --ifm-color-primary-darker: #1fa588;
  --ifm-color-primary-darkest: #1a8870;
  --ifm-color-primary-light: #29d5b0;
  --ifm-color-primary-lighter: #32d8b4;
  --ifm-color-primary-lightest: #4fddbf;
  --docusaurus-highlighted-code-line-bg: rgba(0, 0, 0, 0.3);
}
.gradient-text {
  background: linear-gradient(90deg, #f4ad7f 0%, #8656d7 50%, #30a7f5 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
}

html,
body {
  font-family: var(--font-body);
  background-color: var(--coollab-primary-color);
  box-sizing: border-box;
  max-width: 100%;
}

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

a {
  color: var(--coollab-accent-color);
}

a:hover {
  color: #30a7f5;
}

/* === Navbar === */
/* The navbar is auto-generated by Docusauraus. 
To get its classes, inspect or check Docusaurus Documentation.*/
.navbar {
  position: fixed;
  top: 25px;
  left: 50%;
  transform: translateX(-50%);
  width: 95%;
  background-color: rgba(27, 27, 29, 0.3);
  border-radius: var(--radius-max);
  box-shadow: none;
  z-index: 999;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 0 2rem;
  transition: background-color 5s ease;
}

.navbar__items {
  gap: 25px;
}

.navbar__brand {
  margin-left: 0;
}

.navbar__items--right > [class^="searchBox_"],
.navbar__items--right > .navbar__search {
  display: none !important;
  width: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
}

.navbar__items--right {
  gap: 0.6rem;
  padding-right: 0 !important;
  margin-right: 0 !important;
}

.navbar__link {
  color: var(--coollab-light-color);
  font-weight: bold;
  letter-spacing: 1px;
  font-size: 16px;
  letter-spacing: 10%;
  padding: 0.3em 1.6em;
  transition: 0.2s ease-in;
}

.navbar__link:hover {
  color: var(--coollab-light-color);
  background-color: rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-max);
}

/* Navbar Download Button */
.navbar__items--right .navbar__link[href="/Download"] {
  margin-right: 0 !important;
}

.navbar__link[href="/Download"] {
  background: var(--coollab-gradient);
  border-radius: var(--radius-mid);
}

.navbar__link[href="/Download"]:hover {
  border-radius: var(--radius-max);
  filter: brightness(120%);
}

.navbar__link[href="/Download"].navbar__link--active {
  border-radius: var(--radius-max);
  filter: brightness(120%);
}

.navbar--scrolled {
  background-color: rgba(27, 27, 29, 0.6);
  transition: background-color 2s ease;
}

.navbar__link--active {
  color: var(--coollab-light-color);
  background-color: rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-max);
}

/* Navbar Social Buttons */
.navbar-socials {
  display: flex;
  gap: 0.6rem;
  align-items: center;
  margin-right: 0.25rem;
}

.navbar .iconBtn {
  width: 34px;
  height: 34px;
  border-radius: var(--radius-max);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: white;
  background: rgba(255, 255, 255, 0.06);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: 0.2s ease;
}

.navbar .iconBtn:hover {
  filter: brightness(1.15);
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.12);
}

.navbar-socials .iconBtn svg {
  transform: translateZ(0);
  will-change: transform;
}

/* Footer */
.footer,
.footer-dark {
  background-color: var(--coollab-secondary-color);
}

.footer__col {
  text-align: center;
}

.footer__links {
  margin-bottom: 0;
}

.footer__title {
  margin-bottom: 0;
}

.footer__copyright {
  font-size: 12px;
}

.image-in-text {
  width: 20px;
  vertical-align: middle;
}

/* Docu */
div[class*="docPage"] {
  padding-top: 6em;
}

.breadcrumbs__item--active .breadcrumbs__link {
  color: var(--coollab-light-color);
  font-weight: bold;
  letter-spacing: 10%;
}

aside {
  background-color: rgba(27, 27, 29, 0.3);
}

.menu__link:active,
.menu__link--active {
  color: var(--coollab-light-color) !important;
  font-weight: bold;
}

.menu__link:hover,
.menu__link--active {
  border-radius: var(--radius-mid);
  background-color: rgba(255, 255, 255, 0.14) !important;
}

.pagination-nav__link {
  border-radius: var(--radius-mid);
  border: 1px solid rgba(255, 255, 255, 0.14);
  transition: 0.2s ease-in;
}

.pagination-nav__link:hover {
  border: 1px solid rgba(255, 255, 255, 0.14);
  background-color: rgba(255, 255, 255, 0.14);
}

.sidebar_node_modules-\@docusaurus-theme-classic-lib-theme-DocSidebar-Desktop-styles-module {
  padding-top: 5rem !important;
}

/* move-title-anchor-to-the-left */

.move-title-anchor-to-the-left .anchor {
  display: flex;
  flex-direction: row-reverse;
}

.move-title-anchor-to-the-left .anchor a {
  padding-right: 8px;
  padding-left: 0;
}

/* Images in markdown tutorials */
.markdown img {
  border-radius: var(--radius-mid);
  overflow: hidden;
}

/* === Responsive === */
@media (max-width: 768px) {
  .navbar {
    top: 0;
    left: 0;
    position: fixed;
    transform: none;
    width: auto;
    margin: 1em 0 0 1em;
    height: 15vw;
    background-color: rgba(27, 27, 29, 0.3);
    border-radius: var(--radius-max);
    box-shadow: none;
    z-index: 999;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
  }

  .navbar__items--right {
    display: none !important;
  }

  .navbar-sidebar__backdrop {
    display: none;
  }

  .navbar-sidebar {
    position: fixed;
    top: 0;
    right: 0;
    height: 110vh;
    width: 82vw;
    max-width: 380px;
    background: rgba(27, 27, 29, 0.9);
    color: var(--coollab-light-color);
    box-shadow: -8px 0 24px rgba(0, 0, 0, 0.45);
    backdrop-filter: blur(22px);
    -webkit-backdrop-filter: blur(22px);
    border-top-right-radius: var(--radius-max);
    border-bottom-right-radius: var(--radius-max);
    z-index: 10000;
    margin: -1em 0 0 -1em;
  }

  .navbar-sidebar__brand {
    padding: 1rem 1.25rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  }

  .navbar-sidebar__items .menu {
    padding: 0.75rem 0.75rem 1rem;
  }

  .navbar.navbar-sidebar--show .navbar__inner {
    display: none !important;
  }

  .navbar.navbar-sidebar--show {
    background: transparent !important;
    box-shadow: none !important;
  }

  .navbar.navbar-sidebar--show ~ .navbar-sidebar__backdrop {
    display: block !important;
    background: rgba(0, 0, 0, 0.45);
  }
  .navbar--hide {
    transform: none !important;
  }

  .navbar {
    min-height: 15vw;
  }

  .navbar,
  .navbar--scrolled {
    transition: none !important;
  }

  .menu__list {
    gap: 0.25rem;
  }

  .menu__list-item {
    list-style: none;
  }

  .menu__link {
    display: block;
    color: var(--coollab-light-color) !important;
    padding: 0.9rem 1rem;
    border-radius: var(--radius-max);
  }

  .menu__link:hover,
  .menu__link--active {
    background: rgba(255, 255, 255, 0.12) !important;
    color: var(--coollab-light-color) !important;
  }

  .navbar-sidebar .navbar-socials {
    display: flex;
    gap: 0.7rem;
    padding: 1rem 1.25rem 1.25rem;
    border-top: 1px solid rgba(255, 255, 255, 0.14);
    margin-top: 0.5rem;
  }

  .navbar-sidebar .iconBtn {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-max);
    border: 1px solid rgba(255, 255, 255, 0.18);
    background: rgba(255, 255, 255, 0.08);
    color: white;
  }

  .navbar-sidebar .iconBtn:hover {
    background: rgba(255, 255, 255, 0.14);
    filter: brightness(1.1);
    transform: translateY(-1px);
  }
  .navbar__toggle svg path {
    stroke-width: 3 !important;
  }
}
