/* styles.css */
body {
    font-family: Arial, sans-serif;
    background: black;
}

.gallery {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    background: black;
}

.gallery-item {
    box-sizing: border-box;
    overflow: hidden;
    aspect-ratio: 1;
    border-radius: 25px;
    border: none;
    outline: none;
}

.gallery-item img {
    height: 200px;
    width: 200px;
    object-fit: cover;
    cursor: pointer;
    transition: transform 0.2s;
    border-radius: 25px;
}

.gallery-item img:hover {
    transform: scale(1.1);
}

.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: auto;
}

.lightbox-content {
    max-width: 95%;
    max-height: 95%;
    cursor: pointer;
    transition: max-width 0.2s, max-height 0.2s;
}

.lightbox-content.fullsize {
    max-width: none;
    max-height: none;
    width: auto;
    height: auto;
}
.caption {
    color: white;
    font-size: 16px;
    padding: 10px;
    text-align: center;
    position: absolute;
    bottom: 10px;
    width: 80%;
    white-space: pre-wrap;
    transition: bottom 0.2s;
}

.lightbox-content.fullsize ~ .caption {
    position: fixed;
    bottom: 10px; /* Adjust bottom positioning for fullsize */
    width: 100%;
    text-align: center;
}

.close {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 40px;
    color: white;
    cursor: pointer;
}

.prev, .next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    padding: 16px;
    margin-top: -22px;
    color: white;
    font-weight: bold;
    font-size: 20px;
    transition: 0.3s;
    border-radius: 0 3px 3px 0;
    user-select: none;
}

.next {
    right: 0;
    border-radius: 3px 0 0 3px;
}

.prev {
    left: 0;
    border-radius: 3px 3px 0 0;
}

.prev:hover, .next:hover {
    background-color: rgba(0,0,0,0.8);
}

.yearTTL {
        font-family: CaviarDreams, Arial;
        font-size: 30px;
        font-style: normal;
        letter-spacing: 5px;
        text-align: center;
        color: #750;
        text-shadow: 1px 1px #ffa;
}
