/* Design: Farbe u. Schrift */
:root {
    --primary-color: #FF9000;
    --secondary-color: #FCFCFC;
    --background-color: #0B1215;
    --zutaten-bg: gray;
}

body {
    font-family: Arial, Helvetica, sans-serif; 
    background-color: var(--background-color);
    margin: 10px;
}

h1, h2, h3, h4, h5 {
    color: var(--primary-color);
}

h1 a, h2 a, h3 a, h4 a, h5 a {
    color: var(--primary-color);
    text-decoration: none;
    text-align: center;
}

h1 a:hover, h2 a:hover, h3 a:hover, h4 a:hover, h5 a:hover, #logo_text_oben a:hover, .überspeise a:hover {
    color: var(--primary-color);
    filter: brightness(85%);
    text-decoration: none;
}

p, .gericht_alles, li {
    color: var(--secondary-color);
    font-size: 3em;
}

p a {
    color: var(--secondary-color);
    text-decoration: none;
}

p a:hover, a:hover {
    color: var(--secondary-color);
    filter: brightness(85%);
    text-decoration: none;
}

/* nav bars */
#top_bar {
    display: flex;
    align-items: center;
    width: 90%;
    justify-content: space-between;
    position: fixed;
    top: 0;
    height: 135px;
    z-index: 100;
    overflow: hidden;
}

#bottom_bar {
    display: flex;
    align-items: center;
    width: 100%;
    gap: 25px;
    position: fixed;
    bottom: 0;
    height: 35px;
    z-index: 100;
    overflow: hidden;
}

#bestellen_button {
    width: calc(256px * 0.75);
    height: calc(144px * 0.75);
    background-color: var(--primary-color);
    position: fixed;
    left: 45%;
    bottom: 6%;
    z-index: 110;
}

#bestellen_button:hover {
    background-color: var(--primary-color);
    filter: brightness(85%);
}

#bestellen_text{
    color: var(--secondary-color) !important;
    
    text-align: center;
    justify-content: center;
    display: flex;
    vertical-align: middle;
}

.sidebar {
    position: fixed;
    left: 0;
    top: 160;
    z-index: 100;
}

.überspeisen {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    position: fixed;
    top: 165px;
}

.überspeise h1 {
    font-size: xx-large;
    margin: 10px;
    font-size: 3em;
}

.background_need {
    position: fixed;
    z-index: 99;
}

#top_bar_background {
    width: 100%;
    top: 0;
    border: 70px solid var(--background-color);
}

#bottom_bar_background {
    width: 100%;
    bottom: 0;
    border: 18px solid var(--background-color);
}

#side_bar_background {
    width: 10%;
    border-top: 500px solid var(--background-color);
    border-bottom: 500px solid var(--background-color);
}

/* nav breaks */
#break_orange_top {
    border: 14px solid var(--primary-color);
    width: 100%;
    top: 135px;
    position: fixed;
    z-index: 100;
}

#break_orange_bottom {
    border: 4px solid var(--primary-color);
    bottom: 35px;
    position: fixed;
    width: 100%;
    z-index: 100;
}

#break_orange_side {
    z-index: 90;
    position: fixed;
    left: 200px;
    width: 16px;
    border-bottom: 165em solid var(--primary-color);
}
/* top bar */
.focused_top {
    font-size: 125%;
}

.focused_top img {
    width: calc(1.25 * 115px) !important;
    height: calc(1.25 * 115px) !important;
}

.top_bar_item {
    text-align: center;
}

#logo_oben {
    width: 115px; 
    height: 115px;
}

#logo_text_oben {
    display: flex;
    gap: 20px
}

