*{margin: 0;
padding: 0;}

nav.footer{
    position: fixed;         
    bottom: 0;               
    width: 100%;           
    background-color: rgb(226, 248, 250);
    display: flex;
    /* flex-wrap: wrap;
    justify-content: space-around; */
    justify-content: center;
}

.nav-header {
    position: fixed;
    top: 0;
    width: 100%;
    height: 80px;
    background-color: #9aa6c0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
    z-index: 1;
}


.logo {
    height: 50px;
}


a{
    color: antiquewhite;
    text-decoration: none;
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    background-color: rgb(0, 85, 114);
    padding: 15px 40px;    
    border-radius: 12px;
    margin: 8px;          
    font-size: 14px;
    
   
}


a.tilbake-knapp{
    color: antiquewhite;
    text-decoration: none;
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    background-color: rgb(0, 85, 114);
    padding: 15px 40px;    
    border-radius: 12px;
    margin-left: 50px;          
    font-size: 14px;
}

.tilbake{
    position: absolute;
    top: 50%;
    left: 13%;
    transform: translate(-50%, -50%);
    display: flex;
    align-items: center;
    
}

header {
    position: fixed;
  top: 0px;
  width: 100%;
  height: 80px;                     
  background-color: rgb(179, 202, 204);
  display: flex;
  align-items: center;
  justify-content:space-between  ;    
  padding: 0 20px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.2);
  z-index: 1;

}











/*DEL 1*/ 

body.Forside{
    background-image: url("bilde/del1/del1.jpg");
    background-size: cover;
    background-repeat: no-repeat;
    height: 200px;
    width: 100%;
}

h1.Forside{
    text-align: center;
    margin-top: 100px;
    font-size: xx-large;
    font-weight: bolder;
    color: rgb(253, 226, 235); 
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
}

h3.Forside{
    text-align: center;
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
}

p.Forside{
    text-align: center;
    font-size: larger;
    color: rgb(255, 255, 255);
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
}

h1.header{
    position: absolute;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 24px;
    color: rgb(255, 255, 255);
    font-size: xx-large;
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;


}
@media screen and (max-width: 600px){
    .footer a {
        flex: 1 1 30%;       
        font-size: 0.7rem;  
        padding: 6px 8px; 
        margin: 4px; 
        border-radius: 10px;   
        text-align: center;  
        min-width: 80px;     
      }
      .footer {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 4px;
        padding: 10px;
        background-color: rgb(226, 248, 250);
        }


}



/*DEL 2*/
#bg-video {
    position: fixed;
    bottom: 2px;
    max-width: 100%;
    height: auto;
    object-fit: cover;
    z-index: -1;
}

h1.Del2-start{
    text-align: center;
    margin-top: 100px;
    font-size: xx-large;
    font-weight: bolder;
    color: rgb(255, 255, 255);
 
}


body.del2{
    background-image: url("bilde/del2/del2.jpg");
    background-size: cover;
    background-repeat: no-repeat;
    height: 200px;
    width: 100%;
    color: aliceblue;
}

body.del2valg1{
    background-image: url("bilde/del2/del2valg1.jpg");
    background-size: cover;
    background-repeat: no-repeat;
    height: 200px;
    width: 100%;
    color: rgb(255, 255, 255);
}


h1.del2valg2{
    color: rgb(245, 206, 254);
    margin-top: 100px;
    font-size: xx-large;
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    text-align: center;
}


/*DEL 3*/

h1.Del3{
    text-align: center;
    margin-top: 100px;
    font-size: xx-large;
    font-weight: bolder;
    color: rgb(255, 251, 251)
}



body.del3meddrivstoff{
    background-image: url("bilde/del3/del3meddrivstoff.jpg");
    background-size: cover;
    background-repeat: no-repeat;
    height: 200px;
    width: 100%;
    
    
}

h1.del3meddrivstoff{
    color: rgb(0, 0, 0);
    margin-top: 100px;
    font-size: xx-large;
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    text-align: center;
}

body.del3skjaar1{
    background-image: url("bilde/del3/del3skjaar.jpg");
    background-size: cover;
    background-repeat: no-repeat;
    height: 200px;
    width: 100%;
    color: black;
}



body.del3skjaar2{
    background-image: url("bilde/del3/del3skjaar.jpg");
    background-size: cover;
    background-repeat: no-repeat;
    height: 200px;
    width: 100%;
}

h1.del3skjaar{
    color: rgb(0, 0, 0);
    margin-top: 100px;
    font-size: xx-large;
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    text-align: center;
}

body.del3valg1{
    background-image: url("bilde/del3/del3valg1.jpg");
    background-size: cover;
    background-repeat: no-repeat;
    height: 200px;
    width: 100%;
}

body.del3valg2{
    background-image: url("bilde/del3/del3valg2.jpg");
    background-size: cover;
    background-repeat: no-repeat;
    height: 200px;
    width: 100%;
}

/*DEL 4*/

body.del4{
    background-image: url("bilde/del4/del4.jpg");
    background-size: cover;
    background-repeat: no-repeat;
    height: 200px;
    width: 100%;
}

body.del4nokkel1{
    background-image: url("bilde/del4/del4nokkel1.jpg");
    background-size: cover;
    background-repeat: no-repeat;
    height: 200px;
    width: 100%;
}

body.del4nokkel2{
    background-image: url("bilde/del4/del4nokkel2.jpg");
    background-size: cover;
    background-repeat: no-repeat;
    height: 200px;
    width: 100%;
}

body.del4valg1{
    background-image: url("bilde/del4/del4valg1.jpg");
    background-size: cover;
    background-repeat: no-repeat;
    height: 200px;
    width: 100%;
}

body.del4valg2{
    background-image: url("bilde/del4/del4valg2.jpg");
    background-size: cover;
    background-repeat: no-repeat;
    height: 200px;
    width: 100%;
}

/* DEL 5 */

body.del5{
    background-image: url("bilde/del5/del5.jpg");
    background-size: cover;
    background-repeat: no-repeat;
    height: 200px;
    width: 100%;
}


h1.del5{
    color: rgb(0, 0, 0);
    margin-top: 100px;
    font-size: xx-large;
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    text-align: center;
}

body.del5valg1{
    background-image: url("bilde/del5/del5valg1.jpg");
    background-size: cover;
    background-repeat: no-repeat;
    height: 200px;
    width: 100%;
}

body.del5valg2{
    background-image: url("bilde/del5/del5valg2.jpg");
    background-size: cover;
    background-repeat: no-repeat;
    height: 200px;
    width: 100%;
}


/* DEL 6 */

body.del6{
    background-image: url("bilde/del6/del6.jpg");
    background-size: cover;
    background-repeat: no-repeat;
    height: 200px;
    width: 100%;
}

body.del6_2{
    background-image: url("bilde/del6/del62.jpg");
    background-size: cover;
    background-repeat: no-repeat;
    height: 200px;
    width: 100%;
}

body.del6framme1{
    background-image: url("bilde/del6/del6_framme1.jpg");
    background-size: cover;
    background-repeat: no-repeat;
    height: 200px;
    width: 100%;
}

body.del6framme2{
    background-image: url("bilde/del6/del6_framme2.jpg");
    background-size: cover;
    background-repeat: no-repeat;
    height: 200px;
    width: 100%;
}
