@font-face {
  font-family: 'Nunito';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url('../../fonts/nunito/nunito-variable.ttf') format('truetype');
}

funify-brand {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 2px;
  vertical-align: middle;
  white-space: nowrap;
}

:root :is(.landing-brand, .site-header .brand, .publication-brand) {
  width: auto;
  height: auto;
  color: inherit;
  text-decoration: none;
}

:root :is(.landing-brand, .site-header .brand, .publication-brand) .brand-icon {
  display: block;
  flex: 0 0 36px;
  width: 36px;
  height: 36px;
  object-fit: contain;
  transform: translateY(-4px);
}

:root :is(.landing-brand, .site-header .brand, .publication-brand) .brand-name {
  display: block;
  color: inherit;
  font-family: 'Nunito', sans-serif;
  font-size: 23px;
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: -1px;
}

:root :is(.landing-brand, .site-header .brand, .publication-brand) .brand-accent {
  color: #2563eb;
}

@media (max-width: 560px) {
  :root :is(.landing-brand, .site-header .brand, .publication-brand) .brand-icon {
    flex-basis: 32px;
    width: 32px;
    height: 32px;
  }

  :root :is(.landing-brand, .site-header .brand, .publication-brand) .brand-name {
    font-size: 22px;
  }
}