/* middle */
    .middle {
        margin-top: 142px;
        overflow: hidden;
    }
    /* menu */
        #middle_menue {
            margin-top: 142px;
            margin-left: 206px;
            margin-bottom: 10%;
            padding: 0px 2%;
        }

        .menu_section_divider {
            margin-top: 25px;
            margin-bottom: 25px;
            width: 100%;
        }

        .menu_section {
            display: flex;
            align-items: center;
            width: 100%;
            gap: 40px;
        }

        .menu_section.normal {
            flex-direction: row;
        }

        .menu_section.reversed {
            flex-direction: row-reverse;
        }

        .menue_liste {
            display: flex;
            flex-direction: column;
            justify-content: space-between;
            flex: 1;
            gap: 12px;
        }

        .menue_bild {
            flex: 0 0 280px;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .menue_bild img {
            width: 280px;
            height: 280px;
        }

        .gericht_alles {
            display: flex;
            justify-content: space-between;
            align-items: center;
            width: 100%;
            position: relative;
        }

        .zutaten {
            text-align: left;
            background-color: var(--zutaten-bg);
            size: auto;
            max-height: 50px;
            max-width: 80%;
            display: block;
            position: absolute;
            top: 70%;
            left: 0%;
            font-size: 15px;
            z-index: 10;
            display: none;
        }

        .gericht_alles:hover .zutaten {
            display: block;
        }
        
        .menu_uberschrift {
            font-size: xx-large;
            text-align: center;
            position: relative;
        }
    
    /* bestellen */
        
    /*
        .bestellen_section {
            display: flex;
            align-items: center;
            width: 85%;
            margin-left: 250px;
            margin-right: 100px;
            gap: 40px;
        }

        .bestellen_section.normal {
            flex-direction: row;
        }
    */
        
        #bestellen_und_total {
            position: fixed;
            display: flex;
            flex-direction: column;
            bottom: calc(43px + 5%);
            text-align: center;
            scale: 1.3;
        }

        .bestellen_uberschrift {
            width: 100%;
            font-size: xx-large;
            text-align: center;
            margin-top: 10px;
            position: relative;
        }

        #middle_bestellen {
            margin-top: 142px;
            overflow: hidden;
            margin-left: 206px;
            margin-right: 316px;
            margin-bottom: 100px;
            padding: 0px 40px;
        }

        .gericht_alles {
            display: flex;
            align-items: center;
            justify-content: space-between;
            width: 100%;
            padding: 12px 16px;
            box-sizing: border-box;
            background: var(--background-color);
            border-bottom: 1px solid #2a2a2a;
            color: var(--secondary-color);
            margin-bottom: 10px;
        }

        .gericht {
            flex: 1;
            font-size: 20px;
            font-weight: bold;
            text-align: left;
        }

        .preis {
            margin-right: 20px;
            font-size: 18px;
            font-weight: bold;
            color: var(--primary-color);
            min-width: 80px;
            text-align: right;
        }

        .counter {
            display: flex;
            gap: 8px;
        }

        .counter button {
            width: 35px;
            height: 35px;
            border: none;
            border-radius: 6px;
            background: var(--primary-color);
            color: white;
            font-size: 20px;
            font-weight: bold;
            cursor: pointer;
        }

        .counter button:hover {
            transform: scale(1.08);
        }



/* beides */
.überspeise_ref {
    position: absolute;
    bottom: 260px;
}

/* bestellen */
#bestell_bar {
    position: fixed;
    right: 0;
    top: 160px;
    width: 300px;
    background: var(--background-color);
    border-left: 6px solid var(--primary-color);
    padding: 10px;
    color: white;
    z-index: 90;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.cart_table {
    width:100%;
    color:white;
}

.counter {
    display:flex;
    gap: 5px;
}

.counter button {
    background: var(--primary-color);
    border: none;
    cursor: pointer;
    width: 30px;
    height: 60px;
    font-size: 24px;
    gap: 5px;
}

.order_btn {
    width: 100%;
    margin-top: 10px;
    background: var(--primary-color);
    border: none;
    padding: 10px;
    cursor: pointer;
}

/* overlay */
    .overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0,0,0,0.8);
        display: none;
        justify-content: center;
        align-items: center;
        z-index: 999;
    }

    .overlay_content {
        background: var(--background-color);
        border: 2px solid var(--primary-color);
        padding: 20px;
        width: 400px;
        color: white;
    }

    .overlay_buttons {
        display: flex;
        flex-direction: row;
        padding: 0px 10px;
        justify-self: center;
    }

    .overlay_buttons button {
        width: 50%;
    }

    .overlay_content input {
        margin: 5px;
        width: 100%;
        padding: 10px;
    }

/* bestatigung */
    .bestatigung {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        display: none;
        justify-content: center;
        align-items: center;
        z-index: 9999;
    }

    .bestatigung_content {
        background: var(--background-color);
        border: 2px solid var(--primary-color);
        padding: 20px;
        width: 400px;
        color: white;
    }

    #bestatigung {
        font-size: 48px;
        text-align: center  ;
    }


#bestell_tabelle {
    color: var(--secondary-color);
    text-align: center;
    width: 100%;
    height: 70%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;    
}

#bestell_tabelle th {
    min-width: 100px;
    text-align: center;
}

#bestell_tabelle td {
    min-width: 100px;
    text-align: center;
}

/* alles andere */
    .kategorie {
        font-size: 68px;
        color: var(--primary-color)
    }

    #homepage_img {
        height: calc(100% - 142px);
        width: auto;
        position: fixed;
        left: 26.095%;
    }

    #middle_oeffnungszeiten, #middle_AGBs {
        padding: 25px;
    }

/* einstellungen */
#einstellungen {
    position: fixed;
    bottom: 0;
    right: 0;
    z-index: 100;
    display: flex;
    flex-direction: column-reverse;
    padding: 0px 20px;
}

#einstellungen:hover {
    background-color: var(--background-color);
    border-left: 3px solid var(--primary-color);
    border-top: 3px solid var(--primary-color);
}

#einstellungen h1 {
    margin-block-start: 0px;
    margin-block-end: 0px;
}

#einstellungen:hover .einstellungen_item {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}

.einstellungen_item {
    /* display: flex; flex-direction: row; justify-content: space-between; */
    display: none;
}