/* Reset og generel styling */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Work Sans", sans-serif;
}

body {
  font-family: 'Work Sans', sans-serif;
  color: #a8c2a1; /* Ensartet tekstfarve */
  background-color: #131e3b; /* Baggrundsfarve */
  font-weight: 320;
  line-height: 1.6;
}

/* Navbar */
.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: #131e3b;
  padding: 20px 50px;
}

.navbar-logo img {
  height: 120px;
}

.navbar-menu {
  flex: 1;
  display: flex;
  justify-content: flex-start;
  gap: 40px;
  list-style: none;
  margin-left: 30px;
  padding: 0;
}

.navbar-menu li a {
  text-decoration: none;
  color: #a8c2a1;
  font-weight: 350;
  font-size: 20px;
  line-height: 60px;
  transition: all 0.2s ease-in-out;
}

.navbar-menu li:hover a {
  color: #ffffff;
}

/* Burger-menu styling */
.burger-toggle {
  display: none;
}

.burger-menu {
  display: none;
  flex-direction: column;
  gap: 8px;
  cursor: pointer;
}

.burger-menu span {
  display: block;
  width: 45px;
  height: 5px;
  background-color: #44519f;
  border-radius: 10px;
}

@media (max-width: 1024px) {
  .navbar-menu {
    display: none;
  }

  .burger-menu {
    display: flex;
  }

  .burger-toggle:checked + .burger-menu + .navbar-menu {
    display: flex;
    flex-direction: column;
    gap: 15px;
    position: absolute;
    top: 80px;
    right: 30px;
    background-color: #131e3b;
    width: 220px;
    padding: 10px 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  }
}

/* Om Radar Sektion */
.about-section {
  display: flex;
  flex-direction: column;
  gap: 40px; /* Ens afstand mellem sektionerne */
  padding: 50px 20px;
}

.content {
  display: flex;
  align-items: center;
  justify-content: space-between; /* Ensartet afstand */
  gap: 10px; /* Fjernet overskydende mellemrum */
}

.about-image {
  width: auto; /* Gør billederne ens i størrelse */
  max-height: 400px;
  object-fit: cover; /* Sørger for korrekt skalering */
  border-radius: 12px; /* Afrundede hjørner */
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.5);
}

.about-text {
  width: auto; /* Samme bredde som billeder */
  color: #a8c2a1;
  line-height: 1.8;
  font-size: 1.1rem;
  margin: 0; /* Fjernet margin */
  padding: 0; /* Fjernet padding */
}


.content.reverse {
  display: flex;
  justify-content: space-between; /* Sørger for korrekt afstand */
  align-items: center;
}

.content.reverse .about-image {
  margin-left: auto; /* Skubber billedet helt til højre */
}

.content.reverse .about-text {
  margin-right: auto; /* Sørger for, at teksten står til venstre */
}


/* Responsiv tilpasning */
@media (max-width: 768px) {
  .content {
    flex-direction: column;
    text-align: center;
  }

  .about-image {
    width: 90%;
    max-height: 300px;
  }

  .about-text {
    width: 90%;
  }
}

@media (max-width: 480px) {
  .about-image {
    width: 100%;
    max-height: 250px;
  }

  .about-text {
    font-size: 1rem;
  }
}

/* Footer */
.footer-section {
  background-color: #131e3b;
  color: #a8c2a1;
  padding: 30px 50px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  text-align: left;
}

.footer-section p,
.footer-section a {
  margin: 5px 0;
  color: #a8c2a1;
}

.footer-section a {
  text-decoration: none;
  font-weight: 600;
}

.footer-section a:hover {
  text-decoration: underline;
}

.overskrift {
  font-weight: bold;
  margin-bottom: 10px;
  font-size: 18px;
}

.bold {
  font-weight: bold;
}

.radar {
  font-size: 24px;
  font-weight: 700;
}

.mellemrum {
  margin-top: 15px;
}

/* Responsiv styling til mindre skærme */
@media (max-width: 768px) {
  .footer-section {
    grid-template-columns: repeat(2, 1fr);
  }

  .navbar {
    padding: 10px 15px;
  }

  .navbar-logo img {
    height: 90px;
  }
}

@media (max-width: 480px) {
  .footer-section {
    grid-template-columns: 1fr;
  }

  .navbar-menu li a {
    font-size: 18px;
  }
}
