
@font-face {
  font-family: 'Avenir-Medium';
  src: url('/Fonts/Avenir-Medium.woff2') format('woff2'),
       url('/Fonts/Avenir-medium.woff') format('woff'),
       url('Fonts/Avenir-Medium.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
  
  font-family: 'Avenir-Light';
  src: url('/Fonts/Avenir-Light.woff2') format('woff2'),
       url('/Fonts/Avenir-Light.woff') format('woff'),
       url('/Fonts/Avenir-Light.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html, body {
background-color: black;
overflow-x: hidden;
width: 100%;        /* förhindrar vw-överspill */
}
.flexbox-container {
  min-height:100vh;
  position: relative;
display: flex;
flex-direction: column;
align-items: center;
justify-content: space-around;
z-index: 1;
}
.flexbox-item {
text-align: center;
justify-content: center;
}
.flexbox-item-1 {
  width: 100vw;
  position: absolute;
  top:0vh;
  left:50vw;
  transform: translateX(-50%); 
  z-index: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index:1;
}
.header {
  width: 100%;
  background-color: rgb(0, 0, 0);
  padding: 1em 0;
  text-align: center;
  justify-content: center;
  z-index: 1000;
  border-bottom: 0.01em solid #ffffff;
  }
  .home-link {
    color: rgb(255, 255, 255);
    text-decoration: none;
    font-size: 1.6vw;
    font-family: Avenir-Light;
    margin:4vw;
    }
    .home-link:hover {
      color:grey;
      }
      .nar-link {
        color: rgb(255, 255, 255);
        text-decoration: none;
        font-size: 1.6vw;
        font-family: Avenir-Light;
        }
.flexbox-item-2 {
 width: 70vw;
  position: absolute;
  top:20vh;
  left:50vw;
  transform: translateX(-50%); 
  z-index: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index:1;
}
.flexbox-item-2-5 {
   width: 70vw;
  position: absolute;
  top:40vh;
  left:50vw;
  transform: translateX(-50%); 
  z-index: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index:1;
}
.flexbox-item-2-5 h3{
  font-size: 2vw;
  width: 30vw;
  display: flex;
  position: absolute;
text-align: justify;
text-align-last: justify;
  color: rgb(255, 255, 255);
  font-family: Avenir-Light; 
  z-index:1;
}
.flexbox-item-2-6 {
  width: 70vw;
  position: absolute;
  top:70vh;
  left:50vw;
  transform: translateX(-50%); 
  z-index: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index:1;
}
.flexbox-item-2-6 h4{
  font-size: 1.5vw;
  width:35vw;
  display: flex;
  position: absolute;
text-align: justify;
text-align-last: justify;
  color: rgb(255, 255, 255);
  font-family: Avenir-Light; 
  padding:30px;
  z-index:1;
}
#headtext {
  font-size: 8vw;

  color: rgb(255, 255, 255);
  font-family: Avenir-Light; 
  }

  .flexbox-item-3 {
    width: 70vw;
  position: absolute;
  top:110vh;
  left:50vw;
  transform: translateX(-50%); 
  z-index: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index:1;
  }
  .flexbox-item-3 a {
    width: 70vw;
    height:60vh;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index:1;
  }
  .flexbox-item-4{
      width: 70vw;
  position: absolute;
  top:150vh;
  left:50vw;
  transform: translateX(-50%); 
  z-index: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index:1;
  }
  .flexbox-item-4 a {
    width: 70vw;
    height:60vh;
    display: flex;
    justify-content: center;
    align-items: center;
    gap:5vw;
    z-index:1;
  }
 
.background_image {
  height: 90vh;                     /* Endast första skärmen */
  width: 100%;
  background-image: url('nordstarbg.jpg'); /* Din bild */
  background-size: cover;            /* Täcker hela sektionen */
  background-position: center;       /* Centrerad */
  background-repeat: no-repeat;
  position: relative;                /* För innehåll ovanpå */
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

  .flexbox-item-8 {
      width: 70vw;
  position: absolute;
  top:220vh;
  left:50vw;
  transform: translateX(-50%); 
  z-index: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index:1;
  }
  .flexbox-item-4 img{
    position:absolute;
    display: flex;
    z-index:1;
  }
.flexbox-item img {
  position:absolute;
  display: flex;
  width:50vw;
  transition: transform 5s ease;
  z-index:1;
}
  .flexbox-item img:hover{
    transform: scale(1.1);
  }
  
h1 {
    text-align: center;
  
    display: flex;
    position: absolute;
  font-size: 2vw;
  color:white;
  font-family: Avenir-Light;
  z-index: 1;
  white-space: flex;
  text-transform: uppercase;
  transition: .3s cubic-bezier(0.075, .5, 0, 1);
  white-space: nowrap;
  z-index: 4;
  }
  #text2 {
    font-size: 5vh;
  }
  #nar1 {
    display: flex;
    position: absolute;
  left:55%;
  }
  #nar2 {
    display: flex;
    position: absolute;
  left:-17%;
  }

.footer {
  display:flex;
justify-content: center;
  text-align: center; /* Center-align the text */
  font-size: 0.8vw; /* Set the font size */
  color:rgb(255, 255, 255); /* Dark text color */
  font-family: Avenir-Light;

}
