* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html,
body {
  height: 100%;
  font-family: Arial, sans-serif;
}

html[data-text-size="small"] {
  font-size: 85%;
}

html[data-text-size="medium"] {
  font-size: 100%;
}

html[data-text-size="large"] {
  font-size: 140%;
}

body {
  transition: font-size 0.3s ease;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  width: 100%;
  background: #d0e3e1;
  font-size: 1rem;
}

main {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 5vh 5vw;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

.header {
  position: relative;
  overflow: hidden;
  background-color: #e0efe0;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.header-image {
  position: absolute;
  width: 100%;
  height: 100%;
  z-index: 0;
}

@media screen and (max-width: 4880px) {
  .header {
    min-height: 600px;
  }
  .search-container {
    position: absolute;
    z-index: 10;
    top: 50px;
    right: 50px;
  }
}

@media screen and (max-width: 2440px) {
  .header {
    min-height: 350px;
  }
}

@media screen and (max-width: 1024px) {
  .header {
    min-height: 300px;
  }
  .search-container {
    top: 20px;
    right: 20px;
  }
}

.main-nav {
  background-color: #1a5a87;
  width: 100%;
  padding: 30px 0;
  position: relative;
  z-index: 3;
}

.main-nav li a {
  color: white;
  font-size: 1.2rem;
  font-weight: bold;
  padding: 10px 15px;
  transition: color 0.3s, background-color 0.3s, border-radius 0.3s;
  border-radius: 5px;
}

.main-nav li a:hover {
  color: #e0e0e0;
}

.main-nav li a.active {
  background-color: #0a7c74;
  color: white;
  font-weight: bold;
  border-bottom: 3px solid #f0f0f0;
  border-radius: 5px 5px 0 0;
  box-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.2);
}

.nav-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  height: 22px;
}

.nav-logo img {
  margin-top: 40px;
  height: 130px;
  width: auto;
  z-index: 10;
}

.main-nav ul {
  display: flex;
  align-items: center;
  gap: 50px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.search-container form {
  display: flex;
  align-items: center;
}

.search-container input[type="text"] {
  padding: 10px 15px;
  border: none;
  border-radius: 25px;
  width: 200px;
  background-color: #a8d1f0;
  color: #333;
  font-size: 1rem;
}

.search-container input[type="text"]::placeholder {
  color: #1a5a87;
}

.search-button {
  background: none;
  border: none;
  cursor: pointer;
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
}

.search-icon {
  display: inline-block;
  width: 20px;
  height: 20px;
  border: 2px solid #1a5a87;
  border-radius: 50%;
  position: relative;
}

.search-icon:after {
  content: "";
  position: absolute;
  width: 2px;
  height: 10px;
  background-color: #1a5a87;
  bottom: -7px;
  right: -2px;
  transform: rotate(45deg);
}

.font-size-controls {
  display: flex;
  align-items: center;
  gap: 5px;
  position: absolute;
  bottom: 20px;
  right: 20px;
  background-color: #a8d1f0;
  border-radius: 25px;
  padding: 5px 10px;
}

.font-size-controls button {
  background: none;
  border: none;
  cursor: pointer;
  color: #1a5a87;
  font-weight: bold;
  transition: background-color 0.3s, color 0.3s;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  padding: 0;
}

.font-size-controls button.active {
  background-color: #1a5a87;
  color: white;
}

.font-size-small {
  font-size: 0.8rem;
}

.font-size-medium {
  font-size: 1.2rem;
}

.font-size-large {
  font-size: 1.5rem;
}

.feature-boxes {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 2vw;
  margin: 0;
  padding: 2vw;
}

.feature-box {
  flex: 1 1 30%;
  min-width: 250px;
  padding: clamp(40px, 5vw, 80px);
  background-color: white;
  border-radius: 20px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-align: center;
}

.feature-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
  cursor: pointer;
}

.feature-box h2 {
  color: #0a7c74;
  font-size: 1.8rem;
  margin-bottom: 20px;
}

.feature-icon {
  width: 120px;
  height: 120px;
  margin: 0 auto 20px auto;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}

.guides-icon {
  background-image: url("images/Information.png");
}

.tjeklister-icon {
  background-image: url("images/Tjekliste.png");
}

.test-icon {
  background-image: url("images/Quiz.png");
}

