body {
    background-image: linear-gradient(to bottom, blue, #00003a);
    background-attachment: fixed;
    font-family: "monospace", monospace;
}

header {
    text-align: center;
    color: #f3f3f3;
}

.FlexContainer {
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    justify-content: flex-start;
}

nav {

    width: 150px;
    border-radius: 15px 0 0 15px;
    background-color: #eef5f5;
    padding: 10px;
}

nav ul{
    display: flex;
    flex-direction: column;
    list-style-type: none;
    margin: 0;
    padding: 10px;
}

nav li {
    padding: 10px;
    margin-bottom: 0;
    border: 1px #b6b6b6 solid;
}

main {
    background-color: lightyellow;
    border: 2px #2a2a2a solid;
    border-radius: 15px;
    margin-left: 10px;
    margin-right: 10px;
}


#Speisekarte {
    height: auto;
    padding: 5px;
    margin-left: 20px;
    min-width: 200px;
    flex-basis: 50%;

}

.PizzaBilder {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
}

.PizzaObjekt {
    width: 160px;
    padding: 10px;
    margin-bottom: 20px;
    background-color: #00003a;
    margin-right: 20px;
}
.PizzaObjekt p {
    font-size: math;
    color: #0f0;
    margin-top: 0;
    padding-top: 0;
}


.Warenkorb {
    flex-basis: 50%;
    min-width: 400px;

}

form {
    margin: 20px;
    padding: 10px;
    border: 2px #b6b6b6 solid;
    border-radius: 15px;
    background-color: #f3f3f3;
}

fieldset {
    border: 2px solid #b6b6b6;
    border-radius: 10px;
    padding: 25px;
    margin: 5px;
}


legend {
    border: 2px solid #b6b6b6;
    border-radius: 10px;
    padding: 5px;
    background-color: #ffffff;
}

.Auswahl {
    display: flex;

}

.AuswahlPreis {
    margin-left: 20px;
    text-align: right;
}

#AuswahlReset {
    margin-bottom: 10px;
}

#GesamtpreisText {
    margin-bottom: 0;
    margin-top: 10%;
}

#PreisText {
    margin-bottom: 0;
    margin-top: 0;
    font-weight: bold;
}

fieldset input {

    margin-bottom: 10px;
}


.eingabedaten {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.eingabedaten div {
    float: right;
}

.eingabedaten input {
    border: 1px #2a2a2a solid;
    border-radius: 5px;
}

.eingabedaten label{
    padding-left: 10px;
}



footer {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 99.4%;
    background-color: black;
    color: #fff200;
    text-align: right;
    padding-left: 10px;
    border-top: 1px #fff200 solid;

}

footer p {
    padding-right: 20px;
}


@media screen and (max-aspect-ratio: 5/4) {
    .FlexContainer {
        flex-direction: column;
    }
    .PizzaBilder {
        flex-direction: row;
    }
    footer {
        margin-top: auto;
        position: static;
    }
    nav {
        width: auto;
        border-radius: 15px 15px 0 0;
    }
    nav ul {
        flex-direction: row;
        flex-wrap: wrap;
    }
}

@media screen and (max-height: 800px) {
    footer {
        margin-top: auto;
        position: static;
    }
}

select {
    min-width: 160px;
}