/* 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;
  background-color: #131e3b;
  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;
}

/* Responsiv styling til burger-menu */
@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);
  }
}

/* --- Event-sektion --- */
.event-calendar {
  margin: 20px auto;
  padding: 20px;
  max-width: 1000px;
  background-color: #131e3b;
  border-radius: 8px;
}

.event {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 15px;
  padding: 15px;
  border: 1px solid #a8c2a1;
  border-radius: 5px;
  background-color: #131e3b;
}

.event img {
  width: 120px;
  height: 140px;
  object-fit: cover;
  border-radius: 5px;
}

.event header h2 {
  margin: 0;
  font-size: 1.5em;
  color: #44519f;
}

.event p {
  margin: 5px 0;
  color: #a8c2a1;
  line-height: 1.4;
}

.event footer {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.event footer button {
  padding: 10px 15px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-size: 1em;
  color: #fff;
  background-color: #0073e6;
}

.event footer button:nth-of-type(2) {
  background-color: #ff5722;
}

.event footer button:hover {
  opacity: 0.9;
}

/* --- Footer --- */
/* --- 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;
}

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

.footer-section .bold {
  font-weight: bold;
}

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

.footer-section .mellemrum {
  margin-top: 15px;
}

/* --- Responsiv Footer --- */
@media (max-width: 1024px) {
  .footer-section {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    text-align: center;
  }
}

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

@media (max-width: 480px) {
  .footer-section p,
  .footer-section a {
    font-size: 14px;
  }

  .footer-section {
    grid-template-columns: 1fr;
    text-align: center;
  }
}


/* --- Responsiv styling --- */
@media (max-width: 1024px) {
  .navbar {
    flex-wrap: wrap;
    padding: 15px;
  }

  .event {
    flex-direction: column; /* Stak layout på mindre skærme */
    align-items: flex-start;
  }

  .event img {
    width: 100%;
    height: auto;
  }

  .event header h2 {
    font-size: 1.2em;
  }

  .event p {
    font-size: 14px; /* Mindre tekststørrelse */
  }

  .event footer button {
    font-size: 0.9em;
    padding: 8px 12px;
  }

  .footer-section {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .event {
    flex-direction: column;
  }

  .event img {
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
  }

  .event footer {
    justify-content: center; /* Centrer knapper */
  }

  .footer-section {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .navbar {
    padding: 10px 15px;
  }

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

@media (max-width: 480px) {
  .navbar-menu li a {
    font-size: 16px;
  }

  .event header h2 {
    font-size: 1em;
  }

  .event p {
    font-size: 12px;
  }

  .event footer button {
    font-size: 0.8em;
    padding: 6px 10px;
  }

  .footer-section {
    grid-template-columns: 1fr;
  }
}
