@charset "UTF-8";
/* Shared by the home page and /manteniment: colours, links, the logo and the
   light / dark / auto switch (inc/common.php, js/theme.js). */
* { margin:0; padding:0; }
/* Colours, light and dark. The dark set applies when the visitor picks it
   (data-theme="dark", from the theme switch) or, on "auto", when the system
   is dark. The dark values are written twice because CSS cannot share one
   block between a media query and an attribute selector. --line draws rules
   between rows; --gtext is the green for text, darker on white to stay
   readable (5:1). */
:root { --bg:#fff; --text:#333; --ink:#000; --box:#ebebeb; --muted:#9a9a9a; --btn:#333; --sign:#000; --sign-open:#2fe14b; --line:#d9d9d9; --gtext:#0f7a20; color-scheme:light dark; }
:root[data-theme="light"] { color-scheme:light; }
:root[data-theme="dark"] { --bg:#000; --text:#cfcfcf; --ink:#fff; --box:#1c1c1c; --muted:#8a8a8a; --btn:#000; --sign:#2fe14b; --sign-open:#fff; --line:#333; --gtext:#2fe14b; color-scheme:dark; }
@media (prefers-color-scheme: dark) {
	:root:not([data-theme="light"]) { --bg:#000; --text:#cfcfcf; --ink:#fff; --box:#1c1c1c; --muted:#8a8a8a; --btn:#000; --sign:#2fe14b; --sign-open:#fff; --line:#333; --gtext:#2fe14b; }
}
/* Box model and line height the page was laid out with under Bootstrap 3 (dropped 10N26). */
*, *::before, *::after { box-sizing:border-box; }
body,html{ position: relative;width:100%;height:100%;margin:0;padding: 0; font-family:'Montserrat',sans-serif;  font-size:18px; line-height:1.42857143; color:var(--text); background:var(--bg);  }

/* Links everywhere: normal weight, thin underline, highlighted on hover. */
a,a:active,a:visited { color:var(--ink); font-weight:normal; text-decoration:underline; text-decoration-thickness:1px; text-underline-offset:3px; padding:2px; transition: background-color .25s ease; }
a:hover { color:black; background-color:#18f026; }

strong { color:var(--ink); }

p { margin:10px 0; }
img { width:100%; vertical-align:middle; border:0; }

/* The inline logo: letters in the text colour, the cursor blinking like a
   terminal's, holding still while the visitor moves (js/theme.js). */
.logo { display:block; width:100%; height:auto; color:var(--ink); }
@keyframes cursor-blink { 50% { opacity:0; } }
.logo-cursor { animation: cursor-blink 1.1s steps(1) infinite; }
.is-active .logo-cursor { animation:none; }

.lang { text-align:center; margin-top:25px; padding:0; font-size:14px; }
.lang li { display:inline; }
.lang li a { font-weight:normal; }

/* One three-position switch: a rounded track holding the three options, with a thumb that slides to the chosen one. */
.theme-switch { display:flex; justify-content:center; gap:0; width:max-content; margin:8px auto 0; padding:2px; border-radius:6px; background:var(--box); }
.theme-switch button { background:none; border:0; padding:4px 7px; font-size:14px; line-height:1; color:var(--muted); cursor:pointer; border-radius:4px; transition: color .25s ease; }
.theme-switch button:hover { color:var(--ink); }
.theme-switch button[aria-checked="true"] { color:var(--ink); }
/* The selected option's background slides between the options. */
.theme-switch { position:relative; }
.theme-switch button { position:relative; z-index:1; }
.theme-switch .theme-bg { position:absolute; top:0; left:0; width:0; height:0; border-radius:4px; background:var(--bg); box-shadow:0 1px 3px rgba(0,0,0,.25); }
.theme-switch button:focus { outline:none; }
/* Theme change: the new page spreads in a circle from the clicked button over
   a snapshot of the old one (View Transitions; the circle is animated in
   js/theme.js), so no element runs its own colour transition. The switch is
   left out and shows live, so its thumb is seen sliding. */
::view-transition-old(root), ::view-transition-new(root) { animation:none; mix-blend-mode:normal; }
.theme-switch { view-transition-name:theme-switch; }
::view-transition-old(theme-switch) { display:none; }
::view-transition-new(theme-switch) { animation:none; }
.theme-switch button:focus-visible { outline:2px solid #2fe14b; outline-offset:1px; }
