body {
    padding: 0;
    font-family: "Futura";
    margin: 0 auto;
    overflow-x: hidden;
    width: 100%;

}

#box {
    width: 20%;
    height: 20%;
    border-radius: 20%;
    top: 50%;
    left: 50%;
    z-index: 1000;
    background-color: red;
}

#close {
    background-color: blue;
    color: red;
    border-radius: 50%;
    padding: 10%;
    z-index: 1000;

}

#randomnumber {
    z-index: 1000;
    color: blue;
    font-size: 5vh;
}

#projects {
    padding: 0 10% 0 10%;
}

ul {
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: space-around;
    gap: 1rem;
    list-style: none;
}

nav {
    background: white;
    overflow: hidden;
    z-index: 1030;
    position: fixed;
    top: 0;
    width: 100%;
}

a {
    text-decoration: none;
    color: blue;
    font-size: calc(1vw);
}

nav a {
    display: block;
    padding: 1em 0.4em;
    font-size: calc(1.5vw);
    text-align: center;
    color: blue;
    text-decoration: none;
    font-weight: bold;
    margin-right: 1px;
}

section {
    margin-bottom: 12%;
}

a:hover {
    color: red;

}

.nav-link.active {
    color: red;
}

h1 {
    margin: 0;
    padding-bottom: 7%;
    flex: 1 1 auto;
    font-size: calc(5vw);
    white-space: nowrap;
    color: red;
    line-height: calc(5vw);
}

h2 {
    padding: 0;
    font-size: calc(6vw);
    flex: 1 1 auto;
    color: red;
    line-height: calc(6vw);
}

h3 {
    font-family: Baskerville;
    font-size: calc(3vw);
    font-weight: lighter;
    font-style: italic;
    color: blue;
}

p {

    font-family: futura;
    font-weight: normal;
    font-size: calc(1vw);
    line-height: 1.6;
    color: blue;
    text-align: left;

}

.baskerville {
    font-family: Baskerville;
    font-weight: lighter;
    font-style: italic;
}

@media (max-width: 1200px) {
    h1 {
        font-size: calc(5.5vw);
        /* Größere Schriftgröße für Tablets */
    }

    p {
        font-size: calc(1vw);
        /* Verkleinerte Textgröße */
    }

    a {
        font-size: calc(1vw);
    }
}

@media (max-width: 768px) {
    h1 {
        font-size: calc(5.5vw);
        /* Noch größere Schrift für kleinere Bildschirme */
    }

    p {
        font-size: calc(2vw);
        /* Vergrößerte Textgröße auf Smartphones */
    }

    a {
        font-size: calc(2vw);
    }

    nav a {
        font-size: calc(4vw);
        font-size: min(2.4vw);
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: calc(5.5vw);
    }

    p {
        font-size: calc(2vw);

    }

    a {
        font-size: calc(2vw);
        font-size: min(2vw);
    }

    nav a {
        font-size: calc(6vw);
        font-size: min(2.8vw);
    }
}



#home {
    height: 200vh;
    overflow: hidden;
    padding-bottom: 5%;
}

@media (max-width: 480px) {
    #home {
        height: 170vh;
    }
}

#bg {
    position: absolute;
    top: 5%;
    left: 0;
    width: 100%;
    height: 150%;
    object-fit: cover;
    z-index: -1;
}

#butter,
#cafe {
    position: fixed;
    transition: transform 0.3s ease;
    transform: scale(1);
}

#butter:hover,
#cafe:hover {
    transform: scale(1.05);
}

.cake-container {
    position: absolute;
    width: auto;
    max-width: 25%;
    height: auto;
    transform: translate(-50%, 0);
}

.cake-container:hover {
    transform: translate(-50%, 0) scale(1.02);
}

#cake1,
#cake2,
#cake3 {
    position: absolute;
    top: 10%;
    left: 50%;
    width: 25%;
    height: auto;
}


#cake1 {

    top: 15%;
    left: 50%;
    z-index: 3;
    max-width: 25%;

}

#cake2 {
    top: 25%;
    left: 20%;
    max-width: 18%;
}

#cake3 {
    top: 40%;
    left: 80%;
    max-width: 20%;

}

#butter {
    top: 80%;
    left: 0%;
    width: 15%;
    position: fixed;
    z-index: 10;
}

#cafe {
    top: 20%;
    left: 90%;
    width: 12%;
    position: fixed;
    z-index: 10;
}

@media (max-width: 1200px) {

    #butter,
    #cafe {
        width: 30%;
    }

    #cake2 {
        top: 50%;
        max-width: 30%;
    }

    #cake3 {
        top: 40%;
        max-width: 30%;
    }
}

@media (max-width: 768px) {

    #cake2,
    #cake3 {
        max-width: 45%;
    }

    #cake1 {
        width: 40%;
    }

    #butter,
    #cafe {
        width: 30%;
    }

    #cake2 {
        top: 40%;
    }

    #cake3 {
        top: 40%;
    }

    #cafe {
        left: 80%;
    }
}

@media (max-width: 480px) {
    #cake1 {
        top: 15%;
        max-width: 40%;
    }

    #cake2 {
        top: 50%;
        max-width: 40%;
    }

    #cake3 {
        top: 60%;
        right: 10%;
        width: 45%;
    }

    #butter {
        left: -5%;
        width: 30%;
    }

    #cafe {
        left: 75%;
        width: 30%;
    }
}


