* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Work Sans", sans-serif;
}

/* navigation styling */

header nav {
  position: fixed;
  width: 100%;
  z-index: 999;
  background-color: #faf8f3;
}

.wrapper {
  position: relative;
  padding: 0 30px;
  height: 70px;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}

.wrapper .logo a {
  color: #000000;
  font-size: 30px;
  text-decoration: none;
  font-family: "playfair-display";
}

.nav-links {
  display: flex;
  gap: 19px;
  list-style: none;
  font-family: "Work Sans", sans-serif;
}

.nav-links li a {
  color: #000000;
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  padding: 9px 30px;
  border-radius: 5px;
  transition: all 0.4s ease;
  font-family: "Work Sans", sans-serif;
}

.nav-links li a:hover {
  font-weight: bold;
}

/* Mega dropdown-menu styling */
.mega-box {
  display: none; /* Skjuler dropdown-menuen som standard */
  position: absolute;
  left: 0;
  width: 100%;
  padding-top: 20px;
  top: 50px; /* Placerer dropdown-menuen under navigationen */
  opacity: 0;
  z-index: 1000;
  visibility: hidden;
}

.nav-links li:hover .mega-box {
  display: block; /* Viser dropdown-menuen ved hover */
  opacity: 1;
  visibility: visible;
  transition: all 0.7s;
}

.mega-box .content {
  background-color: #b49197;
  border: 10px;
  padding: 25px 40px;
  display: flex;
  width: 100%;
}

.main {
  width: 20%;
  line-height: 40px;
}

.main p {
  color: #000000;
  font-weight: bold;
  font-size: 25px;
  margin-bottom: 20px;
  margin-top: 20px;
}



.mega-links li {
  list-style: none;
}

.mega-links li a {
  text-decoration: none;
  color: #000000;
  font-size: 14px;
  padding: 5px 0;
  display: inline-block;
}

.menu-icon {
  display: none;
  font-size: 2rem;
  cursor: pointer;
  color: #000000;
}

.menu-checkbox {
  display: none;
}

/* Burger-menu styling */

.menu-icon {
  display: none; /* Skjuler burgermenu-knappen på større skærme */
  font-size: 2rem;
  cursor: pointer;
}

.menu-checkbox {
  display: none; /* Skjuler checkboxen */
}

/* Responsiv styling */
@media (max-width: 768px) {
  .menu-icon {
    display: block;
  }

  .nav-links {
    display: none;
    flex-direction: column;
    background-color: #b49197;
    position: absolute;
    top: 50px;
    right: 0;
    width: 100%;
    z-index: 1000;
    padding: 10px;
  }

  .menu-checkbox:checked + .menu-icon + .logo + .nav-links {
    display: flex;
  }

  .nav-links li {
    width: 100%;
  }

  .nav-links li a {
    display: block;
    padding: 15px;
    font-size: 18px;
    color: #000000;
  }

  .nav-links li:hover .mega-box {
    display: block;
  }

  .mega-box .content {
    flex-direction: column;
    background-color: #b49197;
  }

  .main {
    width: 100%;
  }

  .mega-box {
    display: none !important;
  }
}

/* footer */

.footer {
  background-color: #b49097;
  color: #000;
  padding: 20px;
  display: flex;
  flex-direction: column;
}
.footer-logo {
  margin-top: 50px;
}

.footer-logo h2 {
  font-family: serif;
  font-size: 40px;
  display: flex;
}

.footer-kolonner {
  display: flex;
  gap: 200px;
  justify-content: center;
}

.footer-kolonne h3 {
  font-weight: bold;
  font-family: "Work Sans", sans-serif;
  margin-bottom: 10px;
}

.footer-kolonne ul {
  list-style: none;
  padding: 0;
}

.footer-kolonne li {
  margin-bottom: 2px;
}

.footer-kolonne a {
  text-decoration: none;
  color: black;
}

.social-icons img {
  display: flex;
  gap: 20px;
  justify-content: center;
  margin-top: 20px;
  width: 30px;
}

.social-icons {
  display: flex;
  gap: 20px;
}
