@import url("https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.3/css/all.min.css");
@import url("https://fonts.googleapis.com/css2?family=Mulish:ital,wght@0,200..1000;1,200..1000&family=Roboto+Condensed:ital,wght@0,100..900;1,100..900&display=swap");
@import url("https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@400;700&display=swap");
:root {
  --color-yellow: #f8b22f;
  --color-yellow-light: #f9d91d;
  --color-yellow-dark: #c68600;
  --color-gray-light: #3d444d;
  --color-red-light: #a72b5a;
  --color-green-neon: #03dac5;
  --color-borders: #202020;
  --color-main-bg: #0f0f0f;
  --color-nav-item: #1c6c8d;
  --color-nav-item: #5c626a;
  --color-nav-item-hover: var(--color-yellow);
  --color-code: var(--color-green-neon);
  --color-link: #3e84e0;
  --color-red: #993232;
  --color-red-dark: #ee0000;
  --color-headers: #00ccc0;
  --color-dark-bg: #333;
  --color-text: #3a3a3a;
  --color-dark-text: #303030;
  --color-background: #fafafa;
  --color-table-header-background: #ededed;
  --color-code-background: #fff;
  --color-code-border-color: #dfdfdf;
  --color-invert-filter: none;
  --color-link-hover: #f2a71b;
  --color-link-menu-item: #8ab4f8;
  --color-social-email: #d14836;
  --color-social-whatsapp: #25d366;
  --color-social-stackoverflow: #f48024;
  --color-social-discord: #5865f2;
  --color-social-linkedin: #0072b1;
  --color-social-github: #f0f6fc;
  --color-social-star: #e3b341;
}

body {
  font-family: "Mulish", sans-serif;
  background-color: var(--color-main-bg);
}

[data-md-type=navigation] {
  font-family: "Roboto Condensed", sans-serif;
}

.logo1,
.logo2 {
  display: none;
}

@media screen and (min-width: 800px) {
  .logo1 {
    width: 182px;
    height: 50px;
    margin: 20px auto;
    display: block;
    position: fixed;
    right: 10px;
    bottom: 0px;
    background-image: url("https://raw.githubusercontent.com/nirgeier/labs-assets/main/assets/images/codeWizard.png");
    background-size: cover;
    background-position: center;
  }
  .logo2 {
    width: 180px;
    height: 60px;
    margin: auto 20px;
    display: block;
    position: fixed;
    left: 30px;
    bottom: 25px;
    background-image: url("https://upload.wikimedia.org/wikipedia/commons/thumb/1/1c/Elbit_Systems_logo.svg/2560px-Elbit_Systems_logo.svg.png");
    background-size: cover;
    background-position: center;
    border-radius: 5px;
  }
}
/* Remove focus-within styles globally */
*:focus-within {
  outline: none !important;
  box-shadow: none !important;
}

.md-typeset ol li,
.md-typeset ul li {
  margin: 0;
}

/* Change border color, width, and style for all notes */
.md-typeset .admonition.note,
.md-typeset details.note {
  border: 1px solid #0074d9; /* Change color and style as needed */
  border-radius: 8px; /* Optional: rounded corners */
  box-shadow: none; /* Optional: remove shadow */
}

.md-theme-light .md-typeset img,
.md-theme-light .md-typeset svg,
.md-theme-light .md-typeset video {
  border-radius: 10px;
}

.md-typeset h1 {
  font-size: 2em;
  line-height: 1.5;
  margin: 0px 0px 0em;
}

.md-typeset h2 {
  font-size: 1.5em;
  line-height: 1.5;
  margin: 0px 0px 0em;
}

.md-nav,
.md-typeset {
  font-size: 16px;
}

.md-typeset table {
  line-height: 0.25rem;
}

/* Force sidebar to be visible alongside tabs */
.md-sidebar {
  display: block !important;
  width: 15rem;
}

/* Make sure content area doesn't overlap */
.md-main__inner {
  display: grid;
  grid-template-columns: minmax(250px, 300px) 1fr;
}

.md-typeset a {
  color: var(--color-link);
}

.md-header {
  background-color: black;
}

img.height-64px {
  height: 64px;
  border-radius: 10px;
}

img.width-24px {
  width: 24px;
  vertical-align: middle;
}

