*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


 
body{
    display: flex;
    position: relative;
    flex-direction: column;
    background-color:rgb(17, 6, 63);
    margin: 5px;

}




/*billeder*/
img{
    max-width: 100%;
    height: auto;
    display: block;
}


/*---header---*/
.site-header{
    background-color: rgb(11, 11, 39);
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: space-evenly;
    height: 130px;
    max-width: 100%;
    margin: 0 auto;
    margin-top: 1em;
    margin-bottom: 10px;
    box-shadow: 0px 10px 5px rgba(91, 102, 255, 0.3);
    
}
   

   

.logo{
    float: left;
    margin-bottom: 5px;
    margin-left: 200px;
    margin: auto;
    max-height: 130px;
    width: auto;
    
 }



  /* Navigation menu styles*/

header nav{
    display: flex;
    padding: 1em;
    align-self: center;

  

    
}



nav ul{
    display: flex;
    justify-self: end;
    align-self: center;
    list-style-type: none;
    margin-left: 30px;
}

nav li {
    display: inline-block;
   padding: 1em;
   margin-right: 20px;

    
}

nav a {
    text-decoration: none;
    color: white;
    font-size: 25px;
    font-family: Arial, Helvetica, sans-serif;
    font-weight: normal;
    font-style: normal;
    
}



  
/*----------Hovedindhold-----------*/

.section{
    margin-top: 100px;
    margin-bottom: 30px;

}

.image-width-text-container{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: auto;
    max-width: 100%;
    margin-top: 50px;
    margin-bottom: 50px;
    margin-left: auto;
    margin-right: auto;
    object-fit: contain;
   
}

.image-width-text-container h1{
    align-self: center;
    font-size: 30px;
    color: white;
    font-style: normal;
    font-family: Arial, Helvetica, sans-serif;
}


.image-width-text-container img{
    display: flex;
    align-self: center;
    width: 70%;
    max-width: 100%;
    height: auto;
    margin-bottom: 30px;
    border-color: white;
    border-style: solid;
    border-width: 1px;
}


.text-block{
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    margin-left: 15px;
    margin-right: 15px;
    margin-top: 20px;
    line-height: 2;
    max-width: 100%;
    width: 70%;
    font-size: 20px;
    color: white;
    font-family: Arial, Helvetica, sans-serif;
    font-weight: normal;
    border-bottom: 3px #014397 solid;
    padding-bottom: 1em;
}




.image-tekst{
    display: flex;
    flex-direction: column;
    gap: 30px;
    padding: 30px 20px;
    margin-top: 30px;
    margin-bottom: 30px;
    text-align: center;
    max-width: 100%;
    width: 80%;
    height: auto;
    margin: auto;
    background-color: white;
    box-shadow: 0px 10px 5px rgba(109, 119, 255, 0.3);
    

}

.image-tekst img{
    max-width: 100%;
    height: auto;
    margin-top: 15px;
    object-fit: cover;
}

.top-text h2{
    margin-bottom: 15px;
    align-self: center;
    color: black; 
    font-family: Arial, Helvetica, sans-serif;
    font-size: 30px;
}
 

.bottom-text li{
    margin-bottom: 20px;
    margin-top: 20px;
    
    font-size: 20px;
    font-family: Arial, Helvetica, sans-serif;
    color:black;
    list-style-type: none;

           
}





.footer-content{
    display: flex;
    flex-direction: column;
    background-color: rgb(11, 11, 39);
    height: 400px;
    align-items: center;
    text-align: center;
      
}

.footer-logo{
    margin-top: 30px;
    margin-bottom: 30px;
}

.footer-logo img{
    max-width: 130px;
    height: auto;

}




@media only screen and (max-width: 850px){
    main{
        width: 100%;
    }
    body{
        margin: 0;
    }
} 


/*---en stor skærm--*/
@media (min-width: 1300px){
    .image-width-text-container{
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        text-align: left;
    }
    
   .image-width-text-container img{
         width: 45%;
   }
    
   .image-tekst{
    flex-direction: row;
    justify-content: center;
    text-align: center;
    max-width: 100%;
   }

   .image-tekst img{
    width: 40%;
    height: auto ;
   }

   .top-text{
    width: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-left: 20px;
   }
}
   