@import url('https://fonts.googleapis.com/css2?family=Nunito&display=swap');
body {font-family: 'Nunito', sans-serif;}

::-webkit-scrollbar{height:10px;width:10px}::-webkit-scrollbar-track{background:#efefef;border-radius:6px}::-webkit-scrollbar-thumb{background:#d5d5d5;border-radius:6px}::-webkit-scrollbar-thumb:hover{background:#c4c4c4}

/* a {
    color: inherit;
}

a:hover,
a:focus {
    color: inherit;
} */

/* Browser soll NICHT automatisch Farben manipulieren */
:root {
  color-scheme: light;
}

/* Wenn wir explizit Dark setzen, erlauben wir es */
html[data-theme="dark"] {
  color-scheme: dark;
}


:root {
  --my-navbar-active: hsl(209.72974, 100%, 44%);
}

.navbar-item.is-active {
  background-color: var(--my-navbar-active);
  color: #fff;
}

.navbar-item.is-active:hover {
  background-color: var(--my-navbar-active);
  color: #fff;
}

/* Desktop */
@media (min-width: 1024px) {
  .navbar-end .navbar-item {
    margin-left: 0.5rem;
  }

  .hero-body {
    margin-top: 0rem;
  }
}

/* Mobile */
@media (max-width: 1023px) {
  .navbar-menu {
    padding-right: 0.75rem;
    padding-left: 0.75rem;
    padding-bottom: 0.25rem;
    padding-top: 0rem;
  }

  .navbar-menu .navbar-item {
    margin-bottom: 0.5rem;
  }

  .navbar-burger {
    margin-inline-end: 0rem;
  }

  .navbar-brand {
    padding: 0.75rem;
  }
}

/* Optik */
.navbar-item {
  border-radius: 6px;
}

.logo-picture, .logo-img {
  display: block;
  line-height: 0; /* verhindert extra whitespace */
}

.logo-img {
  width: auto;        /* oder: width: 160px; */
  height: 40px;       /* feste Höhe verhindert Layout‑Shift */
  max-width: 100%;
  object-fit: contain; /* skaliert sauber, ohne Verzerrung */
  vertical-align: middle;
}

/* moderner: reserviere Platz per aspect-ratio statt width/height */
.logo-img.aspect {
  width: auto;
  aspect-ratio: 4 / 1;
  height: auto;
}

:root {
    --bulma-link-h:209.72974deg;
    --bulma-link-s:100%;
    --bulma-link-l:44%;
}


html, body {
  height: 100%;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.hero {
  flex-grow: 1;
}

/* Variablen für Light Mode */
:root {
  --logo-light: url("https://floh.codeberg.page/triangel/website/images/logo-light.svg");
  --logo-dark: url("https://floh.codeberg.page/triangel/website/images/logo-dark.svg");
}

/* Logo */
.logo-img {
  display: block;
  content: var(--logo-light);
}

/* Default (Light) */
.navbar-burger {
  background-color: hsla(0,0%,0%,0.1);
}
.navbar-burger span {
  background-color: #000;
}

html[data-theme="light"] .navbar-burger span {
  background: #000;
}

html[data-theme="dark"] .navbar-burger span {
  background: #fff;
}

html[data-theme="light"] .bulma-logo {
  content: url("https://floh.codeberg.page/triangel/website/images/bulma.png");
}

html[data-theme="dark"] .bulma-logo {
  content: url("https://floh.codeberg.page/triangel/website/images/bulma-dark.png");
}

html[data-theme="light"] .logo-img {
  content: var(--logo-light);
}

html[data-theme="dark"] .logo-img{
  content: var(--logo-dark);
}

html[data-theme="light"] .responsive-image {
  max-width: 690px;
  width: 100%;
  height: auto; 
  content: url("https://floh.codeberg.page/triangel/website/images/triangel-1-light.png");
}

html[data-theme="dark"] .responsive-image {
  max-width: 690px;
  width: 100%;
  height: auto; 
  content: url("https://floh.codeberg.page/triangel/website/images/triangel-1-dark.png");
}

