/* Globale Styles */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f4f4;
    color: #333;
    display: flex;
    flex-direction: column;
    align-items: center;
}

@font-face {
    font-family: Christmas;
    src: url('CHRISTMAS.ttf')
    format("truetype");
    }
h1 {
    margin-top: 30px;
    font-size: 5rem;
    color: #222;
    font-weight: 200;
    font-family: Christmas;
}

/* Hauptbild */
#main-image {
    width: 90%;
    max-width: 650px;
    margin: 20px;
    margin-top: 0px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease;
    cursor: pointer;
}

#main-image:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
}

/* Archiv der Bilder */
#archive {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    margin-top: 20px;
}

.archive-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    text-align: center;
}

.archive-image {
    width: 120px;
    height: 120px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.archive-image.active {
  outline: 2px solid gold;
}

.archive-image:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}

.archive-label {
    font-size: 14px;
    font-family: Christmas;
    color: #777;
}

/* Overlay */
#overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    padding: 20px;
}

#overlay img {
    max-width: 90%;
    max-height: 90%;
    border-radius: 10px;
    transition: transform 0.3s ease;
}

/* SchlieĆen-Button */
#close-btn {
    position: absolute;
    top: 90px;
    right: 300px;
    font-size: 4rem;
    color: #fff;
    cursor: pointer;
    z-index: 1100;
    transition: color 0.2s;
}

#close-btn:hover {
    color: #f44336; /* Rot, wenn man Ć¼ber das "X" hover */
}

/* Responsives Design */
@media (max-width: 600px) {
    #main-image {
        width: 95%;
    }

    #overlay img {
        max-width: 80%;
        max-height: 80%;
    }
}

/* Scrollbar Style (For a smoother look) */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-thumb {
    background: #aaa;
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: #888;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}