.container p,
.footer p {
    margin: 1rem;
    display: flex;
    justify-content: center;
}

.gallery-container {
    position: relative;
    max-width: calc(230px * 4 + 19px * 5);
    margin: 0 auto;
}

.gallery {
    display: flex;
    /* horizontal row */
    gap: 20px;
    /* space between images */
    overflow-x: auto;
    /* horizontal scroll if overflow */
    scroll-behavior: smooth;
    /* smooth scrolling on buttons or wheel */

    padding: 1rem;
    box-sizing: border-box;
}

.gallery img {
    /* fixed width per image */
    width: 230px;
    object-fit: cover;
    cursor: pointer;
    border-radius: 1.5rem;
}

.gallery::-webkit-scrollbar {
    display: none;
}

.gallery {
    -ms-overflow-style: none;
    /* IE/Edge */
    scrollbar-width: none;
    /* Firefox */
}

.footer {
    margin: 0 2rem
}

.footer a {
    color: #ff004f;
    text-decoration: none;
}

/* Lightbox overlay */
#lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

/* hide by default */
.hidden {
    display: none !important;
}

/* image inside lightbox */
#lightbox-img {
    max-width: 80%;
    max-height: 80%;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.5);
    border-radius: 1.5rem;
}

/* close button */
#lightbox .close {
    position: absolute;
    top: 2rem;
    right: 2rem;
    color: white;
    padding: 0.5rem 0.8rem;
    font-size: 1.2rem;
    cursor: pointer;
}

/* chevrons */
#lightbox .prev,
#lightbox .next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    padding: 0.5rem 0.8rem;
    font-size: 1.2rem;
    cursor: pointer;
    user-select: none;
}

#lightbox .prev {
    left: 0.2rem;
}

#lightbox .next {
    right: 0.2rem;
}

/* gallery prev */
.scroll-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    padding: 0.5rem 0.8rem;
    font-size: 1.2rem;
    cursor: pointer;
    z-index: 10;
}

.scroll-btn.left {
    left: 0.2rem;
}

.scroll-btn.right {
    right: 0.2rem;
}