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

html{scroll-behavior: smooth;}

html, body{ 
    height: 100%; 
    width: 100%; 
    margin: 0; 
}

body{
    font-family: 'Gothic A1', sans-serif;
    font-family: 'Roboto', sans-serif;
}

/*GENERELLE MODIFICERINGER*/

.alinknostyling{
    text-decoration: none;
}

.underline{
    border-style: solid;
    border-width: 0 0 0.5px 0;
    padding-bottom: 2px;
}

/*SLUTNING PÅ GENERELLE MODIFICERINGER*/


/*FARVER*/

.textcolor{color: #2F373B}

.textcolor2{color: #F2EEE9}

.bg1{background-color: #d7d4cf;} /*header, body, CV, footer*/

.bg2{background-color: #F2EEE9;} /*main*/

.bg3{background-color: #323C3F;} /*knapper og mobilenav*/

/*SLUTNING PÅ FARVER*/


/*TEKSTTYPER*/

h1{
    font-size: 50px;
    font-family: 'Gothic A1', sans-serif;
    font-weight: 100;
    margin: auto;
}

h2{
    font-size: 25px;
    font-family: 'Gothic A1', sans-serif;
    font-weight: 700;
    margin: auto;
}

h3{
    font-size: 25px;
    font-family: 'Gothic A1', sans-serif;
    font-weight: 400;
    margin: auto;
}

h4{
    font-size: 25px;
    font-family: 'Gothic A1', sans-serif;
    font-weight: 100;
    border-style: solid;
    border-width: 0 0 0.5px 0;
    padding-bottom: 5px;
    margin-bottom: 20px;
    display: inline-block;
}

h5{
    font-size: 17px;
    font-family: 'Gothic A1', sans-serif;
    font-weight: 400;
    margin: 0 0 5px 0;
}

h6{
    font-size: 10pt;
    font-family: 'roboto', sans-serif;
    font-weight: 100;
    margin: 0 0 7px 40px;
}

h7{
    font-family: 'roboto', sans-serif;
    font-size: 15pt;
    opacity: 0.5;
}

.p{
    font-family: 'Roboto', sans-serif;
    font-weight: 100;
}

/*SLUTNING PÅ TEKSTTYPER*/


/*RUL TIL TOPPEN KNAP*/

#topknap {
   /* display: none; /* Hidden by default */
    position: fixed; /* Fixed/sticky position */
    bottom: 20px; /* Place the button at the bottom of the page */
    right: 35px; /* Place the button 30px from the right */
    z-index: 3; /* Make sure it does not overlap */
    border: none; /* Remove borders */
    outline: none; /* Remove outline */
    cursor: pointer; /* Add a mouse pointer on hover */
    padding: 15px; /* Some padding */
    border-radius: 27px; /* Rounded corners */
    font-size: 18px; /* Increase font size */
}

#topknap:hover {background-color: #2B3335;}

.toparrow{
    width: 25px;
    padding: 3px 0 3px 0;
}

/*SLUTNING PÅ RUL TIL TOPPEN KNAP*/



/*NAVIGATION*/

.nav{
    display: flex;
    top: 0px;
    justify-content: center;
    z-index: 3;
    width: 100%;
    position: fixed;
}

.nav > li{
    margin: 0;
    font-size: 15px;
    text-align: center;
    font-family: 'Gothic A1', sans-serif;
    list-style-type: none;
}

.anav{
    padding: 20px;
    display: block;
}
.anav:hover{
    color: #bbb;
    text-decoration-color: #bbb;
}

.home{
    height: 59px;
    position: fixed;
    z-index: 4;
    padding: 20px 15px;
    font-size: 15px;
}

.home:hover{
    color: #bbb;
    text-decoration-color: #bbb;
}

.home:hover > img{opacity: 90%;}

.homearrow{
    width: 15px;
    margin-right: 7px;
}

/*MOBIL NAVIGATION*/

.mobilenavcontainer{display: none;}

.menu{
    height: 54px;
    position: fixed;
    z-index: 5;
    padding: 20px 15px;
    left: 20px;
    top: 20px;
    border-radius: 27px;
    border: none;
    outline: none;
}

.menuicon{
    width: 25px;
    margin-top: -1px;
}

.mobilenav{
    opacity: 0;
    max-height: 0;
    max-width: 0;
    overflow: hidden;
    position: fixed;
    left: 20px;
    top: 20px;
    z-index: 4;
    border-radius: 27px;
    transition: 0.2s ease-in;
    width: 220px;
}

.mobilenavexpand{
    opacity: 1;
    max-width: 1000px;
    max-height: 590px;
    padding: 54px 15px 5px 15px;
    transition: 0.2s ease-out;
}

.mobilenav > li {list-style-type: none;}

.hidemenu{
    /*Div der dækker siden når mobilenav er åben*/
    display: none;
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: 3;
}

.hidemenushow{display: block;}

.mobilelist{
    padding: 15px 10px;
    display: block;
}

.mobilelist2{
    font-size: 10pt;
    padding: 20px 10px;
    display: block;
}

.downloadarrow{
    height: 13px;
    margin-left: 5px;
}

.mobilelisthome{
    width: 107px;
    padding: 15px 10px;
    display: inline-block;
    position: absolute;
    top: 4px;
    margin-left: 85px;
}


/* CSS for animated block to none
.hidden {display: none;} .visuallyhidden {opacity: 0;}
*/

/*SLUTNING PÅ MOBIL NAVIGATION*/

/*SLUTNING PÅ NAVIGATION*/


/*FIXED BACKGROUND*/

.fixed-bg{
    background-image: url("img/lamper/img1-wide.jpg");
    min-height:  calc(100vh - 220px);
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size:cover;
}

.mobilebg{
    width: 100vw;
    position: fixed;
    overflow: hidden;
    display: none;
    align-items: center;
    text-align: center;
    align-content: center;
}

.mobilebgimg{
    align-items: center;
    text-align: center;
    align-content: center;    
    width: 133vw;
    transform: translateX(-25%);
}

.bgitems{
    width: 70vw;
    display: flex;
    margin-left: 15vw;
    margin-top: 27vh;
    position: fixed;
}

.bgtext{
    flex: 60%;
    align-items: flex-end;
    color: #2B3335;
}

.logo{
    height: 40px;
}

.downloadcontainer{
    display: flex; 
    position: fixed;
    bottom: 230px;
    width: 70vw;
    margin-left: 15vw;
}

.download{
    width: 157px;
    font-weight: 100;
    margin: 0 auto 15px auto;
}

.bgtextright{
    flex: 40%;
    text-align: center;
}

.profilepicture{
    width: 20vw;
    max-width: 250px;
}

/*SLUTNING PÅ FIXED BACKGROUND*/


main{
    position: relative;
    font-size: 12pt;
    font-weight: 100;
}

#topspacer{height: 40px;}

/*PROJEKTER RULLEKNAP*/

.arrowcenter{
    text-align: center;
    padding-top: 25px;
    display: flex;
    justify-content: center;
}


.arrowlinkbox{
    height: 80px;
    width: 120px;
    cursor: pointer;
}

.arrowscroll{
    height: 20px;
    margin-top: 5px;
}

.arrowlinkbox:hover{opacity: 75%;}

/*SLUTNING PÅ PROJEKTER RULLEKNAP*/


/*HOVEDINDHOLD*/

/*Container som alt portfolioindhold ligger i. 
kollapsknap forsvinder bag den*/
.maincontent{ 
    z-index: 2;
    position: relative;
}

.sectionspacer{height: 95px;}

/*BANNER*/

.bannerspacer{height: 55px;}

.bannerbox{
    width: 100%;
    height: 30vh;
    max-height: 300px;
    overflow: hidden;
    position: relative;
    opacity: 80%;
}

.bannerimage{
    min-height: 100%;
    width: 100%;
    position:absolute;
    left: -9999px;
    right: -9999px;
    margin: auto;
}

#bottombanner{bottom: 0;}

#centerbanner{
    top: -9999px;
    bottom: -9999px;
}

/*KASSER MED TEKST OG BILLEDER*/

.contentbox{
    display: flex;
    max-width: 70vw; /*Juster bredde/størrelse af indhold*/
    margin: auto;
}

.contentleft{
    max-width: 700px;
    padding: 20px;
    padding-left: 40px;
    margin-left: auto;
    width: 50%;
}

.maintext{
    line-height: 20px;
    padding-top: 50px;
}

.contentright{
    max-width: 700px;
    padding: 20px;
    margin-right: auto;
    width: 50%;
}


/*GALLERI*/

/*the fullscreen overlay for zoom*/
#overlay1, #overlay2, #overlay3, #overlay4, #overlay5, 
#overlay6, #overlay7, #overlay8, #overlay9, #overlay10, 
#overlay11, #overlay12, #overlay13, #overlay14, #overlay15, 
#overlay16, #overlay17, #overlay18, #overlay19, #overlay20, 
#overlay21, #overlay22, #overlay23, #overlay24, #overlay25, 
#overlay26, #overlay27, #overlay28, #overlay29, #overlay30, 
#overlay31, #overlay32, #overlay33, #overlay34, #overlay35, 
#overlay36, #overlay37, #overlay38, #overlay39, #overlay40, 
#overlay41, #overlay42, #overlay43, #overlay44, #overlay45, 
#overlay46, #overlay47, #overlay48, #overlay49, #overlay50, 
#overlay51, #overlay52, #overlay53, #overlay54, #overlay55,
#overlay56, #overlay57, #overlay58, #overlay59, #overlay60, 
#overlay61, #overlay62, #overlay63, #overlay64, #overlay65,
#overlay66, #overlay67, #overlay68, #overlay69, #overlay70,
#overlay71, #overlay72, #overlay73, #overlay74, #overlay75,
#overlay76, #overlay77, #overlay78, #overlay79, #overlay80,
#overlay81, #overlay82, #overlay83, #overlay84, #overlay85,
#overlay86, #overlay87, #overlay88, #overlay89, #overlay90,
#overlay91, #overlay92, #overlay93, #overlay94, #overlay95, 
#overlay96, #overlay97, #overlay98, #overlay99, #overlay100{
    position: fixed;
    display: none;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0,0,0,0.8);
    z-index: 99;
    cursor: pointer;
}

/*the container in which the zoomed image is*/
.zoombox{
    position: absolute;
    text-align: center;
    top: 50%;
    left: 50%;
    color: white;
    transform: translate(-50%,-50%);
}

/*class for images with zoom*/
.zoomimage{
    max-width: 100vw;
    max-height: 70vh;
}

/* gallery on photography page*/
/*horizontal*/
.galleryrow{
    display: flex;
    flex-wrap: wrap;
    padding: 0px 5px;
}
/*vertical*/
.gallerycolumn {
    flex: 50%;
    max-width: 50%;
    padding: 0 5px;
}

.scaleimg{
    margin-top: 10px;
    width: 100%;
    overflow: hidden;
}

.galleryimg{
    vertical-align: middle;
    width:100%;
    cursor: pointer;
    transition: all 0.7s;
}

.galleryimg:hover{transform: scale(1.05);}

.gallerysingle{
    text-align: center;
}

.galleryimgnoeffect{
    vertical-align: middle;
    align-content: center;
    width:80%;
}

/*SLUTNING PÅ HOVEDINDHOLD*/


/*FOOTER*/

footer{position: relative;}

.footercontainer{
    display: flex;
    width: 50%;
    margin: auto;
    padding-top: 90px;
    padding-bottom: 90px;
    line-height: 50px;
}

.footerbox1{flex: 50%;}

.footerbox2{
    flex: 50%;
    text-align: right;
}

.footertext{
    display: block;
    font-size: 20px;
    font-weight: 100;
}

/*.footertext > a{opacity: 50%;}*/

.footerlink:hover{ opacity: 0.25} 

/*SLUTNING PÅ FOOTER*/

@media screen and (max-width:1200px){
    
    h1{font-size: 40px;}
    
    .anav{padding: 20px 10px;}
    
    .nav{  
    width: calc(100% - 80px);
    left: 80px;
    }
    
    .home{
        font-size: 12px;
        height: 55px;
    }
    
    .nav > li{font-size: 12px;}
    
    .galleryrow{width: 30vw;}
    
    .cvsection2{flex-direction: column;}
    
    .footertext{font-size: 18px}
}

@media screen and (max-width:850px){
    
    
    
    h1{font-size: 9vw;}
    
    .nav{display: none;}
    
    .mobilenavcontainer{display: block;}
    
    .home{display: none;}
    
    .fixed-bg{
        background-image: none;
        min-height:  calc(100vh - 200px);
    }
    
    .mobilebg{display: block;}
    
    .bgitems{
        flex-direction: column;
        margin-top: 12vh;
    }
    
    .bgtextright{
        text-align: center;
        padding-top: 7vh;
    }
    
    .logo{
        height: 30px;
    }
    
    .profilepicture{
        width: 50vw;
        max-width: 250px;
    }
    
    #topspacer{height: 20px;}
    
    .contentbox{
        flex-direction: column;
        max-width: 1800px;
        margin: auto;
    }
    
    .contentleft{
        max-width: 95%;
        margin: auto;
        padding-left: 20px;
        width: auto;
    }
    
    .maintext{
        padding: 0;
        font-size: 14px;
    }
    
    .contentright{
        margin: auto;
        width: auto;

    }
    
    .zoomimage{
        max-width: 100vw;
        max-height: 55vh;
    }
    
    .sectionspacer{
        height: 75px;
        border-bottom: 2px solid ;
        width: 95%;
        margin: auto;
    }
    
    .bannerspacer{height: 75px;}
    
    .footercontainer{
        flex-direction: column;
        width: 70%;
    }
    
    .footerbox2{
        padding-top: 15px;
        margin-top: 15px;
        border-top: 1px solid;
        text-align: left;
    }
    
    .cvbutton{
    padding: 0;
    margin: 0;
    }
    
    /*opacity hover*/
    .cvbutton:hover, .arrowlinkbox:hover{opacity: 1;}
    .footerlink:hover{ opacity: 0.5} 
    
    /*transform hover*/
    .galleryimg:hover{transform: none;}
    
    /*background-color: #2B3335 hover*/
    #topknap:hover, #kollapsknap:hover{ background-color: #323c3f;}
    
    .cvsection{flex-direction: column;}
    
    .cvabout{margin-top: 30px;}
    
    .cvmargin{margin: 40px 30px;}
    
    .cvbtn1{margin: auto 0 auto 20px;}
    
    .cvbtn2{margin: auto 20px auto 0;}
    
    .cvheader2{display: none;}
    
    .cvsubbutton{display: flex;}
    
    .cvspacer{height: 20px;}
    
    .cvpoints > div{margin: 0 0px 40px 0px;}
    
    .downloadcontainer{display: none;}
    
    .galleryrow{width: 100%;}
}

@media screen and (max-width:505px){
    
    .cvyear > div, h5{margin-top:20px}
    
    .bannerimage{
        height: 100%;
        width: auto;
        min-width: 100%;
    }
    
    .cvaboutcontent{column-count: 1;}
}