*{
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

:root {
  --blue: #153242;
  --base: #EAE4D7;
  --minegray: rgba(21, 50, 66, 0.5); /* #153242 med 50% opacity */
}


body.lock-scroll {
  overflow: hidden;
  height: 100vh;
}


html {
  scroll-padding-top: 100px; /* eller headerens højde */
}

p{
        font-family: "Work", sans-serif;
}



a{
    text-decoration: none;

}
a:hover{
    opacity: 50%;
}
h1{

    font-family: "Lora", serif;
    font-size: 50px;
    text-transform: uppercase!important;
    font-weight: 100;


}
h2{

    font-family: "Lora", serif;
    font-weight: 100;
    

}
header a {


    font-family: "Work Sans", sans-serif;
    font-weight: bold;
    color:white;
    


}



.landingpage-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1001;
  padding: 1rem 1.5rem;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}


.container {
    width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.landingpage-header img{
    width: 32px;


}

.logo-link {
  z-index: 1002;
  position: relative;
}


nav.mobile-nav {
  position: fixed;
  top: 0;
  right: -100%;
  width: 100%;
  height: 100vh;
  background: var(--blue);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: right 0.3s ease;
  z-index: 1000;
}

.nav-pattern-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("img/hamburgerbackground.png"); 
  background-size: cover;
  background-repeat: no-repeat;
  pointer-events: none; 
  z-index: 1;
}


nav.mobile-nav ul {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  list-style: none;
  width: 100%;
}





nav.mobile-nav a {
  display: inline-block;
  background-color: white;
  color: #153242;
  padding: 0.8rem 2rem;
  font-size: 1.5rem;
  font-weight: 500;
  min-width: 240px; /* <- Ens bredde */
  text-align: center;
}



nav.mobile-nav a {
  font-weight: 500;
  font-size: 1.5rem;
}

.hamburger {
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 0.5rem;
  z-index: 1002;
  transition: transform 0.3s ease;
}

.hamburger .bar {
  width: 25px;
  height: 3px;
  background-color: #153242;
  border-radius: 2px;
  transition: all 0.3s ease;
}

.hamburger.active div:nth-child(1) {
  transform: translateY(9px) rotate(45deg);

}

.hamburger.active div:nth-child(2) {
  opacity: 0;
}

.hamburger.active div:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);

}



nav.mobile-nav.show {
  right: 0;
  
}

.hamburger.active .bar {
  background-color: white;
}

@media (min-width: 700px) {
  .hamburger {
    display: none;
  }

  .landingpage-header {
    display: flex;
    align-items: center;
    padding: 0px 32px;
  }

.container {
    align-self: center;
    width: 100vw;
}



  nav.mobile-nav {
    position: static;
    background: transparent;
    height: auto;
    display: flex;
    width: auto;
  }

  nav.mobile-nav ul {
    display: flex;
    padding: 0;
    margin: 0;
    flex-direction: row;
    gap: 1.5rem;
  }

  nav.mobile-nav a {
    background: none;
    color: white;
    padding: 0;
    font-size: 1rem; 
    font-family: 'Work Sans', sans-serif; 
    font-weight: bold;
  }

  .nav-pattern-overlay {
    display: none;
  }
}


