body {
    margin: 0;
    padding: 0;
    font-family: "Roboto", sans-serif;
}

header {
    background-color: orange;
    font-family: "Roboto", sans-serif;
    color: white;
    font-size: 24px;
    height: 56px;
    padding-left: 16px;
    font-weight: bold;
    display: flex;
    justify-content: flex-start;
    align-items: center;

}

footer {
    background-color: gray;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: white;
    padding-bottom: 12px;
}

footer a {
    color: white;
    cursor: pointer;
}

.logo2 {
    width: 40px;
}

input {
    border: none;
}

.logo {
    height: 40px;
    margin: 0;
    padding: 0;
}

.title {
    margin-left: 24px;
}

main {
    display: flex;
    flex-direction: row;
}

.menu {
    width: calc(100% - 240px);
    font-family: "Galada-Regular", sans-serif;
}

.warenkorbWindow {
    width: 240px;
    background-color: beige;
    padding: 16px;
    transition: width 0.3s ease;
}

.warenkorbWindowSticky {
    position: sticky;
    top: 8px;
}

.warenkorbTop {
    display: flex;
    justify-content: center;
    border-bottom: 1px solid gray;
    font-family: "Galada-Regular", sans-serif;
}

button {
    cursor: pointer;
}

.warenkorbBottom {
    display: flex;
    justify-content: space-between;
    border-top: 1px solid gray;
    padding-top: 16px;
    font-family: "Galada-Regular", sans-serif;
    font-size: 20px;
}

.summe {
    font-family: "Roboto", sans-serif;
    font-weight: bold;
}

.card {
    display: flex;
    flex-direction: column;
    padding-top: 8px;
    padding-bottom: 8px;
}

.CardBottom {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

.topImg {
    width: 100%;
    height: 100px;
    object-fit: cover;
    /*object-position: top center;*/
}

.gerichte {
    border: 1px solid gray;
    margin: 24px;
    padding: 24px;
    position: relative;
    height: auto;
    min-width: 160px;
}

.add-box {
    position: absolute;
    border-bottom: 1px solid gray;
    border-left: 1px solid gray;
    border-top: none;
    border-right: none;
    top: 0px;
    right: 0px;
    width: 32px;
    height: 32px;
    color: orange;
    font-weight: bold;
    text-align: center;
    line-height: 32px;
    cursor: pointer;
    font-family: "Roboto", sans-serif;
    font-size: 24px;
}

.btnWarenkorb {
    display: none;
}

.basketLogo {
    height: 30px;
    width: 40px;
    margin: 0;
    padding: 0;
    display: flex;
    position: absolute;
    top: 27px;
    left: -8px;
}

.bestellenBtn {
    background-color: orange;
    color: white;
    border: none;
    border-radius: 8px;
    padding: 8px 16px 8px 16px;
    margin-top: 24px;
    font-size: 24px;
    font-family: "Roboto", sans-serif;
    width: 90%;
    margin-bottom: 32px;
}

.feedback-message,
.empty-message {
    font-family: "Galada-Regular", sans-serif;
    margin-top: 24px;
}

.feedback-message,
.empty-message {
    padding: 0.75em 1em;
    background: transparent;
    border: none;
    border-radius: 4px;
    color: orangered;
    font-weight: 400;
    opacity: 1;
    transition: opacity 0.5s ease;
}

.feedback-message.fade-out,
.empty-message.fade-out {
    opacity: 0;
}


@media (min-width: 300px) and (max-width: 500px) {

    .menu {
        z-index: 10;
        width: 88%;
    }

    .menu.open {
        max-width: 46%;
    }

    .warenkorbWindow {
        right: 0;
        top: 0;
        position: sticky;
        width: 6%;
        z-index: 20;
    }


    .warenkorbWindow.open {
        right: 0;
        top: 0;
        position: sticky;
        width: 45%;
        min-width: 240px;
        padding: 16px;
    }

    .btnWarenkorb {
        display: flex;
        position: absolute;
        top: 500px;
        left: 5px;
        background-color: #333;
        color: white;
        border: none;
        cursor: pointer;
        padding: 10px;
    }

    .warenkorbTop {
        display: none;
    }

    .warenkorbTop.open {
        display: flex;
    }


    .warenkorbBottom {
        display: none;
    }

    .warenkorbBottom.open {
        display: flex;
    }

    .warenkorb {
        display: none;
    }

    .warenkorb.open {
        display: block;
    }

    .gerichte {
        margin-top: 8px;
        margin-left: 8px;
        margin-right: 20px;
        flex-grow: 1;
        min-width: 160px;
    }

}