#gallery-section .gallery-flex {
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    justify-content: center;
    gap: 20px;
}

#gallery-section .work-in-progress-photo img, .finished-photo img, .photo img {
    width: 700px;
    height: auto;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    user-select: none;
    object-fit: cover;
}

#gallery-section .back-button {
    display: inline-block;
    margin: 20px 0;
    padding: 10px 15px;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    border: 1px solid #8d8d8dfe;
    color :#454545fe;
    background-color: transparent;
    transition: background-color 0.3s, color 0.3s;
}

#gallery-section .back-button:hover {
    background-color: #8b8a8afe;
    color: white;
}

#gallery-section .see-more-container{
    display: flex ;
    justify-content: center;
}

#gallery-section .see-more {
    background-color: transparent;
    font-size: 1rem;
    border: 2px solid var(--brown);
    color: var(--black);
    padding: 10px 20px;
    margin: 20px 2px;
    font-size: bold;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    cursor: pointer;
    border-radius: 8px;
    transition-duration: 0.3s;
}

#gallery-section .see-more:hover{
    background-color: var(--brown);
    color: white;
}

.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin: 25px 0;
}

.pagination a {
    padding: 6px 12px;
    text-decoration: none;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 14px;
    color: #333;
    transition: all 0.2s;
}

.pagination a:hover {
    background: #e9e9e9;
}

.pagination a.active {
    background: #333;
    color: #fff;
    border-color: #333;
}

@media (max-width: 1440px) {
    #gallery-section .work-in-progress-photo img, .finished-photo img , .photo img{
        width: 500px;
    }
}

@media (max-width: 1024px) {
    #gallery-section .work-in-progress-photo img, .finished-photo img, .photo img {
        width: 100%;
    }
}