/* THEME 6 NEO BRUTALISM */

@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;600&display=swap');

:root {
  --ebtb5-topbar-height: 44px;
  --ebtb5-topbar-font-size: 0.8125rem;
  --ebtb5-topbar-font-weight: 500;
  --ebtb5-topbar-letter-spacing: 0;
  --ebtb5-topbar-font-family: 'Space Grotesk', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  --ebtb5-topbar-bg: #ffffff;
  --ebtb5-topbar-border-color: #000000;
  --ebtb5-topbar-border-width: 0 0 2px 0;

  --ebtb5-topbar-text-color: #000000;
  --ebtb5-topbar-link-color: #000000;
  --ebtb5-topbar-link-hover: #ffffff;
  --ebtb5-topbar-icon-color: #000000;
  --ebtb5-topbar-icon-hover: #ffffff;

  --ebtb5-topbar-sep-color: #000000;
  --ebtb5-topbar-sep-size: 4px;
  --ebtb5-topbar-divider-color: #000000;
  --ebtb5-topbar-divider-width: 2px;

  --ebtb5-topbar-gap: 1.25rem;
  --ebtb5-topbar-item-gap: 0.75rem;
  --ebtb5-topbar-icon-gap: 0.875rem;
  --ebtb5-topbar-padding-x: 1.5rem;

  --ebtb5-topbar-radius: 0;
  --ebtb5-topbar-transition: 150ms ease;
  --ebtb5-topbar-line-height: 1;
  --ebtb5-topbar-inner-max-width: 1280px;
  --ebtb5-topbar-inner-margin: 0 auto;
  --ebtb5-topbar-inner-padding: 0 var(--ebtb5-topbar-padding-x);
  --ebtb5-topbar-inner-height: 100%;
  --ebtb5-topbar-content-height: 100%;
  --ebtb5-topbar-link-gap: 0.375rem;
  --ebtb5-topbar-icon-shrink: 0;
  --ebtb5-topbar-sep-shrink: 0;
  --ebtb5-topbar-divider-height: 14px;
  --ebtb5-topbar-divider-shrink: 0;
  --ebtb5-topbar-link-padding: 0.25rem 0.375rem;
  --ebtb5-topbar-link-margin: -0.25rem -0.375rem;
  --ebtb5-topbar-link-hover-bg: #000000;
  --ebtb5-topbar-icon-padding: 0.25rem;
  --ebtb5-topbar-icon-margin: -0.25rem;
  --ebtb5-topbar-icon-hover-bg: #000000;
}

.ebtb5-topbar {

  height: var(--ebtb5-topbar-height);
  background: var(--ebtb5-topbar-bg);
  border: var(--ebtb5-topbar-border-width) solid var(--ebtb5-topbar-border-color);
  font-family: var(--ebtb5-topbar-font-family);
  font-size: var(--ebtb5-topbar-font-size);
  font-weight: var(--ebtb5-topbar-font-weight);
  letter-spacing: var(--ebtb5-topbar-letter-spacing);
  color: var(--ebtb5-topbar-text-color);
  line-height: var(--ebtb5-topbar-line-height);
}

.ebtb5-topbar-inner {
  max-width: var(--ebtb5-topbar-inner-max-width);
  margin: var(--ebtb5-topbar-inner-margin);
  padding: var(--ebtb5-topbar-inner-padding);
  height: var(--ebtb5-topbar-inner-height);
}

.ebtb5-topbar-content {
  display: flex;
  align-items: center;
  justify-content: center;
  height: var(--ebtb5-topbar-content-height);
  gap: var(--ebtb5-topbar-gap);
}

.ebtb5-topbar-group {
  display: flex;
  align-items: center;
  gap: var(--ebtb5-topbar-item-gap);
}

.ebtb5-topbar-link {
  display: inline-flex;
  align-items: center;
  gap: var(--ebtb5-topbar-link-gap);
  color: var(--ebtb5-topbar-link-color);
  text-decoration: none;
  transition: color var(--ebtb5-topbar-transition), background var(--ebtb5-topbar-transition);
  white-space: nowrap;
  padding: var(--ebtb5-topbar-link-padding);
  margin: var(--ebtb5-topbar-link-margin);
}

.ebtb5-topbar-link:hover {
  color: var(--ebtb5-topbar-link-hover);
  background: var(--ebtb5-topbar-link-hover-bg);
}

.ebtb5-icon {
  flex-shrink: var(--ebtb5-topbar-icon-shrink);
  display: block;
}

.ebtb5-sep {
  display: block;
  width: var(--ebtb5-topbar-sep-size);
  height: var(--ebtb5-topbar-sep-size);
  background: var(--ebtb5-topbar-sep-color);
  flex-shrink: var(--ebtb5-topbar-sep-shrink);
}

.ebtb5-divider {
  display: block;
  width: var(--ebtb5-topbar-divider-width);
  height: var(--ebtb5-topbar-divider-height);
  background: var(--ebtb5-topbar-divider-color);
  flex-shrink: var(--ebtb5-topbar-divider-shrink);
}

.ebtb5-topbar-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--ebtb5-topbar-icon-color);
  text-decoration: none;
  transition: color var(--ebtb5-topbar-transition), background var(--ebtb5-topbar-transition);
  padding: var(--ebtb5-topbar-icon-padding);
  margin: var(--ebtb5-topbar-icon-margin);
}

.ebtb5-topbar-icon:hover {
  color: var(--ebtb5-topbar-icon-hover);
  background: var(--ebtb5-topbar-icon-hover-bg);
}

@media (max-width: 640px) {
  :root {
    --ebtb5-topbar-gap: 0.75rem;
    --ebtb5-topbar-item-gap: 0.5rem;
    --ebtb5-topbar-icon-gap: 0.625rem;
    --ebtb5-topbar-padding-x: 1rem;
    --ebtb5-topbar-font-size: 0.75rem;
  }

  .ebtb5-topbar-content {
    flex-wrap: wrap;
  }
}

@media (max-width: 400px) {
  .ebtb5-topbar-link span {
    display: none;
  }
}
