body {
    margin: 0px auto;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    max-width: 99vw;
}

nav {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: row;
    gap: 10px;
    height: 80px;
    width: 100%;
    padding: 30px 0px 10px 0px;
}

.nav_item {
    display: flex;
    align-items: center;
    height: 100%;
    border: 2px solid black;
    border-radius: 5px;
}

.nav_item p {
    text-align: center;
    margin: 5px;
    width: 23vw;
}

nav a {
    height: 100%;
    text-decoration: none;
    color: black;
}

.header__btnwrapper {
    display: flex;
    flex-direction: row;
    gap: 30px;
}

header {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 10px 0px;
}

header button {
    min-width: 80px;
    height: auto;
    padding: 10px;
}

h1 {
    color: red;
    margin: 10px;
    text-align: center;
}

h2 {
    margin: 0px;
}

main {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%
}

#overviewdates {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    width: 100%;
    gap: 10px;
}

#kassenbons {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    border: 2px solid black;
    width: 90%;
    height: fit-content;
}

#kassenbons h2 {
    padding: 10px 0px;
}

.open_archiv_btns {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: row;
    gap: 10px;
    padding: 5px;
    width: 100%;
}

.open_archiv_btns button {
    min-width: 40%;
    padding: 10px;
}

.tableAndContainers {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

#abrechnungscontainer {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

#abrechnungscontainer div {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: fit-content;
    height: auto;
    width: 45%;
}

.name {
    font-weight: bold;
}

.amount {
    font-weight: normal;
}

thead {
    font-size: 1.5rem;
    font-weight: bold;
}

tr {
    height: 40px;
}

td {
    border: 2px solid black;
    padding: 8px;
}

.zuweisung {
    cursor: pointer;
    padding: 0px;
}

.dropdown {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 106%;
    left: -2%;
    width: 95px;
    background: rgb(64, 64, 64);
    color: white;
    z-index: 2;
}

.dropdown div {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border: 1px solid white;
    width: 100%;
    text-align: center;
    margin: 0px;
    height: 35px;
}

select {
    width: 100%;
    height: 40px;
}

select option {
    font-size: 25px;
}

.rezepte {
    column-count: 2;
    column-gap: 20px;
    max-width: 100vw;
    padding-right: 20px;
    padding-inline-start: 40px;
}

.listitem {
    padding: 10px 0px;
}

/* ####### Neuen Einkauf hinzufügen Styles ########### */
#overlay {
    align-items: center;
    justify-content: center;
    position: fixed;
    display: none;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgb(0 0 0 / 77%);
    color: white;
    font-size: 30px;
    z-index: 2;

}

form {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border: 2px solid black;
    gap: 20px;
    width: 50vw;
    padding: 10px 5px;
}

textarea {
    width: 80%;
    min-height: 300px;
    max-height: 80%vh;
}

.command {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0px 10px 15px 10px;
}

@media only screen and (max-width: 600px) {

    form {
        width: 95vw;
    }

    .tableAndContainers {
        width: 95vw;
    }

    #abrechnungscontainer {
        flex-wrap: wrap;
    }
}

a {
    text-decoration: none;
    cursor: pointer;
    color: black;
}

.copyAndLeave {
    border: 2px solid black;
    border-radius: 5px;
    padding: 5px;
    width: fit-content;
}

.copyAndLeave:hover {
    background-color: aliceblue;
}