/* Open Sans – normal (300, 400, 600, 700) */
@font-face {
  font-family: "Open Sans";
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url("/fonts/open-sans/open-sans-v44-latin_latin-ext-300.woff2") format("woff2");
}
@font-face {
  font-family: "Open Sans";
  font-style: normal;
  font-weight: 400; /* "regular" */
  font-display: swap;
  src: url("/fonts/open-sans/open-sans-v44-latin_latin-ext-regular.woff2") format("woff2");
}
@font-face {
  font-family: "Open Sans";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/fonts/open-sans/open-sans-v44-latin_latin-ext-600.woff2") format("woff2");
}
@font-face {
  font-family: "Open Sans";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/fonts/open-sans/open-sans-v44-latin_latin-ext-700.woff2") format("woff2");
}
/* Open Sans – italic (300, 400, 600, 700) */
@font-face {
  font-family: "Open Sans";
  font-style: italic;
  font-weight: 300;
  font-display: swap;
  src: url("/fonts/open-sans/open-sans-v44-latin_latin-ext-300italic.woff2") format("woff2");
}
@font-face {
  font-family: "Open Sans";
  font-style: italic;
  font-weight: 400; /* "italic" */
  font-display: swap;
  src: url("/fonts/open-sans/open-sans-v44-latin_latin-ext-italic.woff2") format("woff2");
}
@font-face {
  font-family: "Open Sans";
  font-style: italic;
  font-weight: 600;
  font-display: swap;
  src: url("/fonts/open-sans/open-sans-v44-latin_latin-ext-600italic.woff2") format("woff2");
}
@font-face {
  font-family: "Open Sans";
  font-style: italic;
  font-weight: 700;
  font-display: swap;
  src: url("/fonts/open-sans/open-sans-v44-latin_latin-ext-700italic.woff2") format("woff2");
}
body {
	font-family: "Open Sans", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
	font-optical-sizing: auto;
	font-style: normal;
}

:root {
--bs-body-font-family: "Open Sans", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif;
}

p.text-justify {
  text-align: justify; 
}

.page-content {
  padding-top: 80px;
}

nav {
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.navbar-nav .nav-link {
    font-weight: bold;
}

nav.scrolled {
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.navbartext2 {
  color: white;
  font-weight: bold;
}

.navbartext2:hover {
  color: black;
}

.bg-white {
  background-color: white !important;
}

.border-bottom {
  border-bottom: 2px solid #000;
}

.logo2 {
  width: 200px;
}

.footer {
  background-color: #0a2d3a;
  color: #fff;
  padding: 1rem;
  /* font-family: Arial, sans-serif; <- fjern denne */
font-family: inherit; /* eller sett inherit */
  margin-top: 10px;
}

.footer-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  flex-wrap: wrap;
}

.footer-left {
  font-size: 0.9rem;
  text-align: left;
  flex: 1;
}

.footer-right {
  text-align: right;
  flex: 1;
}

.footer-links {
  list-style: none;
  display: flex;
  gap: 1rem;
  padding: 0;
  margin: 0;
  justify-content: flex-end;
}

.footer-links a {
  color: #fff;
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.3s;
}

.footer-links a:hover {
  color: #1e90ff;
}

@media (max-width: 768px) {
  .footer-container {
    flex-direction: column;
    text-align: center;
  }

  .footer-left,
  .footer-right {
    flex: none;
    margin-bottom: 0.5rem;
    text-align: center;
  }

  .footer-links {
    justify-content: center;
  }
}