.footer {
  background-color: #1a5a87;
  color: white;
  padding: clamp(20px, 3vh, 40px) 5vw;
  flex-shrink: 0;
}

.footer-content {
  display: flex;
  justify-content: space-around;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.footer-column {
  flex: 1;
  text-overflow: ellipsis;
  overflow: hidden;
  padding: 20px;
}

.footer-column h3 {
  margin-bottom: 15px;
  font-size: 1.2rem;
}

.footer-column p {
  margin-bottom: 10px;
}

.footer-column a {
  color: white;
  transition: color 0.3s;
}

.footer-column a:hover {
  color: #e0e0e0;
}

.social-media a {
  display: flex;
  align-items: center;
}

.social-media a:before {
  content: "";
  display: inline-block;
  width: 24px;
  height: 24px;
  margin-right: 10px;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}

.facebook:before {
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="white"><path d="M12 2C6.477 2 2 6.477 2 12c0 4.991 3.657 9.128 8.438 9.879V14.89h-2.54V12h2.54V9.797c0-2.506 1.492-3.89 3.777-3.89 1.094 0 2.238.195 2.238.195v2.46h-1.26c-1.243 0-1.63.771-1.63 1.562V12h2.773l-.443 2.89h-2.33v6.989C18.343 21.129 22 16.99 22 12c0-5.523-4.477-10-10-10z"/></svg>');
}

.youtube:before {
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="white"><path d="M23.498 6.186a3.016 3.016 0 0 0-2.122-2.136C19.505 3.545 12 3.545 12 3.545s-7.505 0-9.377.505A3.017 3.017 0 0 0 .502 6.186C0 8.07 0 12 0 12s0 3.93.502 5.814a3.016 3.016 0 0 0 2.122 2.136c1.871.505 9.376.505 9.376.505s7.505 0 9.377-.505a3.015 3.015 0 0 0 2.122-2.136C24 15.93 24 12 24 12s0-3.93-.502-5.814zM9.545 15.568V8.432L15.818 12l-6.273 3.568z"/></svg>');
}

.tjekliste {
  background-color: #fff;
  border-radius: 12px;
  padding: 50px;
  width: 100%;
  max-width: 1400px;
  min-height: 100vh;
  margin: 60px auto;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
  font-family: Arial, sans-serif;
}

.tjekliste h2 {
  font-size: 4rem;
  color: #0a7c74;
  margin-bottom: 60px;
  text-align: center;
}

table {
  width: 100%;
  border-collapse: collapse;
}

thead th {
  background-color: #d0e3e1;
  padding: 28px;
  font-weight: bold;
  font-size: 2rem;
  text-align: left;
}

tbody td {
  padding: 28px;
  border-bottom: 1px solid #e0efe0;
  font-size: 2rem;
  vertical-align: top;
}

input[type="checkbox"] {
  transform: scale(3.7);
  cursor: pointer;
}

small {
  display: block;
  margin-top: 8px;
  color: #666;
  font-size: 1.6rem;
}

@media print {
  html,
  body {
    height: auto;
    margin: 0;
    padding: 0;
  }
  body * {
    visibility: hidden;
  }
  .tjekliste,
  .tjekliste * {
    visibility: visible;
  }
  .tjekliste {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    max-width: 100%;
    padding: 20px;
    margin: 0;
    background: white;
    box-shadow: none;
    border-radius: 0;
    font-size: 0.75rem;
    line-height: 1.2;
    page-break-inside: avoid;
    break-inside: avoid;
  }
  h2 {
    font-size: 1.2rem;
    margin-bottom: 16px;
    text-align: left;
  }
  table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.7rem;
  }
  thead th,
  tbody td {
    padding: 4px;
    font-size: 0.7rem;
    word-break: break-word;
    page-break-inside: avoid;
    break-inside: avoid;
  }
  input[type="checkbox"] {
    transform: scale(1.2);
  }
  small {
    font-size: 0.6rem;
    color: #444;
  }
  .print-btn {
    display: none !important;
  }
}

.print-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background-color: #add8f4;
  border: 2px solid #004a80;
  border-radius: 10px;
  padding: 10px 20px;
  font-size: 1.6rem;
  font-weight: bold;
  font-family: Arial, sans-serif;
  color: black;
  cursor: pointer;
  transition: background-color 0.3s ease;
  width: 200px;
  margin-bottom: 30px;
}

.print-btn:hover {
  background-color: #91c7e6;
}

