body {
  font-family: Arial, sans-serif;
  margin: 75px 0 0 0;
  background: #f7f7f7;
}

header {
  position: fixed;
  background: black;
  color: white;
  padding: 10px 20px;
  top: 0;
  left: 0;
  right: 0;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-weight: bold;
  font-size: 2.2em;
}
.logo1 {
  font-weight: bold;
  font-size: 2.2em;
  align-items: center;
}
/* Navigation links */
.nav-links {
  list-style: none;
  display: flex;
  justify-content: flex-end;
  gap: 20px;
}

.nav-links li a {
  color: white;
  text-decoration: none;
}

.nav-links li a:hover {
  text-decoration: underline;
}

/* Burgermenu - kun synlig på små skærme */
.menu-toggle {
  display: none;
  font-size: 1.8em;
  cursor: pointer;
}

/* --- Mobil layout --- */
@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }

.nav-links {
    display: none;
    flex-direction: column;
    background: #333;
    top: 60px;
    right: 20px;
    width: 150px;
    padding: 10px;
    border-radius: 5px;
  }

.nav-links.show {
    display: flex;
  }
}
.container {
  max-width: 1920px;
  margin: 0 auto;
}
h1 {
  font-size: 40px;
  font-weight: bold;
  text-align: center;
}
.text {
  display: flex;
  font-size: 20px;
  justify-content: space-between;
  align-items: center;
  margin: 20px;
  gap: 40px;
}
.text2 {
  display: flex;
  flex-direction: column;
  gap: 100px;
  flex-basis: 45%;
}
.text p {
  margin: 0 15px;
  flex-basis: 30%;
}
.projects1 {
  display: grid;
  overflow: hidden;
  margin: 20px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.projects1 img {
  width: 100%;
  height: 100%;
}
.projects1 p {
  text-align: center;
  font-size: 20px;
  margin: 0 auto;
}
#kontakt {
  margin: 20px;
  width: 50%;
  font-size: 20px;
}
#om-mig {
  margin: 20px;
  width: 50%;
  font-size: 20px;
}
.info {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  margin: 20px;
}
.active {
  text-decoration: underline;
}
.picture1 {
  display: flex;
  justify-content: center;
  margin: 20px;
}