@font-face {
  font-family: 'Nunito';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  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;
  src: url('./fonts/nunito-latin.woff2') format('woff2');
}
@font-face {
  font-family: 'Nunito';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
  src: url('./fonts/nunito-latin-ext.woff2') format('woff2');
}

:root {
  --color-primary: #80CED7;
  --color-secondary: #DE6C83;
  --color-accent: #F2D6A2;
  --color-ink: #1F3A5F;
  --color-text: #374151;
  --color-text-muted: #6b7280;
  --color-bg: #f4f6f8;
  --color-surface: #ffffff;
  --color-border: #e5e7eb;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--color-bg);
  color: var(--color-text);
  font-family: 'Nunito', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--color-secondary); text-decoration: none; }
a:hover { text-decoration: underline; }

/* Delad sidhuvud/sidfot-stil för alla sidor på sajten */
.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1040px;
  margin: 0 auto;
  padding: 1.5rem 1.5rem;
}

.site-header .logo {
  display: inline-flex;
  line-height: 0;
}

.site-header .logo img {
  height: 28px;
  width: auto;
}

.site-header nav {
  font-size: 0.95rem;
}

@media (max-width: 640px) {
  .site-header {
    flex-direction: column;
    gap: 0.75rem;
    padding: 1.25rem 1.5rem 1rem;
  }
  .site-header nav {
    gap: 1.1rem;
    font-size: 0.85rem;
  }
}

.site-header nav {
  display: flex;
  gap: 1.75rem;
}

.site-header nav a {
  color: var(--color-ink);
  font-weight: 600;
  font-size: 0.95rem;
}

.site-footer {
  max-width: 1040px;
  margin: 0 auto;
  padding: 2.5rem 1.5rem 3rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
  color: var(--color-text-muted);
  font-size: 0.9rem;
  border-top: 1px solid var(--color-border);
  margin-top: 2rem;
}

.site-footer .footer-links {
  display: flex;
  gap: 1.25rem;
}

.site-footer .footer-links a {
  color: var(--color-text-muted);
}
