/* ==========================================================================
   Fondations : polices, variables, éléments HTML de base
   ========================================================================== */

@font-face {
  font-family: "PT Sans";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../assets/fonts/pt-sans-400.woff2") format("woff2");
}

@font-face {
  font-family: "PT Sans";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../assets/fonts/pt-sans-700.woff2") format("woff2");
}

@font-face {
  font-family: "PT Serif";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../assets/fonts/pt-serif-700.woff2") format("woff2");
}

@property --story-ring-angle {
  syntax: "<angle>";
  initial-value: 0deg;
  inherits: false;
}

:root {
  --muted: #66746c;
  --leaf: #6f9f78;
  --leaf-deep: #163b33;
  --game-dark: #16594b;
  --game-dark-deep: #0f3f36;
  --game-shadow: #102f29;
  --serif: "PT Serif", Georgia, serif;
  --sans: "PT Sans", Arial, Helvetica, sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  min-height: 100vh;
  margin: 0;
  color: #17251f;
  font-family: var(--sans);
  font-weight: 450;
  letter-spacing: 0;
}

button {
  font: inherit;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease, background 0.18s ease;
  cursor: pointer;
}

.eyebrow {
  margin: 0 0 8px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

h2 {
  font-weight: 700;
}

html,
body {
  background: #fff;
}

p,
button {
  letter-spacing: -0.01em;
}

button:active {
  transform: translateY(1px) scale(0.985);
}

button:focus-visible {
  outline: 3px solid rgba(230, 198, 91, 0.72);
  outline-offset: 3px;
}

.flag-uk {
  display: block;
  object-fit: contain;
  border-radius: 50%;
  box-shadow: 0 4px 7px rgba(18, 47, 40, 0.36);
}

.skip-text {
  width: 100%;
  text-align: center;
  text-shadow: 0 2px 0 rgba(18, 47, 40, 0.22);
}

.skip-text strong {
  display: inline-block;
  margin-top: 2px;
  font-family: "Trebuchet MS", "Segoe UI Variable", "Segoe UI", Arial, sans-serif;
  font-size: inherit;
  font-weight: inherit;
  letter-spacing: inherit;
  white-space: nowrap;
}

@media (min-width: 700px) {
  body {
    padding: 30px 0;
    background: #fff;
  }
}

@media (max-height: 720px) {
  .skip-text strong {
    font-size: inherit;
  }
}
