*{
    margin: 0;
}
h2{
    font-size: 1rem;
    margin: 1rem 0;
}


                                        /*Header*/



#fragt{
    width: 100%;
    background-color: #06550c;
    /*background-color: #4373cd;*/

    height: 40px;
    font-family: 'InterRegular', sans-serif;
    font-size: 12px;
}

#fragt a{
    color: white;
    text-decoration: none;
}
header{
    display: flex; 
    justify-content: space-between; 
    align-items: center;
    background-color: rgb(248, 238, 225, 0.7); /*header baggrundsfarven*/
    position: sticky; /*headeren er sticky*/
    top: 0; /*ikke noget whitespace mellem header og toppen af siden*/
    justify-content: center;
    z-index: 10; 
}
#laptopnav{
    display: flex;
    align-items: center;
    justify-content:center;
    gap: 3rem;
    padding-left: 9%;
    padding-right: 1%;
    width: 100%;

}



header img{
    margin: 0px;
    padding: 0px;
    width: 30px
}

header div img{
    width: 35%;
    top: 0;
    margin-left: 60px;
    margin-right: 70px;
    
}

header a{
    color: black;
    text-decoration: none;
    
    font-size: 16px;
    font-weight: bold;
    
}

header a:hover{
    text-shadow: 2px 4px 4px #746441; /* Shadow effect on hover */
    transition: color 0.3s ease; /* Smooth transition for hover effect */
}

/* Style for the dropdown container */
nav ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

nav ul li {
    display: inline-block;
    position: relative;
}

nav a {
    text-decoration: none;
    padding: 15px;
    display: block;
    text-align: center;
    justify-content: center;

}

/* Style for the dropdown link */
nav .dropdown:hover .dropdown-content {
    display: block;
}

                                    
nav ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

nav ul li {
    display: inline-block;
    position: relative;
}

nav a {
    text-decoration: none;
    
    display: block;
}
.logo{
    display: flex;
}
.logo a{
    flex-direction: column;
    text-align: center;
    
}

/* Style for the dropdown link */
nav .dropdown:hover .dropdown-content {
    display: block;
}

/* Skjul dropdown menuen som default */
nav .dropdown-content {
    display: none;
    position: absolute;
    background-color: #ffffff;
    min-width: 160px;
    z-index: 4;
}

nav .dropdown-content li {
    display: block;
    text-align: left;
}

nav .dropdown-content li a {
    padding: 8px 16px;
}






#menu-toggle{
    display: none; /* Hide the checkbox by default */
}


#burger, #logomobil{
    width:50px;
    height: 50px;
    display: none;
    margin-right: 4%;
    margin-bottom: 1rem;
    cursor: pointer;
    z-index: 10;
}

#mobile-nav{
    display: none;
    flex-direction: column;
    position: absolute;
    top: 48px; 
    right: 0;
    width: 40%;
    height: 65vh;
    background-color: rgb(228, 212, 191,0.9); 
    z-index: 8; 
    padding: 20px 10px;
    box-shadow: 0 8px 4px rgba(0, 0, 0, 0.2);
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: #016b08 #ffffff;
}

#mobile-nav a{
    width: 100%;
    text-align: right;
}

#menu-toggle:checked + label + #mobile-nav {
    display: flex; 
}

#mobile-nav ul{
    list-style-type: none;
    padding: 0;
    margin: 0;
    text-align: right;
}

#mobile-nav ul .værksteder-dropdown{
    display: none;
    flex-direction: column;
    padding: 0;
    margin: 0;
    list-style-type: none;
    text-align: right;
}

#mobile-nav ul .værksteder-dropdown li{
    margin: 0;
    padding: 10px 0;
}

#mobile-nav ul .værksteder-dropdown li a{
    text-decoration: none;
    color:#000000;
    text-shadow: #989595 2px 2px 2px;
    font-family: 'InterMedium', sans-serif;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 2px;
    display: block;
    padding: 10px 0;
}

#værksteder-toggle:checked + label + .værksteder-dropdown {
    display: flex; /* Show the dropdown when the checkbox is checked */
}

#mobile-nav li{
    margin: 10px 0;
    width: 100%;
}

#mobile-nav li a, #mobile-nav label[for="værksteder-toggle"]{
    text-decoration: none;
    color:#000000;
    font-family: 'InterBold', sans-serif;
    font-size: 16px;
    text-transform: uppercase;
    display: block;
    padding: 10px 0;
    width: 100%;
}

#mobile-nav label[for="værksteder-toggle"]{
    cursor: pointer;
}










                            /*FOOTER*/


footer{
    display: flex;
    flex-direction: row;
    background-color: #f8eee1;
    width: 100%;
    padding: 30px 10px 30px 100px;
    color:#835332;
    justify-content: center;
    margin-top: 5rem;
}

footer div{
    display: flex;
    gap: 30px;
}
footer section{
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    text-align: left;
    width: 50%;
    line-height: 15px;
    
}


footer a, footer p{
    color:#000000;
    font-size: 15px;
    font-family: 'InterRegular', sans-serif;

}
footer h2{
    font-size: 1.1rem;
}

#socialmedia{
    display: flex;
    flex-direction: row;
    justify-content: left;
    gap: 10px;
}
#socialmedia img{
    width: 70%;
}

#økomærker{
    width: 100%;
    padding-top: 15%;
    padding-left: 20%;
}

#økomærker img{
    display: flex;
    width: 25%;
   
    flex-direction: row;
    aspect-ratio: 3/2;
    object-fit: contain;    
}



@media screen and (max-width:600px){
     header{
        padding-left: 20px;
        padding-right: 20px;
        height: 3rem;
    }
    header a:hover{
        text-shadow: none;
        transition: none; 
    }
    #laptopnav{
        display: none;
    }
    #burger{
        display: block;
        margin-top: 1rem;
    }  
    #logomobil{
        display: block;
        margin-top: 2rem;
        justify-content: space-between;
        padding-right: 20rem;
    }

    footer div{
        display: flex;
        flex-direction: column;
        margin-left: -20%;
    }

    #socialmedia{
        margin-left: 10%;
    }

    #økomærker{
        flex-direction: row;
        margin-left: 90%;
    }










}
