/* General styles */

html {
    scroll-behavior: smooth;
    scroll-padding-top: 5vw;
}
body {
   /* Remove the scrollbar */
   ::-webkit-scrollbar {
    display: none; 
    }
    /* Apply styles to the body element */
    font-family: "Lexend", sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
a {
    text-decoration: none;
    color: inherit;
}
ul {
    margin: 0;
    list-style: none;
    line-height: 1.4;
}
h1 {
    font-size: 5vw;
    margin: 0;
    line-height: 1;
    padding: 1.25vw 0;
    
}
h2 {
    font-size: 3vw;
    margin: 0;
}
h3 {
    font-size: 2vw;
    padding: 0;
    margin: 0 0 1vw 0;
    line-height: 1.2;
}
h4 {
    font-size: 1.5vw;
    font-weight: 600;
    margin: 0;
}
p {
    font-size: 1vw;
    line-height: 1.4;
    padding: 0;
    margin: 0 0 1vw 0;
}
em {
    font-size: 0.8vw;
    font-style: normal;
}
    /* Header styles */
.header {
    background-color: #f5f5eb;
    box-shadow:  0px 5px 10px rgba(17, 17, 17, 0.2);
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    position: fixed;
    top: 0;
    left: 50%; /* Moves the left edge to the middle of the page */
    transform: translateX(-50%); /* Shifts it back by half its width */
    z-index: 100;
    width: 75vw;
    height: auto;
    padding: 0;
    margin: 2.5vw auto;
    box-sizing: border-box;
}
.header1 {
    width: auto;
    padding: 1.25vw 2.5vw;
    height: auto;
    box-sizing: border-box;
}
.header1 h3 {
    margin: 0;
}
.header2 {
    width: auto;
    padding: 2.5vw;
    margin: 0 2.5vw;
    height: auto;
    box-sizing: border-box;
}
.logo {
    width: 7.5vw;
    padding: 0;
    z-index: 100;
    margin: 0;
    box-sizing: border-box;
}
.nav {
    list-style-type: none;
    padding: 0;
    margin: 0;
    height: auto;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    font-size: 1vw;
    font-weight: 600;
    line-height: 0;
    box-sizing: border-box;
}
.nav li {
    margin: 0 2vw 0 0;
    padding: 0 0 0 0;
    box-sizing: border-box;
    position: relative;
}
.nav li::after {
    content: "";
    position: absolute;
    bottom: -2.5vw; /* Start at bottom */
    left: 0;
    width: 100%;
    height: 0;
    background-color: black;
    transition: height 0.3s ease-in-out;
}
.nav li:hover::after {
    height: 0.25vw; /* Border appears smoothly */ 
}
.nav li a {
    text-decoration: none;
}

/* Main content styles */
.main-content {
}

/* landing section styles */
.landing {
    background-color: #f5f5eb;
    position: relative;
    width: 95vw;
    margin: 0;
    padding: 0 2.5vw;
    display: flex;
    flex-direction: row;
    align-items: stretch;
    justify-content: space-between;
}
.landing-container1 {
    width: 27%;
    padding: 15% 3%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    margin: 0;
}
.landing-container2 {
    width: 60%;
    padding: 0 3%;
    margin: 0;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-end;
}
.image-landing {
    width: 100%;
    padding: 0;
    aspect-ratio: 4 / 3;
    margin: 0;
    object-fit: cover;
}

/* landing section styles */
.products {
    background-color: white;
    width: 95vw;
    margin: 0;
    padding: 5vw 2.5vw;
    display: flex;
    align-items: stretch;
    justify-content: space-between;
}
.product-container1 {
    position: relative;
    width: 27%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    padding: 5vw 3%;
    margin: 0;
}
.product-container1 h4 {
    text-decoration: underline;
    padding: 0;
}
.product-container2 {
    width: 27%;
    padding: 5vw 3%;
    display: flex;
    flex-direction: column;
    align-items: space-between;
    justify-content: flex-end;
}
.product-container2 h4 {
    padding: 0;
    margin: 0 0 -2% 0;
}
.product-container3 {
    width: 27%;
    padding: 5vw 3%;
    display: flex;
    flex-direction: column;
    align-items: space-between;
    justify-content: flex-end;
}
.product-container3 h4 {
    padding: 0;
    margin: 0 0 -2% 0;
}
.image-product {
    width: 100%;
    padding: 0 0 5% 0;
    aspect-ratio: 1.2 / 1;
    margin: 0;
    object-fit: cover;
}

/* About section styles */
.about {
    background-color: #f5f5eb;
    width: 95vw;
    padding: 5vw 2.5vw;
    height: auto;
    display: flex;
    align-items: stretch;
    justify-content: space-between;
    margin: 0;
}
.about-container1 {
    width: 27%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    padding: 0 3%;
    margin: 0;
}
.about-container2 {
    width: 60%;
    padding: 0 3%;
    display: flex;
    flex-direction: row;
    align-items: space-between;
    justify-content: flex-end;
}
.image-about {
    width: 100%;
    padding: 0;
    aspect-ratio: 4 / 3;
    margin: 0;
    object-fit: cover;
}

/* blog section styles */

.blog-h2 {
    width: 90vw;
    margin: 0;
    padding: 5vw 5vw 2.5vw 5vw;
}
.blog {
    background-color: white;
    width: 95vw;
    margin: 0;
    padding: 0 2.5vw 5vw 2.5vw;
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: space-between;
}
.blog-container1 {
    width: 27%;
    display: flex;
    flex-direction: column;
    align-items: space-between;
    justify-content: flex-end;
    padding: 0 3% 6% 3%;
    margin: 0;
}
.image-blog {
    width: 100%;
    padding: 0 0 5% 0;
    aspect-ratio: 1.2 / 1;
    margin: 0;
    object-fit: cover;
}

/* Blog pages */

.blog-entry-header {
    width: 90vw;
    padding: 10vw 5vw 5vw 5vw;
    text-align: center;
}
.blog-entry-header h1 {
    padding: 0 0 2.5vw 0;
}
.blog-entry-content {
    width: 60vw;
    padding: 5vw 20vw 5vw 20vw;
    text-align: justify;
}
.blog-entry-content h2 {
    padding: 0 0 2.5vw 0;
}
.blog-entry-content h3 {
    padding: 1vw 0;
}
.image-blog-entry {
    padding: 2.5vw 0;
    width: 100%;
    aspect-ratio: 4 / 2 ;
    object-fit: cover;
}
/* Recipe pages */
.detailed-recipe-header {
    width: 96vw;
    height: auto;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
    margin: 10.5vw 0 0 0;
    padding: 2vw;
    border-bottom: 2px solid #333;
}
.detailed-recipe-intro {
    width: 46%;
    margin: 0;
    padding: 1vw;
}
.detailed-recipe-intro-text {
    width: 100%;
    margin: 0;
    padding: 2% 0;
    
}
.detailed-recipe-intro h1 {
    width: 100%;
    padding: 0;
    margin: 0;
}
.detailed-recipe-mainimg {
    width: 30%;
    padding: 1vw 0;
    height: auto;
    aspect-ratio: 3 / 4;
    object-fit: cover;
}
.detailed-recipe-content {
    width: 96vw;
    height: auto;
    margin: 0;
    padding: 2vw;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
}
.detailed-recipe-content-ingredients {
    width: 30%;
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    flex-direction: column;
    padding: 2vw 0;
    margin: 0;
}
.detailed-recipe-content-ingredients ul {
    width: 100%;
    padding: 2vw 0 0 0;
    height: auto;
    list-style-type: none;
    font-size: 1vw;
    font-weight: 400;
    line-height: 1.8;
}
.detailed-recipe-content-instructions {
    width: calc(65% - 2px);
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
    padding: 2vw;
    border-left: 2px solid #333;
}
.detailed-recipe-content-text {
    width: 45%;
    padding: 0;
    margin: 0;
}
.detailed-recipe-content-text ol {
    list-style-position: inside;
    padding: 2vw 0;
    margin: 0 0 4vw 0;
    line-height: 1.5;
    font-size: 1vw;
}
.detailed-recipe-content-img {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    align-items: center;
    width: 46%;
    padding: 2vw;
    margin: 0;
}
.detailed-recipe-content-img-1 {
    width: 100%;
    height: auto;
    aspect-ratio: 3 / 4;
    padding: 1vw 0;
    object-fit: cover;
    margin: 0;
}

/* Footer styles */
.imprint-footer {
    width: 95vw;
    height: auto;
    background-color: #242414;
    color: #f5f5eb;
    text-align: left;
    margin: 15vw 0 0 0;
    padding: 5vw 2.5vw;
    position: relative;
    line-height: 1.2;
}
.imprint-footer h2 {
    width: 50%;
}
.imprint-content {
    margin: 8vw 0 0 0;
}
.imprint-content p {
    line-height: 0.5;
}
.imprint-content em {
    font-weight: 200;
    font-style: normal;
}


























































/* Media queries */
@media (max-width: 850px) {
    /* General Styles */
    h1 {
        font-size: 10vw;
        margin-bottom: 4vw;
    }
    h2 {
        font-size: 8vw;
        margin: 0 0 5vw 0;
    }
    h3 {
        font-size: 6vw;
        margin-bottom: 4vw;
    }
    h4 {
        font-size: 5vw;
        font-weight: 500;
        margin: 0;
        padding: 0;
    }
    p {
        font-size: 4vw;
        line-height: 1.4;
        padding: 0;
        margin: 0 0 2.5vw 0;
        text-align: justify;
    }
    em {
        font-size: 3vw;
        font-style: normal;
    }
    .header {
        background-color: transparent;
        box-shadow:  0px 5px 10px rgba(17, 17, 17, 0);
        color: #f5f5eb;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: space-between;
        position: fixed;
        top: 0;
        left: 50%; /* Moves the left edge to the middle of the page */
        transform: translateX(-50%); /* Shifts it back by half its width */
        z-index: 100;
        width: 75vw;
        height: 100vh;
        padding: 0;
        margin: 0;
        box-sizing: border-box;
    }
    .header1 {
        background-color: #242414;
        color: #f5f5eb;
        position: fixed;
        top: 0;
        width: 100vw;
        text-align: center;
        padding: 4vw;
        height: auto;
        box-sizing: border-box;
    }
    .header2 {
        background-color: #242414;
        color: #f5f5eb;
        position: fixed;
        bottom: 0;
        width: auto;
        padding: 2.5vw;
        margin: 0 2.5vw;
        height: auto;
        box-sizing: border-box;
    }
    .nav {
        width: 100vw;
        list-style-type: none;
        padding: 4vw 0;
        margin: 0;
        height: auto;
        display: flex;
        justify-content: space-evenly;
        align-items: center;
        font-size: 4vw;
        font-weight: 600;
        line-height: 0;
        box-sizing: border-box;
    }
    .nav li {
        margin: 0 4vw 0 0;
        padding: 0 0 0 0;
        box-sizing: border-box;
        position: relative;
    }
    .nav li::after {
        content: "";
        position: absolute;
        bottom: -6vw; /* Start at bottom */
        left: 0;
        width: 100%;
        height: 0;
        background-color: #f5f5eb;
        transition: height 0.3s ease-in-out;
    }
    .nav li:active::after {
        height: 1vw; /* Border appears smoothly */
    }

    /* landing section */

    .landing {
        background-color: #f5f5eb;
        position: static;
        width: 80vw;
        margin: 0;
        padding: 25vw 10vw 0 10vw;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }
    .landing-container1 {
        width: 100%;
        display: flex;
        flex-direction: column;
        justify-content: center;
        padding: 0 0 10vw 0;
        margin: 0;
    }
    .landing-container2 {
        width: 100%;
        padding: 0;
        margin: 0;
        display: flex;
        flex-direction: column;
        align-items: space-between;
        justify-content: flex-end;
    }
    .image-landing {
        width: 100%;
        padding: 0 0 10vw 0;
        aspect-ratio: 4 / 3;
        margin: 0;
        object-fit: cover;
    }

    /* product section */
    .products {
        background-color: white;
        width: 80vw;
        margin: 0;
        padding: 20vw 10vw;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        justify-content: space-between;
    }
    .product-container1 {
        width: 100%;
        padding: 0 0 20vw 0;
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        align-items: flex-start;
        margin: 0;
    }
    .product-container1 h4 {
        position: static;
    }
    .product-container2 {
        width: 100%;
        padding: 10vw 0;
        display: flex;
        flex-direction: column;
        align-items: space-between;
        justify-content: flex-end;
    }
    .product-container2 h4 {
        padding: 0;
        margin: 0;
    }
    .product-container3 {
        width: 100%;
        padding: 10vw 0;
        display: flex;
        flex-direction: column;
        align-items: space-between;
        justify-content: flex-end;
    }
    .product-container3 h4 {
        padding: 0;
        margin: 0;
    }
    .image-product {
        width: 100%;
        padding: 0 0 5vw 0;
        aspect-ratio: 1 / 1;
        margin: 0;
        object-fit: cover;
    }

    /* about section */
    .about {
        width: 80vw;
        flex-direction: column;
        height: auto;
        margin: 0;
        padding: 20vw 10vw;
    }
    .about-container2 {
        width: 100%;
        padding: 0;
        margin: 0;
        display: flex;
        flex-direction: column;
        align-items: space-between;
        justify-content: flex-end;
    }
    .about-container1 {
        width: 100%;
        padding: 0 0 10vw 0;
        margin: 0 auto;
    }
    .image-about {
        width: 100%;
        height: auto;
        padding: 0;
        aspect-ratio: 4 / 3;
    }

    /* blog section */
    .blog-h2 {
    width: 95vw;
    margin: 0;
    padding: 5vw 2.5vw;
    }
    .blog {
        position: relative;
        background-color: white;
        width: 95vw;
        margin: 0;
        padding: 5vw 2.5vw;
        display: flex;
        align-items: flex-start;
        justify-content: space-between;
    }
    .blog-container1 {
        width: 27%;
        display: flex;
        flex-direction: column;
        justify-content: center;
        padding: 0 3%;
        margin: 0;
    }
    .blog-container1 h4 {
        text-decoration: underline;
        padding: 0 0 2.5% 0;
    }
    .blog-container2 {
        width: 27%;
        padding: 0 3%;
        display: flex;
        flex-direction: column;
        align-items: space-between;
        justify-content: flex-end;
    }
    .blog-container3 {
        width: 27%;
        padding: 0 3%;
        display: flex;
        flex-direction: column;
        align-items: space-between;
        justify-content: flex-end;
    }
    .image-blog {
        width: 100%;
        padding: 0 0 5% 0;
        aspect-ratio: 1.2 / 1;
        margin: 0;
        object-fit: cover;
    }

    /* recipe pages */
    .detailed-recipe-intro {
        width: 100%;
    }
    .detailed-recipe-intro h1 {
        width: 98%;
        text-align: left;
        padding: 1%;
    }
    .detailed-recipe-intro-text {
        width: 98%;
        padding: 1%;
        margin: 0;    
    }   
    .detailed-recipe-header {
        width: 92vw;
        padding: 4vw;
        margin: 33vw 0 0 0;
        border-bottom: 2px solid #333;
        flex-direction: column-reverse;
    }
    .detailed-recipe-mainimg {
        width: 100%;
        height: 120vw;
    }
    .detailed-recipe-content {
        margin: 8vw 0 0 0;
        padding: 4vw;
        width: 92%;
        flex-direction: column;
        border-bottom: 0px;
    }
    .detailed-recipe-content-ingredients {
        width: 100%; 
        padding: 0;
        border-right: 0px;
    }
    .detailed-recipe-content-ingredients ul li {
        font-size: 4vw;
        font-weight: 400;
        line-height: 1.6;
    }
    .detailed-recipe-ingredients {
        padding: 0;
        width: 100%;
        display: flex;
        flex-direction: column;
    }
    .detailed-recipe-content h3 {
        width: 96%;
        font-weight: 600;
        line-height: 1;
        margin: 0;
        padding: 0 2vw;
    }
    .detailed-recipe-content h4 {
        width: 96%;
        margin: 0;
        padding: 0 2vw;
    }
    .detailed-recipe-content-ingredients ul {
        width: 98%;
        height: auto;
        padding: 4vw 0 0 2vw;
        list-style-type: none;
    }
    .detailed-recipe-content-ingredients ul h4 {
        width: 100%;
        height: auto;
        padding: 0;
    }
    .detailed-ingredients-columns {
        width: 100%;
    }
    .detailed-recipe-content-instructions {
        width: 96%;
        padding: 2vw;
        flex-direction: column;
        border-left: 0px solid #333;
    }
    .detailed-recipe-content-text {
        width: 100%;
        padding: 8vw 0 0 0;
        margin: 0;
    }
    .detailed-recipe-content-text h3 {
        width: 100%;
        font-weight: 600;
        line-height: 1;
        margin: 0;
        padding: 0;
    }
    .detailed-recipe-content-text ol {
        list-style-position: inside;
        padding: 2vw 0;
    }
    .detailed-recipe-content-text ol li {
        padding: 1vw 0;
        margin: 0;
        line-height: 1.4;
        font-size: 4vw;
    }
    .detailed-recipe-content-img {
        width: 100%;
        padding: 0;
        margin: 0;
    }
    .detailed-recipe-content-img-1 {
        width: 100%;
        padding: 2vw 0;
        height: 90vw;
    }

    /* Footer styles */
    .imprint-footer {
        width: 90%;
        text-align: left;
        margin: 0;
        padding: 15vw 5vw 25vw 5vw;
    }
    .imprint-content {
        margin: 40% 0 5% 0;
        }
    .imprint-content p {
        line-height: 0.6;
        padding: 2vw 0 0 0;
    }
    .imprint-footer h2 {
    width: 100%;
    }
}


@media (min-width: 2000px) {

}