#about .headerrow {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    padding-bottom: 5%;
    margin: 0;
    text-align: center;
    width: 100%;
}


#about .container {
    padding: 0 10%;
    margin: 0;
    display: flex;
    align-items: flex-start;
    gap: 10%;
    flex-wrap: wrap;

}

#about img {
    flex: 0 0 auto;
    max-width: 25%;
    height: auto;
}

#about .text-content {
    flex: 1 1 25%;
    display: flex;
    align-items: flex-start;
    flex-direction: column;
    gap: 7%;

}

#mmhprojects {
    flex: 0 0 auto;
    max-width: 50%;
    flex-wrap: wrap;
    height: auto;
}

#preview {
    display: flex;
    flex-wrap: wrap;
    padding: 0 10% 0 10%;
}

#preview a {
    display: block;
}

.knoedel-container {
    display: flex;
    align-items: center;
    padding-left: 10%;
    text-align: right;
    flex-direction: row;
}

.content-container {
    display: flex;
    justify-content: flex-start;
}

#knoedel {
    flex: 0 0 auto;
    width: 100%;
    height: auto;
}

#knoedel a {
    display: block;
    width: 100%;
    text-align: right;
}

.wiener-container {
    display: flex;
    flex-direction: column;
    padding: 0;
    margin-top: -8%;
    align-content: flex-start;
}

.wiener-container h2 {
    margin: 0;

}

#wiener {
    flex: 0 0 auto;
    max-width: 55%;
    height: auto;
    align-content: flex-start;
    margin-top: 2%;
}

.cheese-container {
    display: flex;
    align-items: baseline;
    padding-left: 47%;

    text-align: right;
    flex-direction: row;
}

#cheese {
    flex: 0 0 auto;
    width: 100%;
    height: auto;
    margin-left: 2%;
}

#cheese a {
    display: block;
    width: 100%;
    text-align: right;
}

.contact-container {
    padding: 0 20%;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0%;
    flex-wrap: nowrap;
    height: 70vh;
}

#contact a {

    margin: 0;
    padding: 0;
    flex: 1 1 auto;
    font-weight: normal;
    text-align: left;
    line-height: inherit;
    display: flex;
    align-items: flex-start;
    gap: 2%;
}

#contact h1 {
    margin-bottom: 10%;
}

#contact img {
    flex: 0 0 auto;
    max-width: 40%;
    height: auto;
    margin-top: -25%;
}

@media (max-width: 480px) {
    .contact-container {
        height: 20vh;
    }
}


.spinat-container {
    padding: 10% 0 8% 20%;
    display: flex;
    align-items: flex-end;
    gap: 5%;
    text-align: right;
}

@media (max-width: 768px) {
    .spinat-container {
        padding: 10% 0 8% 0;
    }
}

.spinat-container h2 {
    margin: 0;
}

.platedjourney {
    flex: 9;
    text-align: left;
    flex-direction: column;

}

.platedjourney p {
    margin: 0;
    line-height: 1.6;
}

.knoedel {
    display: flex;
    justify-content: space-between;
    padding-bottom: 10%;
}

.knoedel img {
    flex: 0 0 auto;
    max-width: 25%;
    height: auto;
}

.lea {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 10%;
}

.lea img {
    flex: 0 0 auto;
    max-width: 20%;
    height: auto;
}

#spaghetti {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.spaghetti-02,
.billa {
    flex: 0 0 auto;
    max-width: 20%;
    height: auto;
}

.spaghetti-01 {
    flex: 0 0 auto;
    max-width: 30%;
    height: auto;
}

.schnitzel-01 {
    display: flex;
    padding-bottom: 10%;
    flex-wrap: wrap;
    align-items: flex-end;
    gap: 5%;
}

.schnitzel-01 h2 {
    margin: 0;
}

#luft {
    padding: 0;

}

.luftuwiener {
    flex: 20;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    gap: 5%;

}

.luftuwiener p {
    margin: 0;
    line-height: 1.6;
}

.schnitzel-01 img {
    max-width: 40%;
    height: auto;

}

@media (max-width: 768px) {
    .schnitzel-01 {
        gap: 3%;
    }

    .schnitzel-01 img {
        max-width: 100%;
        padding-top: 10%;
    }

}

.tirol {
    padding-bottom: 10%;
    padding-top: 0;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 2%;
}

.tirol h2 {
    text-align: left;
    margin: 0;
    align-self: flex-end;
    line-height: 1;
}

.food-styling {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    margin: 0;
    padding: 0;
}

.food-styling p {
    margin: 0;
    line-height: 1.6;
}

.alpen {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 10%;
}

.alpen img {
    flex: 0 0 auto;
    width: calc(50% - 10%);
    height: auto;
    margin-bottom: 10%;
}

#food {
    display: grid;
    grid-template-columns: 54% 40%;
    gap: 7%;
    grid-auto-rows: auto;
    padding: 7%;
}

.left {
    grid-column: 1;
    width: 100%;
    height: auto;
    margin-bottom: 14%;
}

.right {
    grid-column: 2;
    width: 100%;
    height: auto;
    margin-bottom: 16%;
}

@media (max-width: 1920px) {}