/* Managed by application-forgejo.yml: the GÉANT theme (branding guidelines 2026, as PanES3 and
   its Nextcloud): Forgejo's light theme with GÉANT's core colours, Nunito, the brand circles in
   the background and the GÉANT logo top left (unchanged, height only, on white). */
@import "./theme-forgejo-light.css";

@font-face { font-family: "Nunito"; font-style: normal; font-weight: 200 1000; font-display: swap;
             src: url("../fonts/nunito-latin.woff2") format("woff2");
             unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
               U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
               U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Nunito"; font-style: normal; font-weight: 200 1000; font-display: swap;
             src: url("../fonts/nunito-latin-ext.woff2") format("woff2");
             unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF,
               U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113; }

:root {
  --geant-blue: #2E307C; --geant-teal: #50949C; --geant-yellow: #F3C25C;
  --geant-support-blue: #535DA9; --geant-magenta: #C63E96; --geant-grey: #D2D2D2;

  --fonts-proportional: "Nunito", -apple-system, "Segoe UI", system-ui, Roboto, "Helvetica Neue", Arial;

  /* Forgejo's orange -> GÉANT blue (darker/lighter steps of it; light-1 is the support blue). */
  --color-primary: #2E307C;
  --color-primary-contrast: #ffffff;
  --color-primary-dark-1: #292B70;
  --color-primary-dark-2: #252663;
  --color-primary-dark-3: #202257;
  --color-primary-dark-4: #1C1D4A;
  --color-primary-dark-5: #17183E;
  --color-primary-dark-6: #121331;
  --color-primary-dark-7: #0E0E25;
  --color-primary-light-1: #535DA9;
  --color-primary-light-2: #6D75B7;
  --color-primary-light-3: #8C92C8;
  --color-primary-light-4: #AEB2DA;
  --color-primary-light-5: #CDD0E8;
  --color-primary-light-6: #E4E5F3;
  --color-primary-light-7: #F3F3FA;
  --color-primary-alpha-10: #2E307C19;
  --color-primary-alpha-20: #2E307C33;
  --color-primary-alpha-30: #2E307C4B;
  --color-primary-alpha-40: #2E307C66;
  --color-primary-alpha-50: #2E307C80;
  --color-primary-alpha-60: #2E307C99;
  --color-primary-alpha-70: #2E307CB3;
  --color-primary-alpha-80: #2E307CCC;
  --color-primary-alpha-90: #2E307CE1;
  --color-accent: var(--geant-teal);

  /* White header and footer, as the GÉANT pages. */
  --color-nav-bg: #ffffff;
  --color-nav-hover-bg: #EEEEF6;
  --color-footer: #ffffff;
}

/* The brand circles (branding/geant/background.png), fixed behind the page. */
body {
  background: #ffffff url("../img/geant-background.png") center / cover no-repeat fixed;
}

/* Header: white with a teal line; the GÉANT logo top left, then "| code". */
#navbar {
  border-bottom: 3px solid var(--geant-teal);
  min-height: 60px;
}
#navbar-logo img {
  width: auto;
  height: 32px;
}
#navbar-logo::after {
  content: "code";
  margin-left: 0.8rem;
  padding-left: 0.8rem;
  border-left: 1px solid var(--geant-grey);
  color: var(--geant-blue);
  font-weight: 800;
  font-size: 1.2rem;
  line-height: 32px;
}
