/*
  base.css
  Globale reset- og grunnstiler for hele nemova.no.
  Seksjonsspesifikk styling (som hero.css) skal ALDRI legges her —
  den hører hjemme i sin egen fil under /css.

  Inter, Fraunces og Neuton lastes lokalt herfra (public/fonts/),
  ikke fra Google Fonts CDN — kun de vektene som faktisk brukes på
  siden (Inter: 400/500/600, Fraunces: 600, Neuton: 400).
*/

@font-face {
  font-family: 'Inter';
  src: url('../public/fonts/inter/Inter-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Inter';
  src: url('../public/fonts/inter/Inter-Medium.ttf') format('truetype');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Inter';
  src: url('../public/fonts/inter/Inter-SemiBold.ttf') format('truetype');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Fraunces';
  src: url('../public/fonts/fraunces/Fraunces-SemiBold.ttf') format('truetype');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Neuton';
  src: url('../public/fonts/neuton/Neuton-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  color: #0d0d0d;
  background: #0d0d0d;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
}
