/* Imports */
@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

.poppins-regular {
    font-family: "Poppins", sans-serif;
    font-weight: 400;
    font-style: normal;
}

/*General */
*{
    margin: 0;
    padding: 0;
}

/* Navigation  desktop */

nav{
    justify-content: space-around;
    height: 16vh;
    display: flex;
}

.nav-link-left{
    gap: 5rem;
    list-style: none;
    font-size: 1.5rem;
    display: flex;
    place-items: center;
    letter-spacing: 0.1rem;
}
.nav-logo{
    list-style: none;
    display: flex;
    max-width: 100%;
    margin-top: 1rem;
}

.nav-logo img{
    width: 30rem;
    border: 2px solid #ffffff;
    place-items: center;
}

.nav-link-right{
    gap: 5rem;
    list-style: none;
    font-size: 1.5rem;
    display: flex;
    place-items: center;
    letter-spacing: 0.1rem;
}

#desktop-line {
    border: 0; /* Removes the default border */
    height: 2px; /* Sets the height of the line */
    background-color: rgb(0, 119, 255); /* Dark wooden color, or any color you prefer */
    margin: 20px 0; /* Optional: Adds space above and below the line */
}

/* NAV links */

#menu{
    font-family: "Poppins";
    font-size: 2rem;
    color: #fff;
}

#about{
    font-family: "Poppins";
    font-size: 2rem;
    color: #fff;
}

#contact{
    font-family: "Poppins";
    font-size: 2rem;
    color: #fff;
}

#takeaway{
    font-family: "Poppins";
    font-size: 2rem;
    color: #fff;

}

#takeaway:hover{
    color: rgb(0, 119, 255);
}

#contact:hover{
    color: rgb(0, 119, 255);
}

#about:hover{
    color: rgb(0, 119, 255);
}

#menu:hover{
    color: rgb(0, 119, 255);
}


a{
    color: black;
    text-decoration: none;
    text-decoration-color: white;
}

a:hover {
    color: gray;
    border: 5px;
}

#logo img{
    width: 15rem;
}

#logo:hover{
    cursor: default;
}




/*Mobil nav */

#nav-logo-mobil img{
    width: 20rem;
    border: 2px solid #ffffff;
    place-items: center;
    margin-top: 1rem;
}

#mobil-line{
    display: none;
}
#mobil{
    display: none;
}

#mobil-nav{
    position: initial;
    display: inline-block;
}

.mobil-icon{
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding-top: 50px;
    height: 24px;
    width: 30px;
    cursor: pointer;
}

.mobil-icon span{
    width: 100%;
    height: 2px;
    background-color: white;
    transition: all 0.3s ease-in-out;
}

.mobil-link{
    position: fixed; /* Fix the menu to the viewport */
    top: 0;
    left: 0;
    background-color: black;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease-in-out;
    z-index: 1000; /* Ensure it's below the icon */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.mobil-link a{
    display: block;
    padding: 10px;
    text-align: center;
    font-size: 1.5rem;
    color: black;
    text-decoration: none;
    transition: all 0.3s ease-in-out;
    width: 100%;
}

.mobil-link li{
    list-style: none;
}

.mobil-link.open{
    max-height: 100vh; /* Allow the menu to cover the entire height */
}

.mobil-icon.open span:first-child {
    transform: rotate(45deg) translate(10px, 5px);  
}

.mobil-icon.open span:nth-child(2) {
    opacity: 0;
}

.mobil-icon.open span:last-child {
    transform: rotate(-45deg) translate(10px, -5px);
}
/* Screen size */

@media screen and (max-width: 1200px) {
    #desktop{
        display: none;
    }
    #desktop-line{
        display: none;
    }
    #mobil-line{
        display: block;
    }
    #mobil{
        display: flex;
    }

    #logo{
        font-size:1.5rem;
    }
}