.center, .lab-logo {
  display: block;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.lab-logo {
  width: 150px;
}

.border-radius-5 {
  border-radius: 5px;
}

.border-radius-6 {
  border-radius: 6px;
}

.border-radius-7 {
  border-radius: 7px;
}

.border-radius-8 {
  border-radius: 8px;
}

.border-radius-9 {
  border-radius: 9px;
}

.border-radius-10 {
  border-radius: 10px;
}

.border-radius-11 {
  border-radius: 11px;
}

.border-radius-12 {
  border-radius: 12px;
}

.border-radius-13 {
  border-radius: 13px;
}

.border-radius-14 {
  border-radius: 14px;
}

.border-radius-15 {
  border-radius: 15px;
}

.border-radius-16 {
  border-radius: 16px;
}

.border-radius-17 {
  border-radius: 17px;
}

.border-radius-18 {
  border-radius: 18px;
}

.border-radius-19 {
  border-radius: 19px;
}

.border-radius-20 {
  border-radius: 20px;
}

.border-radius-21 {
  border-radius: 21px;
}

.border-radius-22 {
  border-radius: 22px;
}

.border-radius-23 {
  border-radius: 23px;
}

.border-radius-24 {
  border-radius: 24px;
}

.border-radius-25 {
  border-radius: 25px;
}

.md-typeset .admonition.note,
.md-typeset details.note {
  border: 1px solid rgba(0, 0, 0, 0.1); /* Change color and style as needed */
  border-radius: 10px; /* Optional: rounded corners */
  box-shadow: 0 0 1px whitesmoke;
}

.md-typeset h1 {
  border-radius: 10px;
  color: #03dac5;
  margin: 0 -10px;
  padding: 0 10px;
}

.md-typeset h2 {
  padding-top: 0.5em;
  color: var(--color-yellow-light);
}

.md-typeset h3,
.md-typeset h4,
.md-typeset h5 {
  color: var(--color-yellow-light);
}

/* When URL contains 'api' */
body[data-path*="02"] .md-content {
  background-color: #f8f9fa;
  border-left: none;
}

.headline {
  color: var(--color-headers);
}

.white-text {
  color: #f7d078 !important;
}

.md-typeset table {
  line-height: 1.25em !important;
}

.md-typeset code,
.md-typeset kbd,
.md-typeset pre {
  color: var(--color-code);
  font-weight: bold;
}

.md-tabs {
  background-color: transparent !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.md-main__inner {
  margin-top: 0rem;
}

.md-content__inner {
  border-left: 0.05rem solid var(--color-borders);
  padding: 0 25px;
}

@media print {
  /*
   * --------------------------------------------------
   * Core Print Styles
   * --------------------------------------------------
   */
  /* Resetting theme colors for print to ensure black text on a white background */
  /* Define the page properties, such as size and margins */
  @page {
    size: A4 portrait;
    margin: 2.5cm;
    @top-center {
      /* Define a custom string for the document title */
      content: "GitHub Workshop Aug 2025 [Atera by Nir Geier]"; /* Simple string for the header */
      font-size: 12px;
      font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
      color: #777;
    }
    @bottom-center {
      /* Display "Page X of Y" in the footer */
      content: "@CodeWizard / CommitAI - Page " counter(page) " of " counter(pages);
      font-size: 12px;
      font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
      color: #777;
    }
  }
  /* Remove all empty pages */
  @page :blank {
    display: none;
  }
  /*
   * --------------------------------------------------
   * Enhancing Legibility
   * --------------------------------------------------
   */
  /* Set a readable font size and line height for the body text */
  body {
    font-size: 12pt;
    line-height: 1em;
    color: #000 !important;
  }
  /* Remove the display of URLs in parentheses after links */
  a:after {
    content: none;
  }
  /* Disable the color on links to keep them black for printing */
  a {
    color: #000 !important;
  }
  /* Ensure the main content takes up the full width of the page */
  .md-main__inner {
    max-width: none;
  }
  /* Make sure all content is visible and takes up the full width of the page. */
  .md-main {
    margin: 0;
    padding: 0;
  }
  /*
   * --------------------------------------------------
   * Managing Page Breaks
   * --------------------------------------------------
   */
  /* Prevent page breaks inside of code blocks, tables, and images to keep them together */
  .highlight,
  pre,
  table,
  img {
    -moz-column-break-inside: avoid;
         break-inside: avoid;
  }
  /* Remove page breaks before and after headers and sections */
  h1,
  h2,
  h3,
  h4,
  h5,
  h6,
  section {
    -moz-column-break-before: auto;
         break-before: auto;
    -moz-column-break-after: auto;
         break-after: auto;
  }
  emsp {
    padding: 0 5px 0 0;
  }
  /*
   * --------------------------------------------------
   * Hiding Non-Essential Elements
   * --------------------------------------------------
   */
  /* Hide the header, footer, navigation bars, and any interactive elements */
  .md-footer,
  .md-header,
  .md-nav,
  .md-search__form,
  .md-sidebar,
  .md-tabs,
  .md-top,
  header,
  nav {
    display: none !important;
  }
  .md-source-file nav {
    display: block !important;
  }
  /* Ensure main content takes full width in PDF */
  .md-content {
    margin: 0 !important;
    padding: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    box-shadow: none !important;
    font-size: 12px !important;
  }
  /* Optional: make links look like plain text */
  a {
    color: black;
    text-decoration: none;
  }
  .md-main__inner {
    display: block;
  }
}
.md-nav__item {
  color: var(--color-menu-item);
}

.md-nav--lifted > .md-nav__list > .md-nav__item--active > .md-nav__link {
  background: transparent;
  box-shadow: none;
}

.md-nav__link {
  padding: 0;
  margin-top: 0.35em;
  font-size: 0.7rem;
  color: var(--color-nav-item);
}

.md-nav__link[for]:focus,
.md-nav__link[href]:focus,
.md-nav--secondary .md-nav__link--active {
  color: var(--color-nav-item-hover);
}

.md-nav__link[for]:hover,
.md-nav__link[href]:hover {
  border-radius: 5px;
  color: var(--color-nav-item-hover);
  outline: solid 0.0625rem rgba(0, 0, 0, 0) !important;
}

/* Hide sidebar items that are not in the active tab */
.md-nav__list > .md-nav__item--nested:not(.md-nav__item--active) {
  display: none;
}

.m-social__top {
  white-space: nowrap;
  padding: 0 25px;
  text-align: center;
  line-height: 2.75em;
  vertical-align: middle;
  color: var(--color-code);
}

.md-header__source {
  color: var(--color-yellow);
}

.md-search__inner {
  border: 1px solid var(--color-gray-light);
  border-radius: 5px;
}

.social-class__email {
  color: var(--color-social-email);
}

.social-class__whatsapp {
  color: var(--color-social-whatsapp);
}

.social-class__stackoverflow {
  color: var(--color-social-stackoverflow);
}

.social-class__discord {
  color: var(--color-social-discord);
}

.social-class__linkedin {
  color: var(--color-social-linkedin);
}

.social-class__github,
.social-class__fork {
  color: var(--color-social-github);
}

.social-class__star {
  color: var(--color-social-star);
}

/*
 * --------------------------------------------------
 * GitHub Committers Avatar Styles
 * --------------------------------------------------
 */
/* Container for source file information */
.md-source-file {
  border-top: 1px solid rgba(0, 0, 0, 0.07);
  padding: 0.75rem 0;
  margin-top: 1.5rem;
}

/* Individual source file facts */
.md-source-file__fact {
  align-items: center;
  color: rgba(0, 0, 0, 0.54);
  font-size: 0.64rem;
  gap: 0.5rem;
  margin: 0.25rem 0;
  vertical-align: middle;
}

/* Navigation container for authors/committers */
.md-source-file__fact nav {
  align-items: center;
  gap: 0.25rem;
  flex-wrap: wrap;
}

/* Author avatar styling */
.md-typeset a.md-author img {
  border-radius: 50%;
  display: inline-block;
  height: 32px;
  width: 32px;
  overflow: hidden;
  transition: transform 0.2s ease;
}

.md-author:hover {
  transform: scale(1.1);
}

.md-author img {
  border-radius: 50%;
  height: 100%;
  width: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  border: 2px solid rgba(0, 0, 0, 0.1);
}

/* "More authors" indicator */
.md-author--more {
  background: rgba(0, 0, 0, 0.07);
  color: rgba(0, 0, 0, 0.54);
  font-size: 0.64rem;
  font-weight: 700;
  line-height: 1.6rem;
  text-align: center;
  text-decoration: none;
}

.md-author--more:hover {
  background: rgba(0, 0, 0, 0.12);
  color: rgba(0, 0, 0, 0.87);
}

/* Dark mode styles for committers */
.md-source-file {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.md-source-file__fact {
  color: rgba(255, 255, 255, 0.7);
}

.md-author img {
  border: 2px solid rgba(255, 255, 255, 0.12);
}

.md-author--more {
  background: rgba(255, 255, 255, 0.07);
  color: rgba(255, 255, 255, 0.54);
}

.md-author--more:hover {
  background: rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.87);
}

/* Large avatar variant for important pages */
.md-source-file--large .md-author {
  height: 2rem;
  width: 2rem;
}

/* Tooltip styles for author names */
.md-author[title]:hover::after {
  content: attr(title);
  position: absolute;
  background: rgba(0, 0, 0, 0.8);
  color: white;
  padding: 0.25rem 0.5rem;
  border-radius: 0.25rem;
  font-size: 0.7rem;
  white-space: nowrap;
  z-index: 1000;
  margin-top: 2rem;
  margin-left: -1rem;
}

.md-author[title]:hover::after {
  background: rgba(255, 255, 255, 0.9);
  color: black;
}

/* Responsive adjustments */
@media screen and (max-width: 768px) {
  .md-source-file__fact {
    font-size: 0.6rem;
  }
  .md-author {
    height: 1.4rem;
    width: 1.4rem;
  }
  .md-source-file--large .md-author {
    height: 1.8rem;
    width: 1.8rem;
  }
}