/* Allgemeine Einstellungen */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    background-color: #121212; /* Dunkler Hintergrund */
    color: #f4f4f4; /* Heller Text */
    line-height: 1.6;
    padding: 0;
    margin: 0;
    text-rendering: optimizeLegibility;
}

/* Header */
header {
    background-color: #1e1e1e;
    color: #ecf0f1;
    padding: 60px 20px;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
    animation: fadeIn 1s ease-in-out;
}

header h1 {
    font-size: 3rem;
    margin-bottom: 10px;
    font-weight: 700;
}

header p {
    font-size: 1.2rem;
}


.container {
    padding: 20px;
}

/* Download Section */
.download-section {
    background-color: #2c3e50;
    padding: 30px;
    margin-bottom: 40px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.download-section:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
}

.download-btn {
    display: inline-block;
    background-color: #3498db;
    color: white;
    padding: 15px 30px;
    border-radius: 6px;
    text-decoration: none;
    font-size: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.download-btn:hover {
    background-color: #2980b9;
    transform: translateY(-5px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.4);
}

/* Update Log */
.update-log {
    margin-bottom: 40px;
}

.log-entry {
    background-color: #34495e;
    padding: 25px;
    margin-bottom: 25px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    transition: background-color 0.3s ease;
}

.log-entry:hover {
    background-color: #3d566d;
}

.log-entry h3 {
    font-size: 1.6rem;
    margin-bottom: 10px;
    font-weight: 600;
}

.log-entry ul {
    margin-left: 20px;
}

/* Sprachwähler */
.language {
    display: flex;
    justify-content: center;
    align-items: center;
    user-select: none;
}

.language .lang-container {
    position: relative;
}

.language .lang-selector-container {
    display: flex;
    align-items: center;
    cursor: pointer;
}

.language .locale-container {
    display: flex;
    align-items: center;
}

.language .flag {
    width: 24px;
    height: 16px;
    margin-right: 8px;
}

.language .selector-language-name {
    color: #fff;
    font-size: 14px;
    line-height: 18px;
}

.language .arrow-icon {
    padding-left: 8px;
}

.language .lang-dropdown-container {
    z-index: 10;
    bottom: 100%;
    margin-bottom: 8px;
    position: absolute;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 1px 1px rgb(0 0 0 / 10%);
    overflow: hidden;
    display: none;
}

.language .lang-dropdown {
    max-height: 320px;
    min-width: 150px;
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
}

.language .dropdown-item {
    padding: 8px;
}

.language .dropdown-clickable {
    cursor: pointer;
}

.language .dropdown-language-name {
    color: #23272a;
    font-size: 14px;
    line-height: 18px;
}

/* Image Gallery */


.image-gallery h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: #ecf0f1;
    text-align: center;
}

.image-grid {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.gallery-image {
    width: 100%;
    max-width: 250px;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    object-fit: contain;
}

.gallery-image:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.5);
}

/* Footer */
footer {
    background-color: #1e1e1e;
    color: #ecf0f1;
    padding: 20px;
    text-align: center;
    font-size: 1rem;
    margin-top: 40px;
    box-shadow: 0 -4px 10px rgba(0, 0, 0, 0.5);
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Media Query für kleinere Bildschirme */
@media (max-width: 768px) {
    .image-grid {
        flex-direction: column;
        align-items: center;
    }

    header h1 {
        font-size: 2.2rem;
    }

    .download-btn {
        padding: 12px 25px;
        font-size: 1.1rem;
    }
}