.print-btn svg {
  width: 28px;
  height: 28px;
  fill: black;
}





@media screen and (max-width: 600px) {
  .tjekliste {
    padding: 30px 15px;
    margin: 20px 10px;
    box-shadow: none;
  }

  table,
  thead,
  tbody,
  th,
  td,
  tr {
    display: block;
    width: 100%;
  }

  thead {
    display: none;
  }

  tbody tr {
    margin-bottom: 15px;
    padding: 10px;
    background-color: #fff;
    border-radius: 10px;
    border: 1px solid #d0e3e1;
  }

  tbody td {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 10px 0;
    font-size: 1.3rem;
    border-bottom: none;
  }

  /* “Ja” og “Nej” labels uden farver og med pæn placering */
  tbody td:nth-child(2)::before {
    content: "Ja";
    font-weight: 500;
    font-size: 1.2rem;
    margin-bottom: 4px;
    display: block;
    text-align: left;
  }

  tbody td:nth-child(3)::before {
    content: "Nej";
    font-weight: 500;
    font-size: 1.2rem;
    margin-bottom: 4px;
    display: block;
    text-align: left;
  }

  input[type="checkbox"] {
    transform: scale(1.8);
  }

  small {
    font-size: 1rem;
    color: #555;
  }

  .print-btn {
    font-size: 1.2rem;
    padding: 8px 14px;
    width: 100%;
    max-width: 220px;
    margin: 20px auto;
  }
}












.fake-news-section {
  background-color: #d0e3e1;
  padding: 40px 20px;
  border-radius: 10px;
  font-size: 1.125rem;
  line-height: 1.6;
  max-width: 800px;
  margin: 0 auto;
  color: #222;
}

.news-box {
  border-top: 2px solid #fff;
  border-bottom: 2px solid #fff;
  padding: 20px 0;
  margin-bottom: 30px;
}

.fake-news-section h2,
.fake-news-section h3 {
  color: #135b8e;
  font-weight: bold;
  margin-bottom: 10px;
}

.fake-news-section p {
  margin: 0;
}

.fake-news-section strong {
  font-weight: bold;
  color: #000;
}

.tips-box {
  padding-top: 10px;
}

.tips-box ul {
  list-style-type: disc;
  padding-left: 20px;
  margin-top: 10px;
}

.tips-box li {
  margin-bottom: 10px;
}

.nav-items-list {
  display: none !important;
}

@media screen and (min-width: 769px) {
  .nav-items-list {
    display: flex !important;
  }

  .mobile-nav {
	display: none !important;
  }

  .menu-toggle {
	display: none !important;
  }
}

.menu-toggle {
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  width: 30px;
  height: 25px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 200;
}

.hamburger,
.hamburger::before,
.hamburger::after {
  content: "";
  width: 100%;
  height: 3px;
  background-color: white;
  position: relative;
  transition: transform 0.3s ease-in-out, background-color 0.3s ease-in-out;
  border-radius: 2px;
}

.hamburger::before {
  top: -8px;
}

.hamburger::after {
  top: 8px;
}

/* Active state for menu button (transforms to 'X') */
.menu-toggle.active .hamburger {
  background-color: transparent;
}

.menu-toggle.active .hamburger::before {
  transform: translateY(8px) rotate(45deg);
}

.menu-toggle.active .hamburger::after {
  transform: translateY(-8px) rotate(-45deg);
}

.mobile-nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 70%;
  max-width: 300px;
  height: 100%;
  background-color: #1a5a87;
  color: white;
  transform: translateX(-100%);
  transition: transform 0.3s ease-in-out;
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 150;
}

.mobile-nav-logo {
	margin-top: 40px;
	margin-bottom: 40px;
	height: 80px;
	width: auto;
	z-index: 10;
}

.mobile-nav.active {
  transform: translateX(0);
}

.mobile-nav .mobile-nav-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 40px;
}

.mobile-nav ul {
  width: 100%;
  text-align: left;
  padding-top: 2rem;
}

.mobile-nav li {
  margin-bottom: 0.5rem;
}

.mobile-nav a {
  font-size: 1.4em;
  font-weight: bold;
  transition: color 0.3s;
  display: block;
  padding: 0.5rem 1rem;
  border-radius: 5px;
  color: #D0E3E1
}

.mobile-nav a:hover,
.mobile-nav a.active {
  color: #d0e3e1;
}
