:root {
    --body-font: "Georgia", serif;
}

main {
    padding-top: 125px;
    padding-bottom: 60px;
}

#text-container {
    width: min(700px, 80%);
    margin: 0 auto;
    padding: 0 20px;
    margin-top: 50px;
}

#text-container p {
    font-family: var(--body-font);
    color: #ccc;
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    text-align: left;
}

#jubileum {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 8px;
    width: 90%;
    margin: 3rem auto;
}

#jubileum img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 4px;
    cursor: pointer;
    transition: transform 0.3s ease, brightness 0.3s ease;
    filter: brightness(0.9);
}

#jubileum img:hover {
    transform: scale(1.02);
    filter: brightness(1.1);
}

#photo-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.9);
    z-index: 1000;
    justify-content: center;
    align-items: center;
}

#photo-overlay.active {
    display: flex;
}

#photo-full {
    max-width: 90%;
    max-height: 90vh;
    border-radius: 8px;
    object-fit: contain;
}

#photo-close {
    position: absolute;
    top: 16px;
    right: 16px;
    background: none;
    border: none;
    color: white;
    font-size: 2rem;
    cursor: pointer;
}