* { margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Lato', sans-serif;}

/*@media screen and (min-width: 320px) and (max-width: 640px) {
    body { background: #02344b;
    box-sizing:border-box;
    max-width: 50%; 
    border-left: 5px;
    border-right: 5px;
    padding-left: 20px;
    padding-right: 20px;
    h1 { text-align: center; font-size: 20px; margin-top: 50px; letter-spacing: 3px;}
} 
    */

    nav ul {
        list-style-type: none;
        padding: 0;
        display: flex;
        justify-content: space-around;
        background-color: #103a4b;
    }
    
    nav ul li {
        margin: 0;
    }
    
    nav ul li a {
        display: block;
        padding: 10px 20px;
        color: rgba(255, 255, 255, .6);
        text-decoration: none;
        text-align: center;
    }
    
    nav ul li a:hover {
        background-color: #587482;
        color: #fff; 
        font-weight: 500;}

@media screen and (max-width: 640px)  {
    div#wrapper { width: 100%;
    background: #102933;}
    
    header {
    height: 80px;
    background: #587482;
    }
    nav{
        height: 40px;
        color:rgba(255, 255, 255,.6);
        background: #103a4b;
        text-align: center;
        line-height: 40px;
    }
    

    h2 {
        font-size: px;
        font-weight:900;
        text-align: center;
        color:rgba(255,255,255,.7);
        margin: 40px 0 20px; 
    }

   

  

.nyheder article {width: 100%; padding: 0 20px;}

.nyheder article img {max-width: 100%; display: block;}

.nyheder article div {background: #103a4b;}

.nyheder article h3 { font-size: 22px; text-align: center; color:rgba(255, 255, 255,.3); padding-top: 10px;}

.nyheder article p { font-size: 14px; text-align: center; color:rgba(255, 255, 255,.6); padding: 5px 15px 25px;}

footer{ background: #2d3133; padding:20px;}

address { font-size: 14px; color:rgba(255,255,255,.7); text-align: center; font-style: normal;}

}


@media screen and (min-width: 641px) and (max-width: 768px) {
    body { background: #02344b; }
    h1 { text-align: center; font-size: 30px; margin-top: 250px; letter-spacing: 3px;}

    div#wrapper { width: 100%;
        background: #102933;}
        
        header {
        height: 80px;
        background: #587482;
        }
        nav{
            height: 70px;
            color:rgba(255, 255, 255,.6);
            background: #103a4b;
            text-align: center;
        }

        nav a {
            font-size: 20px;;
            margin-top: 15px;
        }
        h2 {
            font-size: 30px;
            font-weight:900;
            text-align: center;
            color:rgba(255,255,255,.7);
            margin: 20px 0 20px; 
        }

        
      
        
    
        .nyheder {display: flex; flex-direction: row; justify-content: space-between; flex-wrap: wrap;}    

.nyheder article {width: 50%; padding: 0 20px;}

    .nyheder article img {max-width: 100%; display: block;}
    
    .nyheder article div {background: #103a4b;}
    
    .nyheder article h3 { font-size: 22px; text-align: center; color:rgba(255, 255, 255,.3); padding-top: 10px;}
    
    .nyheder article p { font-size: 14px; text-align: center; color:rgba(255, 255, 255,.6); padding: 5px 15px 25px;}
    
    footer{ background: #2d3133; padding:20px;}
    
    address { font-size: 14px; color:rgba(255,255,255,.7); text-align: center; font-style: normal;}
}

@media screen and (min-width: 769px) {
    body { background: #02344b; }
    h1 { text-align: center; font-size: 90px; font-weight: 900; margin-top: 350px; letter-spacing: 10px; }

    div#wrapper { width: 100%;
        background: #102933;}
        
        header {
        height: 80px;
        background: #587482;
        }
        nav{
            height: 40px;
            color:rgba(255, 255, 255,.6);
            background: #103a4b;
            text-align: center;
            line-height: 40px;
        }
        h2 {
            font-size: 35px;
            font-weight:900;
            text-align: center;
            color:rgba(255,255,255,.7);
            margin: 40px 0 20px; 
        }

        nav ul {justify-content: right;
            padding-right: 40px;}

        .nyheder {display: flex; flex-direction: row; justify-content: space-between; flex-wrap: wrap;}    

    
    .nyheder article {width: 25%; padding: 0 20px;}
    
    .nyheder article img {max-width: 100%; display: block;}
    
    .nyheder article div {background: #103a4b;}
    
    .nyheder article h3 { font-size: 22px; text-align: center; color:rgba(255, 255, 255,.3); padding-top: 10px;}
    
    .nyheder article p { font-size: 14px; text-align: center; color:rgba(255, 255, 255,.6); padding: 5px 15px 25px;}
    
    footer{ background: #2d3133; padding:20px; margin-top: auto;}
    
    address { font-size: 14px; color:rgba(255,255,255,.7); text-align: center; font-style: normal;}
}

@media screen and (min-width: 768px) and (max-width: 866px) {
    .nyheder article h3{font-size: 1em;}
}

html, body {
    height: 100%;
}

body {
    display: flex;
    flex-direction: column;
}

#wrapper {
    display: flex;
    flex-direction: column;
    flex-grow: 1; }