body {
      margin: 0;
      padding: 0;
      opacity: 0;
      overflow-x: hidden;
      animation: pageFadeIn 3s ease forwards;
      font-family: Arial, sans-serif;
    }
    @keyframes pageFadeIn {
      from {
        opacity: 0;
        transform: translateY(1.5rem);
      }
      to {
        opacity: 1;
        transform: translateY(0);
      }
    }

    /* --- NAVBAR --- */
    nav {
      background: #000;
      color: white;
      display: flex;
      align-items: center;
      justify-content: center;
      position: sticky;
      top: 0;
      z-index: 1000;
      height: 5.3rem;
      border-bottom: 0.9rem solid #fdfdfd;
      border-image: linear-gradient(to right, white, black) 1;
      padding: 0 1rem;
    }

    .logo {
      position: absolute;
      left: 50%;
      transform: translateX(-50%);
      font-size: 1.5rem;
      font-weight: bold;
      cursor: default;
    }

    /* Dropdown */
    .dropdown {
      position: absolute;
      left: 1.5rem;
    }

    .dropbtn {
      background: none;
      border: none;
      color: white;
      font-size: 1.125rem;
      font-style: italic;
      font-weight: bold;
      cursor: pointer;
      display: flex;
      align-items: center;
      gap: 0.3rem;
    }
    .dropbtn:focus {
      outline: none;
    }

    .arrow {
      border: solid white;
      border-width: 0 0.1875rem 0.1875rem 0;
      display: inline-block;
      padding: 0.25rem;
      transform: rotate(45deg);
      margin-left: 0.2rem;
    }

    .dropdown-content {
      display: none;
      position: absolute;
      top: 100%;
      left: 0;
      background-color: #444;
      min-width: 10rem;
      box-shadow: 0 0.5625rem 1rem rgba(0, 0, 0, 0.2);
      z-index: 1000;
      border-radius: 0.25rem;
      margin-top: 0.25rem;
    }
    .dropdown-content a {
      color: white;
      padding: 0.875rem 1.25rem;
      text-decoration: none;
      display: block;
    }
    .dropdown-content a:hover {
      background-color: #555;
    }
    .show {
      display: block;
    }

    /* Hamburger menu */
    .hamburger {
      display: none;
      flex-direction: column;
      justify-content: space-around;
      width: 30px;
      height: 25px;
      cursor: pointer;
      z-index: 1100;
      position: absolute;
      left: 1.5rem;
      top: 1.5rem;
      background: none;
      border: none;
      padding: 0;
    }
    .hamburger div {
      width: 100%;
      height: 3px;
      background-color: white;
      border-radius: 2px;
      transition: all 0.3s ease;
    }
    .hamburger.active div:nth-child(1) {
      transform: rotate(45deg) translate(5px, 5px);
    }
    .hamburger.active div:nth-child(2) {
      opacity: 0;
    }
    .hamburger.active div:nth-child(3) {
      transform: rotate(-45deg) translate(5px, -5px);
    }

    /* Mobile menu (hidden by default) */
    .mobile-menu {
      display: none;
      position: fixed;
      top: 5.3rem; /* navbar height */
      left: 0;
      right: 0;
      background-color: #222;
      flex-direction: column;
      z-index: 1050;
      padding: 1rem 0;
    }
    .mobile-menu a {
      color: white;
      padding: 1rem 2rem;
      text-decoration: none;
      font-size: 1.1rem;
      border-bottom: 1px solid #444;
      display: block;
    }
    .mobile-menu a:hover {
      background-color: #555;
    }
    .mobile-menu.show {
      display: flex;
    }

/*HEADER */
.header {
  padding: 5pc 20px;
  background-color: #171717;
}
header h3 {
    font-size:20pt;
    margin: 25px 30px 30px;
    text-align: center;
    color: #ffffff;
}
/*LAYOUT*/

.layout {
  display: flex;
  min-height: 100vh;
  align-items: flex-start;
  background-color: #000000;
}
.sidebar {
  width: 250px;
  background-color: #000000;
  padding: 20px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
  position: sticky;
  top: 0;
  height: 100vh;
}

.sidebar a {
  text-decoration: none;
  color: #ffffff;
  font-weight: bold;
  padding: 10px 5px;
  border-left: 4px solid transparent;
  transition: all 0.2s;
}

.sidebar a:hover {
  border-left: 4px solid #333;
  background-color: #6b5454;
}
.main-content {
  flex: 1;
  padding: 40px;
  box-sizing: border-box;
}

.main-content h1{
  color: rgb(244, 250, 248);
  font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
}
.main-content p{
  color: rgb(255, 255, 255);
  font-size: 15px;
}

