/* sailwithme.bg look: cream background, navy text, bronze buttons, Playfair Display headings.
   Loaded after the themed styles.css (see lib/theme.js). */
@font-face { font-family: "Playfair Display"; font-style: normal; font-weight: 500; font-display: swap;
  src: url("fonts/playfair-display-cyrillic-500-normal.woff2") format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Playfair Display"; font-style: normal; font-weight: 500; font-display: swap;
  src: url("fonts/playfair-display-latin-500-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122; }
@font-face { font-family: "Playfair Display"; font-style: normal; font-weight: 700; font-display: swap;
  src: url("fonts/playfair-display-cyrillic-700-normal.woff2") format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Playfair Display"; font-style: normal; font-weight: 700; font-display: swap;
  src: url("fonts/playfair-display-latin-700-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122; }

:root {
  --bg: #faf8f4;
  --bg-deep: #efe9e3;
  --card: #ffffff;
  --card-2: #f4efe9;
  --stroke: rgba(23, 52, 92, 0.16);
  --stroke-strong: rgba(23, 52, 92, 0.34);
  --text: #17345c;
  --muted: #55606e;
  --brass: #906e59;
  --brass-dim: #664a39;
  --sea: #17345c;
  --correct: #1e8e4e;
  --correct-bg: rgba(30, 142, 78, 0.12);
  --correct-stroke: #1e8e4e;
  --wrong: #c62f3d;
  --wrong-bg: rgba(198, 47, 61, 0.1);
  --wrong-stroke: #c62f3d;
  --shadow: 0 12px 32px rgba(23, 52, 92, 0.12);
  --serif: "Playfair Display", Georgia, "Times New Roman", serif;
}

body { color: #333333; }
.waves { opacity: 0.22; }
.compass { opacity: 0.05; }

/* Headings in the site's serif */
.home-title, .brand-name, .end-view h1, .end-view h2, .start-view h1, .start-view h2,
.result-view h1, .result-view h2, .setup-view h1, .setup-view h2, .acc-modal-title, .acc-brand h1, .acc-admin h1 {
  font-family: var(--serif);
  font-weight: 500;
  letter-spacing: 0;
}

/* Answer letters stay white on their green/red/bronze circles */
.answer.is-correct .letter, .answer.is-wrong .letter,
.review-answers li.is-correct .letter, .review-answers li.is-wrong .letter { color: #ffffff; }

/* Phones: the home screen scrolls instead of squeezing the intro and picture
   (the account card below the tiles makes it taller than one screen). */
@media (max-width: 800px), (orientation: portrait) and (max-width: 1100px) {
  body.showing-home .home-view, .home-view { overflow-y: auto; -webkit-overflow-scrolling: touch; }
  .home-view { grid-template-rows: auto auto; }
  .home-visual { max-height: none; }
  .home-visual, .home-intro, .home-hero, .home-body { flex-shrink: 0; }
  .home-body { padding-bottom: 4.5rem; } /* room for the trial bar */
}
