
body {
    font-family: Arial, sans-serif;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 0;
    padding: 0;
    background-color: #f9f9f9;
}

header {
    margin: 20px;
    text-align: center;
}

h1 {
    font-size: 2em;
    color: #333;
}

#search {
    padding: 8px;
    font-size: 16px;
    width: 100%;
    max-width: 400px;
    margin-top: 10px;
}

/* Grid Container */
.grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
    max-width: 1200px;
    width: 95%;
    padding: 20px;
}

/* Grid-Item Style */
.grid-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    background-color: #2c2c2c;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s;
}

.grid-item:hover {
    transform: scale(1.05);
}

/* Einheitliches Bildformat */
.grid-item img {
    width: 100%;
    height: 150px; /* Feste Höhe für eine einheitliche Darstellung */
    object-fit: contain; /* Bild wird skaliert, ohne das Seitenverhältnis zu verzerren */
    margin-bottom: 10px;
    border-radius: 4px;
}

a:link, a:visited {
    text-decoration: none;
   }
/* Titel */
.grid-item h3 {
    font-size: 1.1em;
    color: white;
    text-decoration: none;
    text-align: center;
    margin: 10px 0;
}

/* Download-Link */
.download-link {
    text-decoration: none;
    color: #fff;
    background-color: #007bff;
    padding: 8px 12px;
    border-radius: 4px;
    font-size: 0.9em;
    margin-top: auto;
    transition: background-color 0.2s;
}

.download-link:hover {
    background-color: #0056b3;
}

#loadMore {
    background-color: #ffffff;
    color: #000000;
    padding: 12px 24px;
    font-size: 1em;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    margin: 20px auto;
    display: block;
    transition: background-color 0.3s, transform 0.2s;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    outline: none;
}

#loadMore:hover {
    background-color: #007bff;
    color: white;
    transform: scale(1.05);
}

#loadMore:active {
    transform: scale(0.95);
}

