body {
    text-align: center;
    max-width: 1600px;
    margin: auto;
    overflow-y: scroll;
    height: 100vh;
    /*background: url('../img/bg1.jpg') white center center fixed;*/
    color: #e0e0e0;
}

select {
    font-size: 1em;
    padding: 5px 10px;
}

/* Styling nur für Firefox */
@supports (-moz-appearance: none) {
    optgroup {
        background: lightgreen;
    }
}

a {
    color:  #e0e0e0;
}

a:hover {
    color: red;
}

h1 {
    margin-top: 0;
    padding-top: 1.4rem;
    font-size: calc(1.375rem + 1.5vw);
}


h2 {
    background: lightgreen;
    padding: 5px 10px;
    margin: 0;
}

#output {
    font-family: Arial, sans-serif;
    padding-bottom: 20px;
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 400px), 1fr));
    gap: 20px 40px;
    /*padding: 10px 20px;*/
    margin-top: 10px;
    text-align: left;
    color:  black;
}
/* Mobile-First: .list ist immer 100% breit */
.list {
    width: 100%;
    margin: 0;
    margin-top: 1.4em;
}

.list:last-of-type {
    margin-bottom: 40px;
}

.list-container {
    max-width: 500px;
    margin: 0 auto;
    border-radius: 10px;
    /*box-shadow: 4px 4px 6px #bbb;*/
    box-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    border: 3px solid lightgreen;
    overflow: hidden;
}

/* Ab Tablet/Desktop: Drei Spalten */
@media (min-width: 800px) {
    .grid {
        grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    }
    h1 {
        font-size: 2.5rem;
    }
}


.table-container {
    min-height: 50px;
    padding: 10px;
    background: #f7ffd9;
}

table {
    width: 100%;
    table-layout: fixed;
    border-collapse: collapse;
}

td.name {
    padding-right: 10px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

td {
    vertical-align: top;
    padding: 2px 0;
}

tr.recent {
    color: red;
}

td.name {
    padding-right: 20px;
}

td.date {
    width: 140px;
    text-align: right;
    
}

.clear {
    clear: both;
}
