@import url("../../assets/fonts.css");
@import url("fontawesome/css/fontawesome.min.css");
@import url("fontawesome/css/solid.min.css");
@import url("fontawesome/css/brands.min.css");

@font-face {
  font-family: JuliaMono;
  font-weight: 400;
  font-display: block;
  src: url("juliamono/JuliaMono-Regular.woff2") format("woff2");
}

@font-face {
  font-family: JuliaMono;
  font-weight: 700;
  font-display: block;
  src: url("juliamono/JuliaMono-Bold.woff2") format("woff2");
}

#documenter {
  font-family: Lato;
  font-synthesis: none;
}

article {
  max-width: 45em;
}

#documenter-page > h1 {
  position: relative;
}

#documenter-page > h1 .docs-heading-anchor-permalink {
  position: absolute;
}

#documenter #documenter-page > :is(p, ul) {
  max-width: none;
}

#documenter-page :is(p, li) a[href] {
  text-decoration: underline;
  text-underline-offset: .15em;
}

html[class*="theme--catppuccin-"] #documenter .docs-sidebar #documenter-search-query {
  color: inherit;
}

.theme--catppuccin-latte :is(#documenter-page :is(p, li), .docs-footer) a[href] {
  color: #1a5cdd;
}

:is(.theme--catppuccin-latte, .theme--catppuccin-frappe) #search-modal .search-result-link {
  color: inherit;
}

:is(.theme--documenter-light, .theme--catppuccin-latte) #search-modal .property-search-result-badge {
  background-color: #50596b !important;
  color: #fff !important;
}

.theme--catppuccin-latte #search-modal .search-result-highlight { color: #fff; }

.docs-dialog {
  border: 0;
  padding: 0;
  overflow: visible;
  background: transparent;
  color: inherit;
}

.docs-dialog::backdrop { background: transparent; }

#documenter-page > h1 + p:last-child {
  margin-bottom: 1em;
}

#documenter #documenter-page + .docs-footer {
  border-top: 0;
}