.section {
  margin-bottom: 60px;
}

.content-row {
  display: flex;
  align-items: flex-start;
  gap: 30px;
  flex-wrap: wrap;
}

.content-row.reverse {
  flex-direction: row-reverse;
}

.left-image,
.right-image {
  width: 100%;
  max-width: 400px;
  height: auto;
  border-radius: 10px;
}

.text-content {
  flex: 1;
}

.color-divider {
  border-bottom: 15px solid rgb(253, 253, 253);
  border-image: linear-gradient(to right,white , black) 1;
}

.features {
  padding-top: 3.125rem;
  padding-bottom: 5rem;
  display: flex;
  flex-direction: row;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1.875rem;
}

.feature {
  max-width: 15.625rem;
  margin: 0.625rem;
}

.icon-circle {
  width: 6.25rem;
  height: 6.25rem;
  background-color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
  color: rgb(0, 0, 0);
}

.icon-circle i {
  font-size: 2rem;
}

.feature h3 {
  font-size: 1.5rem;
  margin-bottom: 0.625rem;
  text-align: center;
  color: white;
}

.feature p {
  font-size: 0.95rem;
  color: white;
  line-height: 1.5;
  text-align: center;
}
/* --- MEDIA QUERIES --- */
@media (max-width: 768px) {
  nav {
    height: 4.5rem;
    border-bottom-width: 0.5rem;
    justify-content: flex-start;
    padding: 0 1rem;
  }

  .hamburger {
    display: flex;
  }

  .dropdown {
    display: none; /* SKJUL desktop-dropdown på mobil */
  }

  /* mobilmeny */
  .mobile-menu {
    display: none;
    position: fixed;
    top: 4.5rem;
    left: 0;
    right: 0;
    background-color: #333;
    flex-direction: column;
    z-index: 1050;
    border-radius: 0;
    padding: 0;
  }
  .mobile-menu.show {
    display: flex;
  }
  .mobile-menu a {
    padding: 1rem;
    font-size: 1.1rem;
    border-bottom: 1px solid #444;
    color: white;
    text-align: left;
    background-color: #333;
  }
  .mobile-menu a:hover {
    background-color: #555;
  }

  .dropbtn {
    font-size: 0;
    padding: 0.5rem;
    width: 2.5rem;
    justify-content: center;
  }

  .arrow {
    margin: 0;
    transform: rotate(45deg);
    border-width: 0 3px 3px 0;
    padding: 5px;
  }

 .logo {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  width: 100%;
  font-size: 1.2rem;
}

  .Header {
    padding: 4rem 1rem;
  }

  .animated-heading {
    font-size: 2em;
    letter-spacing: 10px;
  }

  .Header p {
    font-size: 1.2rem;
    padding-bottom: 2rem;
  }
}

/* På desktop skjul mobilmeny */
@media (min-width: 769px) {
  .mobile-menu {
    display: none !important;
  }
}

footer {
  background-color: #000;
  border-top: 1.25rem solid #fdfdfd;
  border-image: linear-gradient(to right, #fff, #000) 1;
}

.footerContainer {
  width: 100%;
  padding: 4.375rem 1.875rem 1.25rem;
}

.socialIcons {
  display: flex;
  justify-content: center;
}

.socialIcons a {
  text-decoration: none;
  padding: 0.625rem;
  background-color: #000;
  margin: 0.9375rem;
  border-radius: 50%;
}

.socialIcons a i {
  font-size: 2em;
  color: #fff;
  opacity: 0.9;
}

.socialIcons a:hover {
  background-color: #111;
  transition: 0.5s;
}

.socialIcons a:hover i {
  color: white;
  transition: 0.5s;
}

.footerNav {
  margin: 1.875rem 0;
}

.footerNav ul {
  display: flex;
  justify-content: center;
  align-items: center;
  list-style: none;
  flex-wrap: wrap;
  padding: 0;
  margin: 0 auto;
  text-align: center;
}
.footerNav ul li {
  margin: 0.5rem 1rem;
}

.footerNav ul li a {
  color: white;
  margin: 1.25rem;
  text-decoration: none;
  font-size: 1.3rem;
  opacity: 0.7;
  transition: 0.5s;
}

.footerNav ul li a:hover {
  opacity: 1;
}

.footerBottom {
  background-color: #1a1a1a;
  color: #b0b0b0;
  padding: 1.25rem;
  text-align: center;
}

.footerBottom p {
  color: white;
}
@media (max-width: 768px) {
  .footerContainer {
    padding: 2rem 1rem;
  }

  .footerNav ul {
    flex-direction: column;
  }
}

