/* DA du site margotanquezbariseau.com (src/styles/reglages.css), passée en Adelphe Floréal.
   Licence CUTE : créditer Eugénie Bidaut + lien vers la typothèque (fait en pied de page). */
@font-face { font-family: "Adelphe Floreal"; src: url("fonts/Adelphe-FlorealRegular.woff") format("woff"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Adelphe Floreal"; src: url("fonts/Adelphe-FlorealItalic.woff") format("woff"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Adelphe Floreal"; src: url("fonts/Adelphe-FlorealSemiBold.woff") format("woff"); font-weight: 600; font-style: normal; font-display: swap; }

:root {
  --font: "Adelphe Floreal", Georgia, serif;
  --color-bg: #ffffff;
  --color-fg: #111111;
  --color-muted: #6a6a6a;
  --color-rule: #d8d8d8;
  --color-selection: #d72638;
  --survol: #fafafa;
  --caps-taille: 11px;
  --caps-espacement: 0.12em;
  --menu-taille: 12px;
  --menu-espacement: 0.08em;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; background: var(--color-bg); color: var(--color-fg);
  font-family: var(--font); font-size: 15px; line-height: 1.55;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
::selection { background: var(--color-selection); color: #fff; }
a { color: inherit; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--color-selection); }
.caps { font-size: var(--caps-taille); letter-spacing: var(--caps-espacement); text-transform: uppercase; }

/* Page de connexion */
body.login { min-height: 100vh; display: flex; align-items: center; justify-content: center; }
body.login form { width: 280px; display: flex; flex-direction: column; gap: 14px; }
body.login p { margin: 0; }
body.login input { font: inherit; font-size: 16px; border: 0; border-bottom: 1px solid var(--color-fg); padding: 8px 0; outline: none; border-radius: 0; background: none; }
body.login button, .bouton { font: inherit; font-size: var(--menu-taille); letter-spacing: var(--menu-espacement); text-transform: uppercase;
  background: none; border: 1px solid var(--color-fg); color: var(--color-fg); padding: 9px 12px; cursor: pointer; border-radius: 0; text-align: left; }
body.login button:hover, .bouton:hover { color: var(--color-selection); border-color: var(--color-selection); }
.err { color: var(--color-selection); font-size: 13px; }
